summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
blob: cced9d6fbdabe57c2d37de22c1c4cf9334dd4094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(srcdir) -I. \
	      $(GLIB_CFLAGS) $(GOBJECT_CFLAGS)

dist_noinst_HEADERS = test.h
noinst_PROGRAMS = testrecord testdatabase

testrecord_SOURCES = testrecord.c
testrecord_LDADD = ../libmsi/libmsi.la
testdatabase_SOURCES = testdatabase.c
testdatabase_LDADD = ../libmsi/libmsi.la

if WIN32
noinst_PROGRAMS += testsuminfo

testdatabase_LDADD += -lole32
testsuminfo_SOURCES = testsuminfo.c
testsuminfo_LDADD = ../libmsi/libmsi.la -lole32
endif