Bug 591413 – needs to link with libstdc++
[framework/uifw/harfbuzz.git] / src / Makefile.am
index ca9d294..ee9bd14 100644 (file)
@@ -1,56 +1,56 @@
-## Process this file with automake to produce Makefile.in
-
-INCLUDES =                                     \
-       -DG_LOG_DOMAIN=\"Pango\"                \
-       -DPANGO_ENABLE_ENGINE                   \
-       -DSYSCONFDIR=\"$(sysconfdir)\"          \
-       -DLIBDIR=\"$(libdir)\"                  \
-       -DG_DISABLE_DEPRECATED                  \
-       $(PANGO_DEBUG_FLAGS)                    \
-       $(GLIB_CFLAGS)                          \
-       $(FREETYPE_CFLAGS)                      \
-       $(X_CFLAGS)                             \
-       -I$(top_srcdir)
-
-noinst_LTLIBRARIES = libpango-ot.la
-
-libpango_ot_la_SOURCES =       \
-       ftglue.h                \
-       ftglue.c                \
-       ftxopen.c               \
-       ftxopen.h               \
-       ftxopenf.h              \
-       ftxgdef.c               \
-       ftxgdef.h               \
-       ftxgpos.c               \
-       ftxgpos.h               \
-       ftxgsub.c               \
-       ftxgsub.h               \
-       otlbuffer.c             \
-       otlbuffer.h             \
-       pango-ot-buffer.c       \
-       pango-ot-info.c         \
-       pango-ot-private.h      \
-       pango-ot-ruleset.c
-
-libpango_ot_la_LIBADD = \
-       $(x_ldflags)    \
-       $(x_libs)       \
-       $(GLIB_LIBS)    \
-       -lm
-
-if BUILD_OT_TESTS
-noinst_PROGRAMS = ottest
-endif
-
-ottest_SOURCES =       \
-       ottest.c        \
-       disasm.c        \
-       disasm.h
-
-ottest_LDADD =                 \
-       libpango-ot.la  \
-       $(FREETYPE_LIBS)
-
-EXTRA_DIST =           \
-       README
+# Process this file with automake to produce Makefile.in
+
+NULL =
+
+# The following warning options are useful for debugging: -Wpadded -Wcast-align
+#AM_CXXFLAGS =
+
+noinst_LTLIBRARIES = libharfbuzz.la
+
+HBSOURCES =  \
+       hb-blob.c \
+       hb-buffer.c \
+       hb-buffer-private.h \
+       hb-font.cc \
+       hb-font-private.h \
+       hb-glib.h \
+       hb-glib.c \
+       hb-private.h \
+       hb-unicode.c \
+       hb-unicode.h \
+       hb-unicode-private.h \
+       hb-open-file-private.hh \
+       hb-open-type-private.hh \
+       hb-ot-layout.cc \
+       hb-ot-layout-common-private.hh \
+       hb-ot-layout-gdef-private.hh \
+       hb-ot-layout-gpos-private.hh \
+       hb-ot-layout-gsubgpos-private.hh \
+       hb-ot-layout-gsub-private.hh \
+       hb-ot-layout-private.h \
+       hb-object-private.h \
+       $(NULL)
+
+HBHEADERS = \
+       hb.h \
+       hb-blob.h \
+       hb-buffer.h \
+       hb-common.h \
+       hb-font.h \
+       hb-ot.h \
+       hb-ot-layout.h \
+       $(NULL)
+
+libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS)
+libharfbuzz_la_CPPFLAGS = -DHAVE_GLIB $(GLIB_CFLAGS)
+libharfbuzz_la_LIBADD = $(GLIB_LIBS)
+
+noinst_PROGRAMS = main
+
+main_SOURCES = main.cc
+main_CPPFLAGS = -DHAVE_GLIB $(GLIB_CFLAGS)
+main_LDADD = libharfbuzz.la $(GLIB_LIBS)
+
+EXTRA_DIST = README COPYING
+
+-include $(top_srcdir)/git.mk