diff options
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index cda96811ebc..316c63725a7 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,3 +1,23 @@ +# Copyright 2016 Free Software Foundation, Inc. + +# This file is part of GNU Emacs. + +# GNU Emacs is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# GNU Emacs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. + +# GNU Emacs assumes GNU Make. +AUTOMAKE_OPTIONS = -Wno-portability + BUILT_SOURCES = CLEANFILES = EXTRA_DIST = @@ -17,6 +37,17 @@ include gnulib.mk libgnu_a_SOURCES += openat-die.c save-cwd.c endif +if HYBRID_MALLOC_LIB +noinst_LIBRARIES += libegnu.a +endif + +libegnu_a_SOURCES = $(libgnu_a_SOURCES) +libegnu_a_LIBADD = $(patsubst %.o,e-%.o,$(libgnu_a_LIBADD)) +EXTRA_libegnu_a_SOURCES = $(EXTRA_libgnu_a_SOURCES) +libegnu_a_SHORTNAME = e +libegnu_a_CPPFLAGS = -Demacs +MOSTLYCLEANFILES += libegnu.a + .PHONY: bootstrap-clean bootstrap-clean: maintainer-clean |