aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am23
1 files changed, 21 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index a1dd6a4ca90..74bab4eee06 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,3 +1,20 @@
1# Copyright 2016 Free Software Foundation, Inc.
2
3# This file is part of GNU Emacs.
4
5# GNU Emacs is free software: you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation, either version 3 of the License, or
8# (at your option) any later version.
9
10# GNU Emacs is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14
15# You should have received a copy of the GNU General Public License
16# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
17
1BUILT_SOURCES = 18BUILT_SOURCES =
2CLEANFILES = 19CLEANFILES =
3EXTRA_DIST = 20EXTRA_DIST =
@@ -17,14 +34,16 @@ include gnulib.mk
17libgnu_a_SOURCES += openat-die.c save-cwd.c 34libgnu_a_SOURCES += openat-die.c save-cwd.c
18endif 35endif
19 36
37if HYBRID_MALLOC_LIB
20noinst_LIBRARIES += libegnu.a 38noinst_LIBRARIES += libegnu.a
39endif
21 40
22libegnu_a_SOURCES = $(libgnu_a_SOURCES) 41libegnu_a_SOURCES = $(libgnu_a_SOURCES)
23libegnu_a_LIBADD = $(patsubst %.o,e-%.o,$(libgnu_a_LIBADD)) 42libegnu_a_LIBADD = $(patsubst %.o,e-%.o,$(libgnu_a_LIBADD))
24EXTRA_libegnu_a_SOURCES = $(EXTRA_libgnu_a_SOURCES) 43EXTRA_libegnu_a_SOURCES = $(EXTRA_libgnu_a_SOURCES)
25libegnu_a_SHORTNAME = e 44libegnu_a_SHORTNAME = e
26 45libegnu_a_CPPFLAGS = -Demacs
27libegnu_a_CPPFLAGS = $(AM_CPPFLAGS) -Demacs 46MOSTLYCLEANFILES += libegnu.a
28 47
29.PHONY: bootstrap-clean 48.PHONY: bootstrap-clean
30 49