1 include $(top_srcdir)/build/Makefile.am.common
5 mkenums_command= $(MSG_GEN) ; \
6 $(GLIB_MKENUMS) --template
7 genmarshal_command= $(MSG_GEN) ; \
8 $(GLIB_GENMARSHAL) --prefix=adg_marshal
9 AM_CFLAGS= @ADG_CFLAGS@ \
12 AM_LDFLAGS= @ADG_LIBS@
16 pkgconfig_file= adg.pc
27 adg-dress-builtins.h \
57 built_h_sources= adg-type-builtins.h
58 private_h_sources= adg-adim-private.h \
59 adg-alignment-private.h \
61 adg-canvas-private.h \
62 adg-color-style-private.h \
63 adg-container-private.h \
65 adg-dim-style-private.h \
68 adg-entity-private.h \
69 adg-fill-style-private.h \
70 adg-font-style-private.h \
74 adg-line-style-private.h \
76 adg-marker-private.h \
79 adg-projection-private.h \
81 adg-ruled-fill-private.h \
82 adg-stroke-private.h \
84 adg-table-style-private.h \
85 adg-title-block-private.h \
87 adg-toy-text-private.h
88 built_private_h_sources= adg-marshal.h
89 c_sources= adg-adim.c \
98 adg-dress-builtins.c \
128 built_c_sources= adg-type-builtins.c \
130 template_sources= adg-type-builtins.c.mkenums \
131 adg-type-builtins.h.mkenums \
132 adg-marshal.genmarshal
134 h_sources+= adg-widget.h
135 private_h_sources+= adg-widget-private.h
136 c_sources+= adg-widget.c
141 pkgconfig_DATA= $(pkgconfig_file)
142 EXTRA_DIST= $(pkgconfig_file).in \
144 BUILT_SOURCES= $(built_h_sources) \
145 $(built_private_h_sources)
146 # built_c_sources are properly tracked
147 # by nodist_libadg_la_SOURCES
148 CLEANFILES= $(built_h_sources) \
149 $(built_private_h_sources) \
152 libadg_includedir= $(includedir)/adg
153 libadg_include_DATA= $(h_sources) \
156 lib_LTLIBRARIES= libadg.la
157 libadg_la_LDFLAGS= -release @PACKAGE_VERSION@
158 libadg_la_SOURCES= $(h_sources) \
159 $(private_h_sources) \
161 nodist_libadg_la_SOURCES= $(built_h_sources) \
162 $(built_private_h_sources) \
164 libadg_la_LIBADD= $(top_builddir)/src/cpml/libcpml.la
165 libadg_la_DEPENDENCIES= $(top_builddir)/src/cpml/libcpml.la
168 adg-type-builtins.c: $(srcdir)/adg-type-builtins.c.mkenums $(srcdir)/adg-enums.h
169 $(mkenums_command) $(srcdir)/adg-type-builtins.c.mkenums $(srcdir)/adg-enums.h > $@
171 adg-type-builtins.h: $(srcdir)/adg-type-builtins.h.mkenums $(srcdir)/adg-enums.h
172 $(mkenums_command) $(srcdir)/adg-type-builtins.h.mkenums $(srcdir)/adg-enums.h > $@
174 adg-marshal.c: $(srcdir)/adg-marshal.genmarshal
175 $(genmarshal_command) --body $(srcdir)/adg-marshal.genmarshal > $@
177 adg-marshal.h: $(srcdir)/adg-marshal.genmarshal
178 $(genmarshal_command) --header $(srcdir)/adg-marshal.genmarshal > $@