medit/moo/mooutils/newgtk/Makefile.am

42 lines
867 B
Makefile
Raw Normal View History

EXTRA_DIST = \
glib-2.8/glib/gmappedfile-real.h \
glib-2.8/glib/gmappedfile.h \
glib-2.8/glib/gmappedfile.c \
glib-2.8/glib/galias.h \
glib-2.12/glib/gbase64-real.h \
glib-2.12/glib/gbase64.h \
glib-2.12/glib/gbase64.c \
glib-2.14/glib/gregex-real.h \
glib-2.14/glib/gregex.h \
glib-2.14/glib/gregex.c
noinst_LTLIBRARIES = libnewgtk.la
libnewgtk_la_SOURCES =
if !GLIB_2_14
libnewgtk_la_SOURCES += glib-2.14/glib/gregex.c
if MOO_BUILD_PCRE
pcre_cflags = -I$(srcdir)/..
else
pcre_cflags = -DUSE_SYSTEM_PCRE
endif
endif
if !GLIB_2_12
libnewgtk_la_SOURCES += glib-2.12/glib/gbase64.c
endif
if !GLIB_2_8
libnewgtk_la_SOURCES += glib-2.8/glib/gmappedfile.c
endif
AM_CFLAGS = \
-I$(top_builddir) \
$(pcre_cflags) \
$(MOO_CFLAGS) \
$(MOO_DEBUG_CFLAGS) \
$(MOO_W_NO_UNUSED) \
$(MOO_W_NO_WRITE_STRINGS) \
$(MOO_W_NO_SIGN_COMPARE)