1 MSG_GEN= echo ' GEN '$@;
2 mkenums_to_c= $(MSG_GEN)$(GLIB_MKENUMS) --template $^ > $@
3 mkenums_to_h= $(mkenums_to_c)
4 genmarshal_to_c= $(MSG_GEN)$(GLIB_GENMARSHAL) --body --prefix=adg_marshal $< > $@
5 genmarshal_to_h= $(MSG_GEN)$(GLIB_GENMARSHAL) --header --prefix=adg_marshal $< > $@
7 AM_CFLAGS= @ADG_CFLAGS@ \
10 AM_LDFLAGS= @ADG_LIBS@
24 adg-dress-builtins.h \
54 built_h_sources= $(builddir)/adg-type-builtins.h
55 private_h_sources= adg-adim-private.h \
56 adg-alignment-private.h \
58 adg-canvas-private.h \
59 adg-color-style-private.h \
60 adg-container-private.h \
62 adg-dim-style-private.h \
65 adg-entity-private.h \
66 adg-fill-style-private.h \
67 adg-font-style-private.h \
71 adg-line-style-private.h \
73 adg-marker-private.h \
76 adg-projection-private.h \
78 adg-ruled-fill-private.h \
79 adg-stroke-private.h \
81 adg-table-style-private.h \
82 adg-title-block-private.h \
84 adg-toy-text-private.h
85 built_private_h_sources= $(builddir)/adg-marshal.h
86 c_sources= adg-adim.c \
95 adg-dress-builtins.c \
125 built_c_sources= $(builddir)/adg-type-builtins.c \
126 $(builddir)/adg-marshal.c
127 EXTRA_DIST= adg-type-builtins.c.mkenums \
128 adg-type-builtins.h.mkenums \
129 adg-marshal.genmarshal
131 h_sources+= adg-widget.h
132 private_h_sources+= adg-widget-private.h
133 c_sources+= adg-widget.c
138 BUILT_SOURCES= $(built_h_sources) \
139 $(built_private_h_sources)
140 # built_c_sources are properly tracked
141 # by nodist_libadg_la_SOURCES
142 CLEANFILES= $(built_h_sources) \
143 $(built_private_h_sources) \
146 libadg_includedir= $(includedir)/adg
147 libadg_include_DATA= $(h_sources) \
150 lib_LTLIBRARIES= libadg.la
151 libadg_la_LDFLAGS= -release @PACKAGE_VERSION@
152 libadg_la_SOURCES= $(h_sources) \
153 $(private_h_sources) \
155 nodist_libadg_la_SOURCES= $(built_h_sources) \
156 $(built_private_h_sources) \
158 libadg_la_LIBADD= $(top_builddir)/cpml/libcpml.la
159 libadg_la_DEPENDENCIES= $(top_builddir)/cpml/libcpml.la
162 adg-type-builtins.c: adg-type-builtins.c.mkenums adg-enums.h
165 adg-type-builtins.h: adg-type-builtins.h.mkenums adg-enums.h
168 adg-marshal.c: adg-marshal.genmarshal
171 adg-marshal.h: adg-marshal.genmarshal