1AUTOMAKE_OPTIONS = foreign 1.11 no-dist-gzip dist-bzip2 subdir-objects 2ACLOCAL_AMFLAGS = -I m4 3 4INCLUDES = -I$(top_srcdir)/include -I. -I$(top_srcdir)/halloc 5AM_CFLAGS = -ansi -pedantic -Wall -Wextra -Wno-long-long -O0 -g 6 7SUBDIRS = docs 8 9EXTRA_DIST = \ 10 AUTHORS README LICENSE \ 11 nestegg-uninstalled.pc.in \ 12 m4/as-ac-expand.m4 \ 13 m4/pkg.m4 \ 14 m4/ax_create_stdint_h.m4 \ 15 halloc/src/halloc.c \ 16 halloc/halloc.h \ 17 halloc/src/align.h \ 18 halloc/src/hlist.h \ 19 halloc/src/macros.h 20 21pkgconfigdir = $(libdir)/pkgconfig 22pkgconfig_DATA = nestegg.pc 23 24nesteggincludedir = $(includedir)/nestegg 25nestegginclude_HEADERS = include/nestegg/nestegg.h include/nestegg/nestegg-stdint.h 26 27lib_LTLIBRARIES = src/libnestegg.la 28 29src_libnestegg_la_SOURCES = \ 30 src/nestegg.c \ 31 halloc/src/halloc.c \ 32 halloc/halloc.h \ 33 halloc/src/align.h \ 34 halloc/src/hlist.h \ 35 halloc/src/macros.h 36 37check_PROGRAMS = test/test 38 39test_test_SOURCES = test/test.c 40test_test_LDADD = src/libnestegg.la 41 42DISTCLEANFILES = include/nestegg/nestegg-stdint.h 43 44dist-hook: 45 find $(distdir) -type d -name '.git' | xargs rm -rf 46 47debug: 48 $(MAKE) all CFLAGS="@DEBUG@" 49 50profile: 51 $(MAKE) all CFLAGS="@PROFILE@" 52