## SXEmacs - Ent Makefile.am
## Copyright (C) 2010 Steve Youngs
## This file is part of SXEmacs.
## SXEmacs 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.
## SXEmacs 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 this program. If not, see .
## Process this file with automake to produce Makefile.in
# Help the Developers and yourself. Just use the C locale and settings
# for the compilation. They can still be overriden by make LANG=
# but that is general a not very good idea
LANG=C
LC_ALL=C
builddir = @builddir@
srcdir = @srcdir@
top_builddir = @top_builddir@
top_build_prefix = $(top_builddir)/
top_srcdir = @top_srcdir@
abs_builddir = @abs_builddir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
AM_CFLAGS = -Demacs $(OPENSSL_CFLAGS) -DUSE_SXEMACS_CONFIG_H -DXTSTRINGDEFINES
AM_CPPFLAGS = -I$(srcdir) -I$(builddir) -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_builddir) $(c_switch_general) $(LTDLINCL)
headerdir = $(includedir)/$(instvarsepdir)
archlibdir = ${libdir}/${instvardir}/${configuration}
ETAGS = $(top_builddir)/lib-src/etags
TAGS_DEPENDENCIES = $(ETAGS)
all_sources=
header_HEADERS = $(acgen_headers)
noinst_LIBRARIES=
libsxemem_a_headers = \
blocktype.h
libsxemem_a_sources = \
blocktype.c
libsxemem_a_SOURCES = $(libsxemem_a_headers) $(libsxemem_a_sources)
all_sources += $(libsxemem_a_sources) $(libsxemem_objs:.o=.c)
header_HEADERS += $(libsxemem_a_headers)
noinst_LIBRARIES += libsxemem.a
if USE_MEMALLOC
libmemalloc_a_headers =
libmemalloc_a_sources =
libmemalloc_a_SOURCES = $(libmemalloc_a_headers) $(libmemalloc_a_sources)
EXTRA_libmemalloc_a_SOURCES = \
free-hook.c gmalloc.c malloc.c vm-limit.c ralloc.c
libmemalloc_a_CPPFLAGS = $(AM_CPPFLAGS)
libmemalloc_a_LIBADD = $(libmemalloc_objs)
libmemalloc_a_DEPENDENCIES = $(libmemalloc_a_LIBADD)
libmemalloc_a_ldflags = $(MEMALLOC_LIBS)
all_sources += $(libmemalloc_a_sources) $(libmemalloc_objs:.o=.c)
header_HEADERS += $(libmemalloc_a_headers)
noinst_LIBRARIES += libmemalloc.a
endif
#
# Help the SXEmacs developers get nice post-processed source files
## Create preprocessor output (debugging purposes only)
.c.i:
$(COMPILE) -E -o $@ $<
## Create assembler output (debugging purposes only)
.c.s:
$(COMPILE) -S -c $(cflags) $<