2005-06-22 11:20:32 -07:00
|
|
|
#
|
|
|
|
# tests/Makefile.am
|
|
|
|
#
|
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
EXTRA_PROGRAMS = medit mterm markup termbuffer testfileview testpaned testpanedfileview miniglade langparser
|
2005-08-04 23:32:53 -07:00
|
|
|
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 \
|
2005-10-13 07:08:18 -07:00
|
|
|
medit-ui.xml
|
2005-08-04 23:32:53 -07:00
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
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
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
all-am: pyapp.py medit-ui.h
|
2005-06-22 11:20:32 -07:00
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
if MOO_BUILD_APP
|
|
|
|
medit = medit
|
2005-06-22 11:20:32 -07:00
|
|
|
endif
|
2005-10-13 07:08:18 -07:00
|
|
|
if MOO_BUILD_EDIT
|
|
|
|
medit = medit
|
2005-06-22 11:20:32 -07:00
|
|
|
endif
|
2005-10-13 07:08:18 -07:00
|
|
|
if MOO_BUILD_TERM
|
2005-10-15 22:07:02 -07:00
|
|
|
noinst_PROGRAMS += mterm #termbuffer
|
2005-06-22 11:20:32 -07:00
|
|
|
endif
|
2005-10-13 07:08:18 -07:00
|
|
|
if MOO_BUILD_UTILS
|
|
|
|
# noinst_PROGRAMS += markup miniglade
|
2005-06-22 11:20:32 -07:00
|
|
|
endif
|
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
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)
|
|
|
|
|
2005-10-15 22:07:02 -07:00
|
|
|
ldflags = -export-dynamic
|
|
|
|
ldadd = \
|
2005-10-13 07:08:18 -07:00
|
|
|
../moo/libmoo-1.0.la \
|
|
|
|
$(MOO_LIBS) \
|
|
|
|
$(PYTHON_LDFLAGS) \
|
2005-06-22 11:20:32 -07:00
|
|
|
$(PYTHON_EXTRA_LIBS)
|
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
if MOO_OS_MINGW
|
2005-10-15 22:07:02 -07:00
|
|
|
ldflags += -mwindows
|
2005-10-13 07:08:18 -07:00
|
|
|
endif MOO_OS_MINGW
|
2005-06-22 11:20:32 -07:00
|
|
|
|
2005-10-15 22:07:02 -07:00
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
## medit
|
|
|
|
##
|
|
|
|
medit_LDFLAGS = $(ldflags)
|
|
|
|
medit_LDADD = $(ldadd)
|
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
2005-10-13 07:08:18 -07:00
|
|
|
## langparser
|
2005-06-22 11:20:32 -07:00
|
|
|
##
|
2005-10-15 22:07:02 -07:00
|
|
|
langparser_LDFLAGS = $(ldflags)
|
|
|
|
langparser_LDADD = $(ldadd)
|
2005-06-22 11:20:32 -07:00
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
langparser_SOURCES = testparser.c
|
2005-06-22 11:20:32 -07:00
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
## mterm
|
|
|
|
##
|
2005-10-15 22:07:02 -07:00
|
|
|
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
|
|
|
|
##
|
2005-10-15 22:07:02 -07:00
|
|
|
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
|
2005-08-04 23:32:53 -07:00
|
|
|
|
|
|
|
|
2005-09-10 07:41:16 -07:00
|
|
|
##############################################################################
|
|
|
|
## miniglade
|
|
|
|
##
|
2005-10-15 22:07:02 -07:00
|
|
|
miniglade_LDFLAGS = $(ldflags)
|
|
|
|
miniglade_LDADD = $(ldadd)
|
2005-09-10 07:41:16 -07:00
|
|
|
|
|
|
|
miniglade_SOURCES = miniglade.c
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
|
2005-10-15 22:07:02 -07:00
|
|
|
testpaned_LDFLAGS = $(ldflags)
|
|
|
|
testpaned_LDADD = $(ldadd)
|
2005-08-04 23:32:53 -07:00
|
|
|
testpaned_SOURCES = testpaned.c
|
|
|
|
|
2005-10-15 22:07:02 -07:00
|
|
|
testfileview_LDFLAGS = $(ldflags)
|
|
|
|
testfileview_LDADD = $(ldadd)
|
2005-08-04 23:32:53 -07:00
|
|
|
testfileview_SOURCES = testfileview.c
|
2005-08-05 02:12:04 -07:00
|
|
|
|
2005-10-15 22:07:02 -07:00
|
|
|
testpanedfileview_LDFLAGS = $(ldflags)
|
|
|
|
testpanedfileview_LDADD = $(ldadd)
|
2005-08-05 02:12:04 -07:00
|
|
|
testpanedfileview_SOURCES = testpanedfileview.c
|