2005-06-22 11:20:32 -07:00
|
|
|
#
|
|
|
|
# moo/Makefile.am
|
|
|
|
#
|
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
LTVERSION = 0:1:0
|
|
|
|
|
2005-06-22 11:20:32 -07:00
|
|
|
DIST_SUBDIRS = \
|
|
|
|
mooapp \
|
|
|
|
mooutils \
|
|
|
|
mooedit \
|
2005-07-30 09:21:40 -07:00
|
|
|
moopython \
|
2005-10-13 07:08:18 -07:00
|
|
|
mooterm
|
2005-06-22 11:20:32 -07:00
|
|
|
|
2005-10-30 15:24:16 -08:00
|
|
|
mooinclude_headers = moo.h
|
|
|
|
moolibinclude_headers = moo-config.h
|
|
|
|
|
|
|
|
if MOO_STANDALONE
|
2005-10-13 07:08:18 -07:00
|
|
|
mooincludedir = $(includedir)/moo-1.0
|
2005-10-30 15:24:16 -08:00
|
|
|
mooinclude_HEADERS = $(mooinclude_headers)
|
2005-10-13 07:08:18 -07:00
|
|
|
moolibincludedir = $(libdir)/moo-1.0/include
|
2005-10-30 15:24:16 -08:00
|
|
|
moolibinclude_HEADERS = $(moolibinclude_headers)
|
|
|
|
endif MOO_STANDALONE
|
2005-06-22 11:20:32 -07:00
|
|
|
|
2005-10-30 16:37:15 -08:00
|
|
|
EXTRA_DIST = \
|
|
|
|
$(mooinclude_headers) \
|
|
|
|
$(moolibinclude_headers) \
|
|
|
|
TODO
|
2005-06-22 11:20:32 -07:00
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
# lib_LTLIBRARIES = libmoo-1.0.la
|
|
|
|
noinst_LTLIBRARIES = libmoo-1.0.la
|
|
|
|
|
|
|
|
libmoo_1_0_la_SOURCES = \
|
|
|
|
dummy.c
|
|
|
|
|
|
|
|
all-am: moo-config.h
|
|
|
|
|
|
|
|
moo_libadd =
|
|
|
|
subdirs =
|
|
|
|
|
|
|
|
if MOO_BUILD_UTILS
|
|
|
|
subdirs += mooutils
|
|
|
|
moo_libadd += mooutils/libmooutils.la
|
2005-06-22 11:20:32 -07:00
|
|
|
endif
|
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
if MOO_BUILD_EDIT
|
2005-06-22 11:20:32 -07:00
|
|
|
subdirs += mooedit
|
2005-10-13 07:08:18 -07:00
|
|
|
moo_libadd += mooedit/libmooedit.la
|
2005-06-22 11:20:32 -07:00
|
|
|
endif
|
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
if MOO_BUILD_TERM
|
2005-06-22 11:20:32 -07:00
|
|
|
subdirs += mooterm
|
2005-10-13 07:08:18 -07:00
|
|
|
if !MOO_OS_CYGWIN
|
|
|
|
moo_libadd += mooterm/libmooterm.la
|
|
|
|
endif !MOO_OS_CYGWIN
|
2005-06-22 11:20:32 -07:00
|
|
|
endif
|
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
if MOO_BUILD_APP
|
2005-06-22 11:20:32 -07:00
|
|
|
subdirs += mooapp
|
2005-10-13 07:08:18 -07:00
|
|
|
if !MOO_OS_CYGWIN
|
|
|
|
moo_libadd += mooapp/libmooapp.la
|
|
|
|
endif !MOO_OS_CYGWIN
|
2005-06-22 11:20:32 -07:00
|
|
|
endif
|
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
if MOO_USE_PYGTK
|
2005-07-30 09:21:40 -07:00
|
|
|
subdirs += moopython
|
2005-10-13 07:08:18 -07:00
|
|
|
moo_libadd += moopython/libmoopython.la
|
2005-07-30 09:21:40 -07:00
|
|
|
endif
|
|
|
|
|
2005-10-13 07:08:18 -07:00
|
|
|
libmoo_1_0_la_LIBADD = $(moo_libadd)
|
|
|
|
libmoo_1_0_la_LDFLAGS = -version-info $(LTVERSION) -export-symbols-regex "^[^_].*" -no-undefined
|
2005-07-30 09:21:40 -07:00
|
|
|
|
2005-06-22 11:20:32 -07:00
|
|
|
SUBDIRS = $(subdirs) .
|
|
|
|
|
|
|
|
DEFAULT_INCLUDES =
|
|
|
|
AM_CFLAGS = \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
$(MOO_CFLAGS) \
|
|
|
|
$(PYTHON_INCLUDES) \
|
|
|
|
$(PYGTK_CFLAGS) \
|
2005-10-30 13:16:22 -08:00
|
|
|
$(MOO_DEBUG_CFLAGS) \
|
2005-07-30 09:21:40 -07:00
|
|
|
$(CFLAGS)
|
2005-06-22 11:20:32 -07:00
|
|
|
|
|
|
|
|
2005-10-15 22:07:02 -07:00
|
|
|
# ##############################################################################
|
|
|
|
# # moo module
|
|
|
|
# #
|
|
|
|
# if BUILD_PYMOO
|
2005-06-22 11:20:32 -07:00
|
|
|
#
|
2005-10-15 22:07:02 -07:00
|
|
|
# pyexec_LTLIBRARIES = moo.la
|
|
|
|
#
|
|
|
|
# moo_la_SOURCES = $(libmoo_1_0_SOURCES)
|
|
|
|
#
|
|
|
|
# if MOO_OS_MINGW
|
|
|
|
# mingw_flags = -no-undefined
|
|
|
|
# endif MOO_OS_MINGW
|
|
|
|
#
|
|
|
|
# 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
|