medit/tests/Makefile.am

121 lines
2.5 KiB
Makefile
Raw Normal View History

2005-06-22 11:20:32 -07:00
#
# tests/Makefile.am
#
EXTRA_PROGRAMS = medit mterm markup termbuffer testfileview testpaned testpanedfileview miniglade langparser
bin_PROGRAMS =
2005-06-22 11:20:32 -07:00
noinst_PROGRAMS =
2005-08-01 16:09:31 -07:00
EXTRA_DIST = \
pyapp.py.in \
medit-ui.xml
BUILT_SOURCES = medit-ui.h
medit-ui.h: medit-ui.xml
sh $(srcdir)/../moo/mooutils/xml2h.sh MEDIT_UI $(srcdir)/medit-ui.xml > medit-ui.h
2005-08-01 16:09:31 -07:00
all-am: pyapp.py medit-ui.h
2005-06-22 11:20:32 -07:00
if MOO_BUILD_APP
medit = medit
2005-06-22 11:20:32 -07:00
endif
if MOO_BUILD_EDIT
medit = medit
2005-06-22 11:20:32 -07:00
endif
if MOO_BUILD_TERM
noinst_PROGRAMS += mterm #termbuffer
2005-06-22 11:20:32 -07:00
endif
if MOO_BUILD_UTILS
# noinst_PROGRAMS += markup miniglade
2005-06-22 11:20:32 -07:00
endif
bin_PROGRAMS += $(medit)
2005-06-22 11:20:32 -07:00
AM_CFLAGS = \
-I$(top_builddir) \
$(MOO_CFLAGS) \
2005-07-25 03:56:08 -07:00
$(DEBUG_CFLAGS) \
2005-06-22 11:20:32 -07:00
$(CFLAGS) \
$(GTK_CFLAGS)
ldflags = -export-dynamic
ldadd = \
../moo/libmoo-1.0.la \
$(MOO_LIBS) \
$(PYTHON_LDFLAGS) \
2005-06-22 11:20:32 -07:00
$(PYTHON_EXTRA_LIBS)
if MOO_OS_MINGW
ldflags += -mwindows
endif MOO_OS_MINGW
2005-06-22 11:20:32 -07:00
##############################################################################
## medit
##
medit_LDFLAGS = $(ldflags)
medit_LDADD = $(ldadd)
medit_SOURCES = medit-ui.h
if MOO_BUILD_APP
medit_SOURCES += medit-app.c
else
medit_SOURCES += medit.c
endif
2005-06-22 11:20:32 -07:00
##############################################################################
## langparser
2005-06-22 11:20:32 -07:00
##
langparser_LDFLAGS = $(ldflags)
langparser_LDADD = $(ldadd)
2005-06-22 11:20:32 -07:00
langparser_SOURCES = testparser.c
2005-06-22 11:20:32 -07:00
##############################################################################
## mterm
##
mterm_LDFLAGS = $(ldflags)
mterm_LDADD = $(ldadd)
termbuffer_LDFLAGS = $(ldflags)
termbuffer_LDADD = $(ldadd)
2005-06-22 15:13:12 -07:00
2005-06-23 13:18:45 -07:00
mterm_SOURCES = mterm.c
termbuffer_SOURCES = termbuffer.c
2005-06-22 11:20:32 -07:00
##############################################################################
## markup
##
markup_LDFLAGS = $(ldflags)
markup_LDADD = $(ldadd)
2005-06-22 11:20:32 -07:00
2005-06-23 13:18:45 -07:00
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
2005-08-05 02:12:04 -07:00
testpanedfileview_LDFLAGS = $(ldflags)
testpanedfileview_LDADD = $(ldadd)
2005-08-05 02:12:04 -07:00
testpanedfileview_SOURCES = testpanedfileview.c