1 include $(top_srcdir)/build/Makefile.am.common
7 h_sources= adg-adim.h \
16 adg-dress-builtins.h \
47 built_h_sources= adg-type-builtins.h
48 private_h_sources= adg-adim-private.h \
49 adg-alignment-private.h \
51 adg-canvas-private.h \
52 adg-color-style-private.h \
53 adg-container-private.h \
55 adg-dim-style-private.h \
58 adg-entity-private.h \
59 adg-fill-style-private.h \
60 adg-font-style-private.h \
64 adg-line-style-private.h \
66 adg-marker-private.h \
69 adg-projection-private.h \
71 adg-ruled-fill-private.h \
72 adg-stroke-private.h \
74 adg-table-style-private.h \
75 adg-title-block-private.h \
76 adg-toy-text-private.h \
78 built_private_h_sources= adg-marshal.h
79 c_sources= adg-adim.c \
88 adg-dress-builtins.c \
119 built_c_sources= adg-type-builtins.c \
121 template_sources= adg-type-builtins.c.mkenums \
122 adg-type-builtins.h.mkenums \
123 adg-marshal.genmarshal
127 EXTRA_DIST= $(template_sources)
128 BUILT_SOURCES= $(built_h_sources) \
129 $(built_private_h_sources)
130 # built_c_sources are properly tracked
131 # by nodist_libadg_1_la_SOURCES
132 CLEANFILES= $(built_h_sources) \
133 $(built_private_h_sources) \
136 adg_includedir= $(includedir)/adg-1/adg
137 adg_include_DATA= $(h_sources) \
140 lib_LTLIBRARIES= libadg-1.la
141 libadg_1_la_SOURCES= $(h_sources) \
142 $(private_h_sources) \
144 nodist_libadg_1_la_SOURCES= $(built_h_sources) \
145 $(built_private_h_sources) \
147 libadg_1_la_CFLAGS= $(CAIRO_CFLAGS) \
149 -I$(top_srcdir)/src \
150 -I$(top_builddir)/src
151 libadg_1_la_LDFLAGS= -no-undefined
152 libadg_1_la_LIBADD= $(GOBJECT2_LIBS) \
153 $(top_builddir)/src/cpml/libcpml-1.la
157 h_sources+= adg-pango-style.h \
159 private_h_sources+= adg-pango-style-private.h \
161 c_sources+= adg-pango-style.c \
163 libadg_1_la_CFLAGS+= $(PANGO_CFLAGS)
164 libadg_1_la_LIBADD+= $(PANGO_LIBS)
168 mkenums_command= $(MSG_GEN) ; \
169 $(GLIB_MKENUMS) --template
170 genmarshal_command= $(MSG_GEN) ; \
171 $(GLIB_GENMARSHAL) --nostdinc --internal --prefix=adg_marshal
173 adg-type-builtins.c: $(srcdir)/adg-type-builtins.c.mkenums $(srcdir)/adg-enums.h
174 $(mkenums_command) $(srcdir)/adg-type-builtins.c.mkenums $(srcdir)/adg-enums.h > $@
176 adg-type-builtins.h: $(srcdir)/adg-type-builtins.h.mkenums $(srcdir)/adg-enums.h
177 $(mkenums_command) $(srcdir)/adg-type-builtins.h.mkenums $(srcdir)/adg-enums.h > $@
179 adg-marshal.c: $(srcdir)/adg-marshal.genmarshal
180 echo '#include <glib-object.h>' > $@ ;
181 $(genmarshal_command) --body $(srcdir)/adg-marshal.genmarshal >> $@
183 adg-marshal.h: $(srcdir)/adg-marshal.genmarshal
184 $(genmarshal_command) --header $(srcdir)/adg-marshal.genmarshal > $@