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 h_sources= adg-adim.h \
25 adg-dress-builtins.h \
55 built_h_sources= adg-type-builtins.h
56 private_h_sources= adg-adim-private.h \
57 adg-alignment-private.h \
59 adg-canvas-private.h \
60 adg-color-style-private.h \
61 adg-container-private.h \
63 adg-dim-style-private.h \
66 adg-entity-private.h \
67 adg-fill-style-private.h \
68 adg-font-style-private.h \
72 adg-line-style-private.h \
74 adg-marker-private.h \
77 adg-projection-private.h \
79 adg-ruled-fill-private.h \
80 adg-stroke-private.h \
82 adg-table-style-private.h \
83 adg-title-block-private.h \
85 adg-toy-text-private.h
86 built_private_h_sources= adg-marshal.h
87 c_sources= adg-adim.c \
96 adg-dress-builtins.c \
126 built_c_sources= adg-type-builtins.c \
128 template_sources= adg-type-builtins.c.mkenums \
129 adg-type-builtins.h.mkenums \
130 adg-marshal.genmarshal
134 EXTRA_DIST= $(template_sources)
135 BUILT_SOURCES= $(built_h_sources) \
136 $(built_private_h_sources)
137 # built_c_sources are properly tracked
138 # by nodist_libadg_1_la_SOURCES
139 CLEANFILES= $(built_h_sources) \
140 $(built_private_h_sources) \
143 adg_includedir= $(includedir)/adg-1/adg
144 adg_include_DATA= $(h_sources) \
147 lib_LTLIBRARIES= libadg-1.la
149 libadg_1_la_SOURCES= $(h_sources) \
150 $(private_h_sources) \
152 nodist_libadg_1_la_SOURCES= $(built_h_sources) \
153 $(built_private_h_sources) \
155 libadg_1_la_LIBADD= $(top_builddir)/src/cpml/libcpml-1.la
156 libadg_1_la_DEPENDENCIES= $(top_builddir)/src/cpml/libcpml-1.la
159 adg-type-builtins.c: $(srcdir)/adg-type-builtins.c.mkenums $(srcdir)/adg-enums.h
160 $(mkenums_command) $(srcdir)/adg-type-builtins.c.mkenums $(srcdir)/adg-enums.h > $@
162 adg-type-builtins.h: $(srcdir)/adg-type-builtins.h.mkenums $(srcdir)/adg-enums.h
163 $(mkenums_command) $(srcdir)/adg-type-builtins.h.mkenums $(srcdir)/adg-enums.h > $@
165 adg-marshal.c: $(srcdir)/adg-marshal.genmarshal
166 $(genmarshal_command) --body $(srcdir)/adg-marshal.genmarshal > $@
168 adg-marshal.h: $(srcdir)/adg-marshal.genmarshal
169 $(genmarshal_command) --header $(srcdir)/adg-marshal.genmarshal > $@