1 include $(top_srcdir)/build/Makefile.am.common
9 AM_CFLAGS= $(CPML_CFLAGS)
10 AM_CPPFLAGS= -I$(top_srcdir)/src \
15 h_sources= cpml-arc.h \
23 private_h_sources= cpml-internal.h \
24 cpml-primitive-private.h
25 built_private_h_sources=
26 c_sources= cpml-arc.c \
35 EXTRA_DIST= cpml-introspection.h \
39 BUILT_SOURCES= $(built_h_sources) \
40 $(built_private_h_sources) \
42 CLEANFILES= $(built_h_sources) \
43 $(built_private_h_sources) \
46 pkgconfig_DATA= cpml-1.pc
48 cpml_includedir= $(includedir)/adg-1/cpml
49 cpml_include_DATA= $(h_sources) \
52 lib_LTLIBRARIES= libcpml-1.la
53 libcpml_1_la_SOURCES= $(h_sources) \
54 $(private_h_sources) \
56 nodist_libcpml_1_la_SOURCES= $(built_h_sources) \
57 $(built_private_h_sources) \
59 libcpml_1_la_LDFLAGS= -no-undefined \
60 -version-info $(CPML_LT_VERSION)
61 libcpml_1_la_LIBADD= $(CPML_LIBS)
64 ## GObject introspection
66 -include $(INTROSPECTION_MAKEFILE)
68 INTROSPECTION_SCANNER_ARGS=
69 INTROSPECTION_COMPILER_ARGS=
73 Cpml-1.0.gir: libcpml-1.la
75 INTROSPECTION_GIRS+= Cpml-1.0.gir
76 Cpml_1_0_gir_LIBS= libcpml-1.la
77 Cpml_1_0_gir_INCLUDES= cairo-1.0
78 Cpml_1_0_gir_FILES= cpml-introspection.h \
81 Cpml_1_0_gir_SCANNERFLAGS= $(AM_CPPFLAGS) \
82 --c-include="cpml.h" \
85 dist_gir_DATA= $(INTROSPECTION_GIRS)
86 typelibdir= $(TYPELIBDIR)
87 typelib_DATA= $(INTROSPECTION_GIRS:.gir=.typelib)
88 CLEANFILES+= $(dist_gir_DATA) \
94 # Although actually GObject wrappers are always compiled,
95 # this feature can be easily made optional if needed.
97 h_sources+= cpml-gobject.h
98 c_sources+= cpml-gobject.c
102 $(GCOV) $(srcdir)/*.c -s $(srcdir) -o .libs
104 # Possibly remove files created by 'make coverage'