medit/tests/Makefile.am

96 lines
1.7 KiB
Makefile
Raw Normal View History

2005-06-22 18:20:32 +00:00
#
# tests/Makefile.am
#
2005-06-22 22:13:12 +00:00
EXTRA_PROGRAMS = medit mterm markup editor termbuffer
2005-06-22 18:20:32 +00:00
noinst_PROGRAMS =
EXTRA_DIST = pyapp.py.in
all-am: pyapp.py
if BUILD_MOOAPP
noinst_PROGRAMS += editor
endif
if BUILD_MOOEDIT
noinst_PROGRAMS += medit
endif
if BUILD_MOOTERM
2005-06-22 22:13:12 +00:00
noinst_PROGRAMS += mterm termbuffer
2005-06-22 18:20:32 +00:00
endif
if BUILD_MOOUTILS
noinst_PROGRAMS += markup
endif
DEFAULT_INCLUDES =
AM_CFLAGS = \
-I$(top_builddir) \
$(MOO_CFLAGS) \
$(M_CFLAGS) \
$(CFLAGS) \
$(GTK_CFLAGS)
##############################################################################
## editor
##
editor_LDFLAGS =
editor_LDADD = \
../moo/libmoo.la \
$(MOO_LIBS) \
$(PYTHON_LDFLAGS) \
$(PYTHON_EXTRA_LIBS)
if MINGW_BUILD
editor_LDFLAGS += -mwindows
endif MINGW_BUILD
2005-06-23 20:18:45 +00:00
editor_SOURCES = editor.c
2005-06-22 18:20:32 +00:00
##############################################################################
## medit
##
medit_LDFLAGS =
medit_LDADD = $(MOO_LIBS) ../moo/libmoo.la
if MINGW_BUILD
medit_LDFLAGS += -mwindows
endif MINGW_BUILD
2005-06-23 20:18:45 +00:00
medit_SOURCES = medit.c
2005-06-22 18:20:32 +00:00
##############################################################################
## mterm
##
mterm_LDFLAGS =
mterm_LDADD = $(MOO_LIBS) ../moo/libmoo.la
2005-06-22 22:13:12 +00:00
termbuffer_LDADD = $(mterm_LDADD)
2005-06-22 18:20:32 +00:00
if MINGW_BUILD
mterm_LDFLAGS += -mwindows
endif MINGW_BUILD
2005-06-22 22:13:12 +00:00
termbuffer_LDFLAGS = $(mterm_LDFLAGS)
2005-06-23 20:18:45 +00:00
mterm_SOURCES = mterm.c
termbuffer_SOURCES = termbuffer.c
2005-06-22 18:20:32 +00:00
##############################################################################
## markup
##
markup_LDFLAGS =
markup_LDADD = $(MOO_LIBS) ../moo/libmoo.la
if MINGW_BUILD
markup_LDFLAGS += -mwindows
endif MINGW_BUILD
2005-06-23 20:18:45 +00:00
markup_SOURCES = markup.c