Source

moo-poelzi / Makefile.am

Full commit
AUTOMAKE_OPTIONS = dist-bzip2
EXTRA_DIST = autogen.sh mingw-configure cygwin-configure

DIST_SUBDIRS = m4

ACLOCAL_AMFLAGS = -I m4 $(ACLOCAL_FLAGS)

DEFAULT_INCLUDES =
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	\
    $(MOO_CFLAGS)				\
    $(PYTHON_INCLUDES)				\
    $(PYGTK_CFLAGS)				\
    $(MOO_DEBUG_CFLAGS)				\
    $(CFLAGS)


###########################################################################

CLEANFILES =
EXTRA_PROGRAMS =
noinst_PROGRAMS =
moo_prefix = moo
XML2H = $(srcdir)/moo/mooutils/xml2h.sh
PY2H = $(srcdir)/moo/mooutils/py2h.sh
SUBDIRS =

# common moo Makefile
include moo/Makefile.incl
# mooutils
include moo/mooutils/Makefile.incl
include moo/mooutils/glade/Makefile.incl
include moo/mooutils/moofileview/Makefile.incl
include moo/mooutils/mooscript/Makefile.incl
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
include moo/mooedit/Makefile.incl
include moo/mooedit/glade/Makefile.incl
include moo/mooedit/syntax/Makefile.incl
include moo/mooedit/plugins/Makefile.incl
include moo/mooedit/plugins/activestrings/Makefile.incl
# mooterm
include moo/mooterm/Makefile.incl
include moo/mooterm/glade/Makefile.incl
# mooapp
include moo/mooapp/Makefile.incl
include moo/mooapp/glade/Makefile.incl
# moopython
include moo/moopython/Makefile.incl
include moo/moopython/codegen/Makefile.incl
include moo/moopython/pygtk/Makefile.incl
include moo/moopython/plugins/Makefile.incl

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

###########################################################################

CLEANFILES += $(moo_cleanfiles)
BUILT_SOURCES = $(moo_built_sources)

libmoo_ldflags = -version-info $(LTVERSION) -export-symbols-regex "^[^_].*" -no-undefined
libmoo_sources = $(moo_sources)
nodist_libmoo_sources = $(moo_nodist_sources)

EXTRA_DIST += $(moo_extra_dist)


##############################################################################
# tests
#
include tests/Makefile.incl