medit/tests/Makefile.am

141 lines
2.6 KiB
Makefile
Raw Normal View History

AM_CFLAGS = \
-I$(top_builddir) \
-I../moo \
$(MOO_CFLAGS) \
$(MOO_DEBUG_CFLAGS)
2007-07-12 02:52:51 -05:00
AM_OBJCFLAGS = $(AM_CFLAGS)
noinst_PROGRAMS =
2006-12-10 16:53:57 -06:00
test_programs = \
markup testpaned miniglade \
testobject testthreads
if MOO_BUILD_EDIT
test_programs += \
testtext testfileview \
testpanedfileview testfold \
testkeyfile
if MOO_OS_UNIX
2007-07-12 02:52:51 -05:00
if MOO_USE_OBJC
2006-12-10 16:53:57 -06:00
test_programs += ms
endif
endif
2007-07-12 02:52:51 -05:00
endif
2006-12-10 16:53:57 -06:00
if MOO_BUILD_TERM
test_programs += mterm termbuffer
endif
if MOO_BUILD_APP
test_programs += testhtml
endif
EXTRA_PROGRAMS = $(test_programs)
2006-12-10 16:53:57 -06:00
if MOO_ENABLE_TESTS
noinst_PROGRAMS += $(test_programs)
endif
all-tests: $(EXTRA_PROGRAMS)
EXTRA_DIST = \
pyapp.py.in
2007-06-20 02:45:26 -05:00
BUILT_SOURCES = pyapp.py
if MOO_BUILD_TERM
if !MOO_OS_CYGWIN
if !MOO_BUILD_APP
noinst_PROGRAMS += mterm #termbuffer
endif
endif
endif
if MOO_BUILD_UTILS
if !MOO_BUILD_EDIT
if !MOO_BUILD_TERM
if !MOO_OS_CYGWIN
noinst_PROGRAMS += testfileview
endif
endif
endif
endif
ldflags = -export-dynamic $(PYTHON_EXTRA_LDFLAGS)
ldadd = ../moo/libmoo.la
if MOO_OS_MINGW
ldflags += -mwindows
endif MOO_OS_MINGW
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
ms_LDFLAGS = $(ldflags)
2007-07-12 02:52:51 -05:00
ms_LDADD = $(ldadd) -lreadline -lobjc
ms_SOURCES = mscript.m
testhtml_LDFLAGS = $(ldflags)
testhtml_LDADD = $(ldadd)
testhtml_SOURCES = testhtml.c
mterm_LDFLAGS = $(ldflags)
mterm_LDADD = $(ldadd)
mterm_SOURCES = mterm.c
termbuffer_LDFLAGS = $(ldflags)
termbuffer_LDADD = $(ldadd)
termbuffer_SOURCES = termbuffer.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