1 include $(top_srcdir)/build/Makefile.am.common
7 AM_CPPFLAGS= -I$(top_srcdir)/src \
12 h_sources= cpml-arc.h \
20 private_h_sources= cpml-internal.h \
21 cpml-primitive-private.h
22 built_private_h_sources=
23 c_sources= cpml-arc.c \
32 EXTRA_DIST= cpml-introspection.h \
36 BUILT_SOURCES= $(built_h_sources) \
37 $(built_private_h_sources) \
39 CLEANFILES= $(built_h_sources) \
40 $(built_private_h_sources) \
43 pkgconfig_DATA= cpml-1.pc
45 cpml_includedir= $(includedir)/adg-1/cpml
46 cpml_include_DATA= $(h_sources) \
49 lib_LTLIBRARIES= libcpml-1.la
50 libcpml_1_la_SOURCES= $(h_sources) \
51 $(private_h_sources) \
53 nodist_libcpml_1_la_SOURCES= $(built_h_sources) \
54 $(built_private_h_sources) \
56 libcpml_1_la_CFLAGS= $(CPML_CFLAGS)
57 libcpml_1_la_LDFLAGS= -no-undefined \
58 -version-info @CPML_LT_VERSION@
59 libcpml_1_la_LIBADD= $(CPML_LIBS)
62 ## GObject introspection
64 -include $(INTROSPECTION_MAKEFILE)
66 INTROSPECTION_SCANNER_ARGS=
67 INTROSPECTION_COMPILER_ARGS=
71 Cpml-1.0.gir: libcpml-1.la
73 INTROSPECTION_GIRS+= Cpml-1.0.gir
74 Cpml_1_0_gir_LIBS= libcpml-1.la
75 Cpml_1_0_gir_INCLUDES= cairo-1.0
76 Cpml_1_0_gir_FILES= cpml-introspection.h \
79 Cpml_1_0_gir_SCANNERFLAGS= $(AM_CPPFLAGS) \
80 --c-include="cpml.h" \
83 dist_gir_DATA= $(INTROSPECTION_GIRS)
84 typelibdir= $(TYPELIBDIR)
85 typelib_DATA= $(INTROSPECTION_GIRS:.gir=.typelib)
86 CLEANFILES+= $(dist_gir_DATA) \
92 # Although actually GObject wrappers are always compiled,
93 # this feature can be easily made optional if needed.
95 h_sources+= cpml-gobject.h
96 c_sources+= cpml-gobject.c