2006-04-20 15:59:14 -07:00
|
|
|
AUTOMAKE_OPTIONS = dist-bzip2 foreign nostdinc
|
2006-04-30 19:24:35 -07:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
autogen.sh \
|
|
|
|
mingw-configure \
|
|
|
|
cygwin-configure \
|
|
|
|
makewin
|
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
|
|
|
|
2006-05-08 13:41:36 -07:00
|
|
|
ACLOCAL_AMFLAGS = -I $(top_srcdir)/m4
|
2005-11-05 04:34:09 -08:00
|
|
|
|
2006-04-06 01:32:16 -07:00
|
|
|
AM_CFLAGS = \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/$(MOO_SRC_PREFIX) \
|
|
|
|
-I$(top_builddir)/$(MOO_SRC_PREFIX) \
|
|
|
|
-I$(top_srcdir)/$(MOO_SRC_PREFIX)/mooutils \
|
2006-04-16 09:40:58 -07:00
|
|
|
-I$(top_builddir)/$(MOO_SRC_PREFIX)/mooutils\
|
2006-04-06 01:32:16 -07:00
|
|
|
$(MOO_CFLAGS) \
|
|
|
|
$(PYTHON_INCLUDES) \
|
|
|
|
$(PYGTK_CFLAGS) \
|
2006-05-09 19:18:49 -07:00
|
|
|
$(MOO_DEBUG_CFLAGS)
|
2005-11-05 04:34:09 -08:00
|
|
|
|
|
|
|
|
|
|
|
###########################################################################
|
|
|
|
|
2006-01-27 12:48:10 -08:00
|
|
|
CLEANFILES =
|
2005-11-05 04:34:09 -08:00
|
|
|
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-12-19 18:02:54 -08:00
|
|
|
SUBDIRS =
|
|
|
|
|
2005-12-20 16:49:09 -08:00
|
|
|
# common moo Makefile
|
2005-11-05 04:34:09 -08:00
|
|
|
include moo/Makefile.incl
|
2005-12-20 16:49:09 -08:00
|
|
|
# mooutils
|
2005-11-05 04:34:09 -08:00
|
|
|
include moo/mooutils/Makefile.incl
|
2005-12-20 16:49:09 -08:00
|
|
|
include moo/mooutils/glade/Makefile.incl
|
|
|
|
include moo/mooutils/moofileview/Makefile.incl
|
2006-02-24 20:03:13 -08:00
|
|
|
include moo/mooutils/mooscript/Makefile.incl
|
2005-12-20 16:49:09 -08:00
|
|
|
include moo/mooutils/newgtk/Makefile.incl
|
|
|
|
include moo/mooutils/pcre/Makefile.incl
|
|
|
|
include moo/mooutils/pixmaps/Makefile.incl
|
|
|
|
include moo/mooutils/xdgmime/Makefile.incl
|
|
|
|
# mooedit
|
2005-11-05 04:34:09 -08:00
|
|
|
include moo/mooedit/Makefile.incl
|
2005-12-20 16:49:09 -08:00
|
|
|
include moo/mooedit/glade/Makefile.incl
|
|
|
|
include moo/mooedit/syntax/Makefile.incl
|
|
|
|
include moo/mooedit/plugins/Makefile.incl
|
2005-12-19 18:02:54 -08:00
|
|
|
include moo/mooedit/plugins/activestrings/Makefile.incl
|
2006-04-10 00:56:01 -07:00
|
|
|
include moo/mooedit/plugins/completion/Makefile.incl
|
2005-12-20 16:49:09 -08:00
|
|
|
# mooterm
|
2005-11-05 04:34:09 -08:00
|
|
|
include moo/mooterm/Makefile.incl
|
2005-12-20 16:49:09 -08:00
|
|
|
include moo/mooterm/glade/Makefile.incl
|
|
|
|
# mooapp
|
2005-11-05 04:34:09 -08:00
|
|
|
include moo/mooapp/Makefile.incl
|
2005-12-20 16:49:09 -08:00
|
|
|
include moo/mooapp/glade/Makefile.incl
|
|
|
|
# moopython
|
2005-11-05 04:34:09 -08:00
|
|
|
include moo/moopython/Makefile.incl
|
2005-12-23 06:26:23 -08:00
|
|
|
include moo/moopython/codegen/Makefile.incl
|
2005-12-23 06:27:59 -08:00
|
|
|
include moo/moopython/pygtk/Makefile.incl
|
2005-12-23 06:26:23 -08:00
|
|
|
include moo/moopython/plugins/Makefile.incl
|
2005-11-05 04:34:09 -08:00
|
|
|
|
2006-04-06 01:32:16 -07:00
|
|
|
if MOO_BUILD_LIB
|
|
|
|
moo_libinclude_HEADERS = $(moo_libinclude_headers)
|
|
|
|
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)
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = moo/moo.pc
|
|
|
|
endif
|
|
|
|
|
|
|
|
if MOO_OS_MINGW
|
|
|
|
moo_sources += $(moo_win32_sources)
|
|
|
|
moo_extra_dist += $(moo_unix_sources)
|
|
|
|
endif
|
|
|
|
if MOO_OS_UNIX
|
|
|
|
moo_sources += $(moo_unix_sources)
|
|
|
|
moo_extra_dist += $(moo_win32_sources)
|
|
|
|
endif
|
2005-11-05 05:12:50 -08:00
|
|
|
|
2005-11-05 04:34:09 -08:00
|
|
|
###########################################################################
|
|
|
|
|
2006-01-27 12:48:10 -08:00
|
|
|
CLEANFILES += $(moo_cleanfiles)
|
2005-11-05 04:34:09 -08:00
|
|
|
BUILT_SOURCES = $(moo_built_sources)
|
2005-11-22 10:39:05 -08:00
|
|
|
|
2006-05-16 18:29:15 -07:00
|
|
|
libmoo_la_ldflags = -version-info $(LTVERSION) -no_undefined -export-symbols-regex "^(moo_|ms_|m_|egg_regex_).*"
|
2005-11-22 10:39:05 -08:00
|
|
|
libmoo_sources = $(moo_sources)
|
|
|
|
nodist_libmoo_sources = $(moo_nodist_sources)
|
|
|
|
|
2006-03-09 23:01:14 -08:00
|
|
|
EXTRA_DIST += $(moo_extra_dist)
|
|
|
|
|
2006-04-28 14:07:52 -07:00
|
|
|
desktopdir = $(datadir)/applications
|
|
|
|
desktop_DATA = medit.desktop
|
|
|
|
appicondir = $(datadir)/pixmaps
|
|
|
|
appicon_DATA = moo/mooutils/pixmaps/medit.png
|
2006-05-04 16:17:50 -07:00
|
|
|
iconthemedir = $(datadir)/icons/hicolor/48x48/apps
|
|
|
|
icontheme_DATA = moo/mooutils/pixmaps/medit.png
|
2006-04-28 14:07:52 -07:00
|
|
|
EXTRA_DIST += $(desktop_DATA)
|
2005-11-05 05:49:44 -08:00
|
|
|
|
2005-11-22 10:39:05 -08:00
|
|
|
##############################################################################
|
|
|
|
# tests
|
|
|
|
#
|
|
|
|
include tests/Makefile.incl
|
2006-05-12 14:38:11 -07:00
|
|
|
|
|
|
|
generated = \
|
|
|
|
tests/medit.rc \
|
|
|
|
wininstaller/medit.iss
|
|
|
|
|
|
|
|
all-am: $(generated)
|