summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 9d501b7700bfd2ec9dd21b4fc1b1bb96afe070c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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