medit/tests/Makefile.am

99 lines
2.0 KiB
Makefile
Raw Normal View History

2008-08-18 17:40:58 -05:00
AM_CFLAGS = $(MOO_CFLAGS)
AM_CXXFLAGS = $(MOO_CXXFLAGS)
check_PROGRAMS = \
markup testpaned \
miniglade testobject \
testthreads testthreads2
TESTS = \
testthreads \
testthreads2.sh \
markup
2006-12-10 16:53:57 -06:00
if MOO_BUILD_EDIT
check_PROGRAMS += \
2006-12-10 16:53:57 -06:00
testtext testfileview \
testpanedfileview testfold \
testkeyfile
TESTS += \
testfold
2007-07-12 02:52:51 -05:00
endif
2008-08-22 22:52:54 -05:00
if MOO_BUILD_APP
check_PROGRAMS += testhtml
2006-12-10 16:53:57 -06:00
endif
EXTRA_DIST = testthreads2.sh
all-tests: $(check_PROGRAMS)
if MOO_BUILD_UTILS
if !MOO_BUILD_EDIT
check_PROGRAMS += testfileview
endif
endif
ldflags = -export-dynamic $(PYTHON_EXTRA_LDFLAGS)
2008-08-22 22:52:54 -05:00
include ../moo/moo-comps.mk
ldadd = $(moo_app_ldadd)
testfold_LDFLAGS = $(ldflags)
testfold_LDADD = $(ldadd)
testfold_SOURCES = testfold.c
testtext_LDFLAGS = $(ldflags)
testtext_LDADD = $(ldadd)
testtext_SOURCES = testtext.c
2006-08-22 23:15:25 -05:00
testkeyfile_LDFLAGS = $(ldflags)
testkeyfile_LDADD = $(ldadd)
testkeyfile_SOURCES = testkeyfile.c
2006-12-10 10:54:35 -06:00
testthreads_LDFLAGS = $(ldflags)
testthreads_LDADD = $(ldadd) $(GTHREAD_LIBS)
testthreads_SOURCES = testthreads.c
testthreads2_LDFLAGS = $(ldflags)
testthreads2_LDADD = $(ldadd) $(GTHREAD_LIBS)
testthreads2_SOURCES = testthreads2.c
testhtml_LDFLAGS = $(ldflags)
testhtml_LDADD = $(ldadd)
testhtml_SOURCES = testhtml.c
##############################################################################
## markup
##
markup_LDFLAGS = $(ldflags)
markup_LDADD = $(ldadd)
markup_SOURCES = markup.c
##############################################################################
## miniglade
##
miniglade_LDFLAGS = $(ldflags)
miniglade_LDADD = $(ldadd)
miniglade_SOURCES = miniglade.c
##############################################################################
testpaned_LDFLAGS = $(ldflags)
testpaned_LDADD = $(ldadd)
testpaned_SOURCES = testpaned.c
testfileview_LDFLAGS = $(ldflags)
testfileview_LDADD = $(ldadd)
testfileview_SOURCES = testfileview.c
testpanedfileview_LDFLAGS = $(ldflags)
testpanedfileview_LDADD = $(ldadd)
testpanedfileview_SOURCES = testpanedfileview.c
testobject_LDFLAGS = $(ldflags)
testobject_LDADD = $(ldadd)
testobject_SOURCES = testobject.c