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 $< > $@
6 AM_CFLAGS= -I$(top_srcdir) \
23 adg-dress-builtins.h \
53 built_h_sources= $(builddir)/adg-type-builtins.h
54 private_h_sources= adg-adim-private.h \
55 adg-alignment-private.h \
57 adg-canvas-private.h \
58 adg-color-style-private.h \
59 adg-container-private.h \
61 adg-dim-style-private.h \
64 adg-entity-private.h \
65 adg-fill-style-private.h \
66 adg-font-style-private.h \
70 adg-line-style-private.h \
72 adg-marker-private.h \
75 adg-projection-private.h \
77 adg-ruled-fill-private.h \
78 adg-stroke-private.h \
80 adg-table-style-private.h \
81 adg-title-block-private.h \
83 adg-toy-text-private.h
84 built_private_h_sources= $(builddir)/adg-marshal.h
85 c_sources= adg-adim.c \
94 adg-dress-builtins.c \
124 built_c_sources= $(builddir)/adg-type-builtins.c \
125 $(builddir)/adg-marshal.c
126 EXTRA_DIST= adg-type-builtins.c.mkenums \
127 adg-type-builtins.h.mkenums \
128 adg-marshal.genmarshal
130 AM_CFLAGS+= @GTK2_CFLAGS@
131 AM_LDFLAGS+= @GTK2_LIBS@
132 h_sources+= adg-widget.h
133 private_h_sources+= adg-widget-private.h
134 c_sources+= adg-widget.c
135 PATTERN+= /\/\* if GTK2 \*\//d;/\/\* endif GTK2 \*\//d;
139 AM_CFLAGS+= @GOBJECT2_CFLAGS@ \
141 AM_LDFLAGS+= @GOBJECT2_LIBS@ \
143 PATTERN+= /\/\* if GTK2 \*\//,/\/\* endif GTK2 \*\//d;
149 BUILT_SOURCES= $(built_h_sources) \
150 $(built_private_h_sources)
151 # built_c_sources are properly tracked
152 # by nodist_libadg_la_SOURCES
153 CLEANFILES= $(built_h_sources) \
154 $(built_private_h_sources) \
157 libadg_includedir= $(includedir)/adg
158 libadg_include_DATA= $(h_sources) \
161 lib_LTLIBRARIES= libadg.la
162 libadg_la_LDFLAGS= -release @PACKAGE_VERSION@
163 libadg_la_SOURCES= $(h_sources) \
164 $(private_h_sources) \
166 nodist_libadg_la_SOURCES= $(built_h_sources) \
167 $(built_private_h_sources) \
169 libadg_la_LIBADD= $(top_builddir)/cpml/libcpml.la
170 libadg_la_DEPENDENCIES= $(top_builddir)/cpml/libcpml.la
173 adg-type-builtins.c: adg-type-builtins.c.mkenums adg-enums.h
176 adg-type-builtins.h: adg-type-builtins.h.mkenums adg-enums.h
179 adg-marshal.c: adg-marshal.genmarshal
182 adg-marshal.h: adg-marshal.genmarshal