Source

moo-poelzi / Makefile.am

Full commit
AUTOMAKE_OPTIONS = dist-bzip2
EXTRA_DIST = mingw-configure cygwin-configure

DIST_SUBDIRS = m4

# pkgconfigdir = $(libdir)/pkgconfig
# pkgconfig_DATA = moo.pc

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_builddir)/$(MOO_SRC_PREFIX)/mooutils/pcre \
    $(MOO_CFLAGS)                           \
    $(PYTHON_INCLUDES)                      \
    $(PYGTK_CFLAGS)                         \
    $(MOO_DEBUG_CFLAGS)                     \
    $(CFLAGS)

if !MOO_OS_CYGWIN
if MOO_BUILD_LIB
# noinst_LTLIBRARIES = libmoo-1.0.la
endif
endif

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

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

# 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)
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)

if MOO_OS_MINGW
libmoo_sources += $(moo_win32_sources)
endif
if MOO_OS_UNIX
libmoo_sources += $(moo_unix_sources)
endif


EXTRA_DIST += $(moo_extra_dist)

if MOO_OS_MINGW
EXTRA_DIST += $(moo_unix_sources)
else
EXTRA_DIST += $(moo_win32_sources)
endif


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