medit/moo/Makefile.am

89 lines
1.6 KiB
Makefile
Raw Normal View History

2005-06-22 11:20:32 -07:00
#
# moo/Makefile.am
#
DIST_SUBDIRS = \
mooapp \
mooutils \
mooedit \
2005-07-30 09:21:40 -07:00
moopython \
2005-06-22 11:20:32 -07:00
mooterm \
mooui
subdirs =
noinst_LTLIBRARIES = libmoo.la
libmoo_la_LIBADD =
2005-06-23 13:18:45 -07:00
libmoo_la_SOURCES = dummy.c
2005-06-22 11:20:32 -07:00
if BUILD_MOOUTILS
subdirs += mooutils
libmoo_la_LIBADD += mooutils/libmooutils.la
endif
if BUILD_MOOUI
subdirs += mooui
libmoo_la_LIBADD += mooui/libmooui.la
endif
if BUILD_MOOEDIT
subdirs += mooedit
libmoo_la_LIBADD += mooedit/libmooedit.la
endif
if BUILD_MOOTERM
subdirs += mooterm
if !CYGWIN_BUILD
libmoo_la_LIBADD += mooterm/libmooterm.la
endif !CYGWIN_BUILD
endif
if BUILD_MOOAPP
subdirs += mooapp
if !CYGWIN_BUILD
libmoo_la_LIBADD += mooapp/libmooapp.la
endif !CYGWIN_BUILD
endif
2005-07-30 09:21:40 -07:00
if USE_PYGTK
subdirs += moopython
libmoo_la_LIBADD += moopython/libmoopython.la
endif
2005-06-22 11:20:32 -07:00
SUBDIRS = $(subdirs) .
DEFAULT_INCLUDES =
AM_CFLAGS = \
-I$(top_builddir) \
$(MOO_CFLAGS) \
$(PYTHON_INCLUDES) \
$(PYGTK_CFLAGS) \
2005-07-25 03:56:08 -07:00
$(DEBUG_CFLAGS) \
2005-07-30 09:21:40 -07:00
$(CFLAGS)
2005-06-22 11:20:32 -07:00
##############################################################################
# moo module
#
if BUILD_PYMOO
pyexec_LTLIBRARIES = moo.la
2005-07-30 09:21:40 -07:00
moo_la_SOURCES = $(libmoo_la_SOURCES)
2005-06-22 11:20:32 -07:00
if MINGW_BUILD
mingw_flags = -no-undefined
endif MINGW_BUILD
moo_la_LDFLAGS = -module -avoid-version -export-symbols-regex initmoo $(mingw_flags)
moo_la_LIBADD = \
$(libmoo_la_LIBADD) \
$(GTK_LIBS) \
$(XML_LIBS) \
$(PYTHON_LDFLAGS) \
$(PYTHON_EXTRA_LIBS)
endif BUILD_PYMOO