]> code.delx.au - gnu-emacs/blob - lib/Makefile.am
Ibuffer change marks
[gnu-emacs] / lib / Makefile.am
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
18 # GNU Emacs assumes GNU Make.
19 AUTOMAKE_OPTIONS = -Wno-portability
20
21 BUILT_SOURCES =
22 CLEANFILES =
23 EXTRA_DIST =
24 MOSTLYCLEANDIRS =
25 MOSTLYCLEANFILES =
26 noinst_LIBRARIES =
27 SUFFIXES =
28
29 AM_CFLAGS = $(PROFILING_CFLAGS) $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS)
30 DEFAULT_INCLUDES = -I. -I$(top_srcdir)/lib -I../src -I$(top_srcdir)/src
31
32 if BUILDING_FOR_WINDOWSNT
33 include ../nt/gnulib.mk
34 else
35 include gnulib.mk
36
37 libgnu_a_SOURCES += openat-die.c save-cwd.c
38 endif
39
40 if HYBRID_MALLOC_LIB
41 noinst_LIBRARIES += libegnu.a
42 endif
43
44 libegnu_a_SOURCES = $(libgnu_a_SOURCES)
45 libegnu_a_LIBADD = $(patsubst %.o,e-%.o,$(libgnu_a_LIBADD))
46 EXTRA_libegnu_a_SOURCES = $(EXTRA_libgnu_a_SOURCES)
47 libegnu_a_SHORTNAME = e
48 libegnu_a_CPPFLAGS = -Demacs
49 MOSTLYCLEANFILES += libegnu.a
50
51 .PHONY: bootstrap-clean
52
53 bootstrap-clean: maintainer-clean