1 # Copyright 2016-2017 Free Software Foundation, Inc.
3 # This file is part of GNU Emacs.
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.
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.
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/>.
18 # GNU Emacs assumes GNU Make.
19 AUTOMAKE_OPTIONS = -Wno-portability
29 AM_CFLAGS = $(PROFILING_CFLAGS) $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS)
30 DEFAULT_INCLUDES = -I. -I$(top_srcdir)/lib -I../src -I$(top_srcdir)/src
32 if BUILDING_FOR_WINDOWSNT
33 include ../nt/gnulib.mk
37 libgnu_a_SOURCES += openat-die.c save-cwd.c
41 noinst_LIBRARIES += libegnu.a
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
51 .PHONY: bootstrap-clean
53 bootstrap-clean: maintainer-clean