medit/moo/Makefile.am

77 lines
1.7 KiB
Makefile
Raw Normal View History

moo_include_headers = \
moo.h \
moo-version.h
2006-08-01 18:31:51 -07:00
# if MOO_INSTALL_LIB
# moo_include_HEADERS = $(moo_include_headers)
# pkgconfigdir = $(libdir)/pkgconfig
# pkgconfig_DATA = moo.pc
# endif
EXTRA_DIST = \
TODO
subdirs =
libs =
if MOO_BUILD_UTILS
subdirs += mooutils
libs += mooutils/libmooutils.la
endif
if GTK_2_6
subdirs += moofileview
libs += moofileview/libmoofileview.la
endif
if MOO_BUILD_TERM
subdirs += mooterm
libs += mooterm/libmooterm.la
endif
if MOO_BUILD_EDIT
subdirs += mooscript mooedit
libs += mooscript/libmooscript.la mooedit/libmooedit.la
endif
if MOO_BUILD_APP
subdirs += mooapp
libs += mooapp/libmooapp.la
endif
if MOO_USE_PYGTK
subdirs += moopython
libs += moopython/libmoopython.la
endif
SUBDIRS = $(subdirs) .
DIST_SUBDIRS = mooutils mooterm mooedit mooapp moopython mooscript moofileview
if MOO_INSTALL_LIB
lib_LTLIBRARIES = libmoo.la
else
2006-08-01 03:01:38 -07:00
noinst_LTLIBRARIES = libmoo.la
endif
2006-08-01 03:01:38 -07:00
#lib_LTLIBRARIES = libmoo.la
libmoo_la_LIBADD = $(libs) $(MOO_LIBS) $(PYTHON_LDFLAGS)
# libmoo_la_LDFLAGS = -no-undefined -export-symbols-regex "^(moo_|ms_|m_|egg_regex_).*"
libmoo_la_LDFLAGS = -no-undefined -export-symbols-regex ".*"
libmoo_la_SOURCES = $(moo_include_headers)
if MOO_INSTALL_LIB
2006-08-01 12:49:57 -07:00
if MOO_USE_PYGTK
pyexec_LTLIBRARIES = moo.la
moo_la_SOURCES = \
moopython/moopython-utils.c \
moopython/moopython-utils.h \
moopython/mooplugin-python.c \
moopython/mooplugin-python.h
moo_la_LDFLAGS = -module -no-undefined -export-symbols-regex "initmoo"
moo_la_LIBADD = moopython/pygtk/libmoopygtk.la libmoo.la
moo_la_CFLAGS = \
-I.. \
-I$(top_builddir) \
$(MOO_CFLAGS) \
$(MOO_DEBUG_CFLAGS) \
$(PYTHON_INCLUDES) \
$(PYGTK_CFLAGS) \
-DMOO_PYTHON_MODULE
endif
2006-08-01 12:49:57 -07:00
endif