1 # The goal of -Wno-syntax here is just to suppress the Automake warning
2 # about overriding distdir, below.
3 AUTOMAKE_OPTIONS = foreign -Wno-syntax subdir-objects
4 ACLOCAL_AMFLAGS = -I m4
7 if HAVE_DPKG_BUILDPACKAGE
9 cd $(srcdir) && dpkg-buildpackage -rfakeroot -us -uc
10 cd $(srcdir) && fakeroot ./debian/rules clean
15 AM_CPPFLAGS = $(SSL_CFLAGS)
16 AM_CPPFLAGS += -I $(top_srcdir)/include
18 AM_CPPFLAGS += -I $(top_srcdir)/ext/include
21 AM_CFLAGS = -Wstrict-prototypes
23 rundir = $(localstatedir)/run
24 AM_CFLAGS += -DRUNDIR=\"$(rundir)\"
27 AM_CFLAGS += -DNDEBUG -fomit-frame-pointer
29 AM_LDFLAGS = -export-dynamic
45 do_subst = sed -e 's,[@]pkidir[@],$(pkidir),g' \
46 -e 's,[@]rundir[@],$(rundir),g' \
47 -e 's,[@]PERL[@],$(PERL),g'
48 ro_script = sed "`printf '1a\\' && printf '\\n\# -*- buffer-read-only: t -*-'`"
49 ro_man = printf '.\\" Local variables:\n.\\" buffer-read-only: t\n.\\" End:\n'
51 EXTRA_DIST += README.hwtables
53 include lib/automake.mk
54 include secchan/automake.mk
55 include controller/automake.mk
56 include utilities/automake.mk
57 include switch/automake.mk
58 include tests/automake.mk
59 include include/automake.mk
60 include third-party/automake.mk
61 include debian/automake.mk