1 include $(top_srcdir)/build/Makefile.am.common
3 mkenums_to_c= $(MSG_GEN)$(GLIB_MKENUMS) --template $^ > $@
4 mkenums_to_h= $(mkenums_to_c)
5 genmarshal_to_c= $(MSG_GEN)$(GLIB_GENMARSHAL) --body --prefix=adg_marshal $< > $@
6 genmarshal_to_h= $(MSG_GEN)$(GLIB_GENMARSHAL) --header --prefix=adg_marshal $< > $@
8 AM_CFLAGS= @ADG_CFLAGS@ \
11 AM_LDFLAGS= @ADG_LIBS@
15 pkgconfig_file= adg.pc
26 adg-dress-builtins.h \
56 built_h_sources= $(builddir)/adg-type-builtins.h
57 private_h_sources= adg-adim-private.h \
58 adg-alignment-private.h \
60 adg-canvas-private.h \
61 adg-color-style-private.h \
62 adg-container-private.h \
64 adg-dim-style-private.h \
67 adg-entity-private.h \
68 adg-fill-style-private.h \
69 adg-font-style-private.h \
73 adg-line-style-private.h \
75 adg-marker-private.h \
78 adg-projection-private.h \
80 adg-ruled-fill-private.h \
81 adg-stroke-private.h \
83 adg-table-style-private.h \
84 adg-title-block-private.h \
86 adg-toy-text-private.h
87 built_private_h_sources= $(builddir)/adg-marshal.h
88 c_sources= adg-adim.c \
97 adg-dress-builtins.c \
127 built_c_sources= $(builddir)/adg-type-builtins.c \
128 $(builddir)/adg-marshal.c
129 template_sources= adg-type-builtins.c.mkenums \
130 adg-type-builtins.h.mkenums \
131 adg-marshal.genmarshal
133 h_sources+= adg-widget.h
134 private_h_sources+= adg-widget-private.h
135 c_sources+= adg-widget.c
140 pkgconfig_DATA= $(pkgconfig_file)
141 EXTRA_DIST= $(pkgconfig_file).in \
143 BUILT_SOURCES= $(built_h_sources) \
144 $(built_private_h_sources)
145 # built_c_sources are properly tracked
146 # by nodist_libadg_la_SOURCES
147 CLEANFILES= $(built_h_sources) \
148 $(built_private_h_sources) \
151 libadg_includedir= $(includedir)/adg
152 libadg_include_DATA= $(h_sources) \
155 lib_LTLIBRARIES= libadg.la
156 libadg_la_LDFLAGS= -release @PACKAGE_VERSION@
157 libadg_la_SOURCES= $(h_sources) \
158 $(private_h_sources) \
160 nodist_libadg_la_SOURCES= $(built_h_sources) \
161 $(built_private_h_sources) \
163 libadg_la_LIBADD= $(top_builddir)/cpml/libcpml.la
164 libadg_la_DEPENDENCIES= $(top_builddir)/cpml/libcpml.la
167 $(builddir)/adg-type-builtins.c: adg-type-builtins.c.mkenums adg-enums.h
170 $(builddir)/adg-type-builtins.h: adg-type-builtins.h.mkenums adg-enums.h
173 $(builddir)/adg-marshal.c: adg-marshal.genmarshal
176 $(builddir)/adg-marshal.h: adg-marshal.genmarshal