summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..9d501b7
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,27 @@
+include $(top_srcdir)/make/shared.am
+
+ACLOCAL_AMFLAGS = -I m4 --install
+EXTRA_DIST = autogen.sh
+
+SUBDIRS = include
+SUBDIRS += .
+
+if ENABLE_CHECKS
+SUBDIRS += tests
+endif
+
+bin_PROGRAMS = foobar
+lib_LTLIBRARIES = libfoobar.la
+noinst_LIBRARIES = libfoobar.a
+
+foobar_LDADD = libfoobar.a
+foobar_SOURCES = \
+ src/main.c
+
+libfoobar_la_LIBADD = libfoobar.a
+libfoobar_la_SOURCES = \
+ src/lib.c
+
+libfoobar_a_SOURCES = \
+ src/common.h \
+ src/common.c