medit/Makefile.am

105 lines
2.8 KiB
Makefile
Raw Normal View History

2005-11-05 05:12:50 -08:00
EXTRA_DIST = makewin mingw-configure cygwin-configure
2005-06-22 11:20:32 -07:00
DIST_SUBDIRS = tests m4
SUBDIRS = .
2005-06-22 11:20:32 -07:00
if !MOO_OS_CYGWIN
2005-06-22 11:20:32 -07:00
SUBDIRS += tests
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = moo.pc
2005-10-30 13:16:22 -08:00
ACLOCAL_AMFLAGS = -I m4
DEFAULT_INCLUDES =
AM_CFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/$(MOO_SRC_PREFIX) \
-I$(top_builddir)/$(MOO_SRC_PREFIX) \
$(MOO_CFLAGS) \
$(PYTHON_INCLUDES) \
$(PYGTK_CFLAGS) \
$(MOO_DEBUG_CFLAGS) \
$(CFLAGS)
if !MOO_OS_CYGWIN
noinst_LTLIBRARIES = libmoo-1.0.la
endif
###########################################################################
EXTRA_PROGRAMS =
moo_prefix = moo
XML2H = $(srcdir)/moo/mooutils/xml2h.sh
2005-11-06 00:46:13 -08:00
PY2H = $(srcdir)/moo/mooutils/py2h.sh
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-05 05:12:50 -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)
###########################################################################
CLEANFILES = $(moo_cleanfiles)
if !MOO_OS_CYGWIN
2005-11-05 05:49:44 -08:00
libmoo_1_0_la_LDFLAGS = -version-info $(LTVERSION) -export-symbols-regex "^[^_].*" -no-undefined
libmoo_1_0_la_SOURCES = $(moo_sources)
BUILT_SOURCES = $(moo_built_sources)
nodist_libmoo_1_0_la_SOURCES = $(moo_nodist_sources)
if MOO_OS_MINGW
libmoo_1_0_la_SOURCES += $(moo_win32_sources)
endif
if MOO_OS_UNIX
libmoo_1_0_la_SOURCES += $(moo_unix_sources)
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
pyexec_LTLIBRARIES = moo.la
moo_la_SOURCES = $(libmoo_1_0_la_SOURCES)
nodist_moo_la_SOURCES = $(nodist_libmoo_1_0_la_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)
endif BUILD_PYMOO