2005-11-07 01:22:20 -08:00
|
|
|
EXTRA_DIST = mingw-configure cygwin-configure
|
2005-06-22 11:20:32 -07:00
|
|
|
|
2005-11-22 10:39:05 -08:00
|
|
|
DIST_SUBDIRS = m4
|
2005-10-13 07:08:18 -07:00
|
|
|
|
2005-11-22 10:41:12 -08:00
|
|
|
# pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
# pkgconfig_DATA = moo.pc
|
2005-10-30 13:16:22 -08:00
|
|
|
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2005-11-05 04:34:09 -08:00
|
|
|
|
|
|
|
|
|
|
|
DEFAULT_INCLUDES =
|
|
|
|
AM_CFLAGS = \
|
|
|
|
-I$(top_builddir) \
|
2005-12-08 00:54:59 -08:00
|
|
|
-I$(top_srcdir) \
|
2005-11-07 01:22:20 -08:00
|
|
|
-I$(top_srcdir)/$(MOO_SRC_PREFIX) \
|
|
|
|
-I$(top_builddir)/$(MOO_SRC_PREFIX) \
|
2005-12-15 09:16:29 -08:00
|
|
|
-I$(top_builddir)/$(MOO_SRC_PREFIX)/mooutils/pcre \
|
2005-11-05 04:34:09 -08:00
|
|
|
$(MOO_CFLAGS) \
|
|
|
|
$(PYTHON_INCLUDES) \
|
|
|
|
$(PYGTK_CFLAGS) \
|
|
|
|
$(MOO_DEBUG_CFLAGS) \
|
|
|
|
$(CFLAGS)
|
|
|
|
|
|
|
|
if !MOO_OS_CYGWIN
|
2005-11-22 10:39:05 -08:00
|
|
|
if MOO_BUILD_LIB
|
|
|
|
# noinst_LTLIBRARIES = libmoo-1.0.la
|
|
|
|
endif
|
2005-11-05 04:34:09 -08:00
|
|
|
endif
|
|
|
|
|
|
|
|
###########################################################################
|
|
|
|
|
|
|
|
EXTRA_PROGRAMS =
|
2005-12-10 20:25:13 -08:00
|
|
|
noinst_PROGRAMS =
|
2005-11-05 04:34:09 -08:00
|
|
|
moo_prefix = moo
|
|
|
|
XML2H = $(srcdir)/moo/mooutils/xml2h.sh
|
2005-11-06 00:46:13 -08:00
|
|
|
PY2H = $(srcdir)/moo/mooutils/py2h.sh
|
2005-11-05 04:34:09 -08:00
|
|
|
include moo/Makefile.incl
|
|
|
|
include moo/mooutils/Makefile.incl
|
|
|
|
include moo/mooedit/Makefile.incl
|
|
|
|
include moo/mooterm/Makefile.incl
|
|
|
|
include moo/mooapp/Makefile.incl
|
|
|
|
include moo/moopython/Makefile.incl
|
|
|
|
|
2005-11-22 10:41:12 -08:00
|
|
|
# moo_libincludedir = $(libdir)/moo-1.0/include
|
|
|
|
# moo_libinclude_HEADERS = $(moo_libinclude_headers)
|
|
|
|
# moo_includedir = $(includedir)/moo-1.0
|
|
|
|
# moo_include_HEADERS = $(moo_include_headers)
|
|
|
|
# mooedit_includedir = $(moo_includedir)/mooedit
|
|
|
|
# mooedit_include_HEADERS = $(mooedit_include_headers)
|
|
|
|
# mooterm_includedir = $(moo_includedir)/mooterm
|
|
|
|
# mooterm_include_HEADERS = $(mooterm_include_headers)
|
|
|
|
# mooapp_includedir = $(moo_includedir)/mooapp
|
|
|
|
# mooapp_include_HEADERS = $(mooapp_include_headers)
|
|
|
|
# mooutils_includedir = $(moo_includedir)/mooutils
|
|
|
|
# mooutils_include_HEADERS = $(mooutils_include_headers)
|
2005-11-05 05:12:50 -08:00
|
|
|
|
2005-11-05 04:34:09 -08:00
|
|
|
###########################################################################
|
|
|
|
|
|
|
|
CLEANFILES = $(moo_cleanfiles)
|
|
|
|
BUILT_SOURCES = $(moo_built_sources)
|
2005-11-22 10:39:05 -08:00
|
|
|
|
|
|
|
libmoo_ldflags = -version-info $(LTVERSION) -export-symbols-regex "^[^_].*" -no-undefined
|
|
|
|
libmoo_sources = $(moo_sources)
|
|
|
|
nodist_libmoo_sources = $(moo_nodist_sources)
|
|
|
|
|
2005-11-05 04:34:09 -08:00
|
|
|
if MOO_OS_MINGW
|
2005-11-22 10:39:05 -08:00
|
|
|
libmoo_sources += $(moo_win32_sources)
|
2005-11-05 04:34:09 -08:00
|
|
|
endif
|
|
|
|
if MOO_OS_UNIX
|
2005-11-22 10:39:05 -08:00
|
|
|
libmoo_sources += $(moo_unix_sources)
|
|
|
|
endif
|
|
|
|
|
|
|
|
if !MOO_OS_CYGWIN
|
|
|
|
if MOO_BUILD_LIB
|
|
|
|
# libmoo_1_0_la_LDFLAGS = $(libmoo_ldflags)
|
|
|
|
# libmoo_1_0_la_SOURCES = $(libmoo_sources)
|
|
|
|
# nodist_libmoo_1_0_la_SOURCES = $(nodist_libmoo_sources)
|
2005-11-05 04:34:09 -08:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
$(moo_sources) \
|
|
|
|
$(moo_win32_sources) \
|
|
|
|
$(moo_unix_sources) \
|
|
|
|
$(moo_built_sources) \
|
|
|
|
$(moo_extra_dist)
|
2005-11-05 05:49:44 -08:00
|
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# moo module
|
|
|
|
#
|
|
|
|
if BUILD_PYMOO
|
|
|
|
|
2005-11-22 10:39:05 -08:00
|
|
|
# pyexec_LTLIBRARIES = moo.la
|
|
|
|
#
|
|
|
|
# moo_la_SOURCES = $(libmoo_sources)
|
|
|
|
# nodist_moo_la_SOURCES = $(nodist_libmoo_sources)
|
|
|
|
#
|
|
|
|
# if MOO_OS_MINGW
|
|
|
|
# mingw_flags = -no-undefined
|
|
|
|
# endif MOO_OS_MINGW
|
|
|
|
#
|
|
|
|
# moo_la_LDFLAGS = -module -avoid-version -no-undefined -export-symbols-regex "initmoo"
|
|
|
|
#
|
|
|
|
# moo_la_LIBADD = \
|
|
|
|
# $(GTK_LIBS) \
|
|
|
|
# $(XML_LIBS) \
|
|
|
|
# $(PYTHON_LDFLAGS) \
|
|
|
|
# $(PYTHON_EXTRA_LIBS)
|
2005-11-05 05:49:44 -08:00
|
|
|
|
2005-11-22 10:39:05 -08:00
|
|
|
endif BUILD_PYMOO
|
2005-11-05 05:49:44 -08:00
|
|
|
|
|
|
|
|
2005-11-22 10:39:05 -08:00
|
|
|
##############################################################################
|
|
|
|
# tests
|
|
|
|
#
|
|
|
|
include tests/Makefile.incl
|