[tests] Added comments in test-model.c
[adg.git] / adg / Makefile.am
blob9152d552e4c6ec2690e75c5f30c52bac682450a9
1 include $(top_srcdir)/build/Makefile.am.common
3 mkenums_to_c=                   $(MSG_GEN)$(GLIB_MKENUMS) --template $^ > $@
4 mkenums_to_h=                   $(mkenums_to_c)
5 genmarshal_to_c=                $(MSG_GEN)$(GLIB_GENMARSHAL) --body --prefix=adg_marshal $< > $@
6 genmarshal_to_h=                $(MSG_GEN)$(GLIB_GENMARSHAL) --header --prefix=adg_marshal $< > $@
8 AM_CFLAGS=                      @ADG_CFLAGS@ \
9                                 -I$(top_srcdir) \
10                                 -I$(top_builddir)
11 AM_LDFLAGS=                     @ADG_LIBS@
14 # file groups
15 pkgconfig_file=                 adg.pc
16 h_sources=                      adg.h \
17                                 adg-adim.h \
18                                 adg-alignment.h \
19                                 adg-arrow.h \
20                                 adg-canvas.h \
21                                 adg-color-style.h \
22                                 adg-container.h \
23                                 adg-dim.h \
24                                 adg-dim-style.h \
25                                 adg-dress.h \
26                                 adg-dress-builtins.h \
27                                 adg-edges.h \
28                                 adg-entity.h \
29                                 adg-enums.h \
30                                 adg-fill-style.h \
31                                 adg-font-style.h \
32                                 adg-hatch.h \
33                                 adg-ldim.h \
34                                 adg-line-style.h \
35                                 adg-logo.h \
36                                 adg-marker.h \
37                                 adg-matrix.h \
38                                 adg-model.h \
39                                 adg-pair.h \
40                                 adg-path.h \
41                                 adg-pattern.h \
42                                 adg-point.h \
43                                 adg-primitive.h \
44                                 adg-projection.h \
45                                 adg-rdim.h \
46                                 adg-ruled-fill.h \
47                                 adg-segment.h \
48                                 adg-stroke.h \
49                                 adg-style.h \
50                                 adg-table.h \
51                                 adg-table-style.h \
52                                 adg-title-block.h \
53                                 adg-trail.h \
54                                 adg-toy-text.h \
55                                 adg-util.h
56 built_h_sources=                $(builddir)/adg-type-builtins.h
57 private_h_sources=              adg-adim-private.h \
58                                 adg-alignment-private.h \
59                                 adg-arrow-private.h \
60                                 adg-canvas-private.h \
61                                 adg-color-style-private.h \
62                                 adg-container-private.h \
63                                 adg-dim-private.h \
64                                 adg-dim-style-private.h \
65                                 adg-dress-private.h \
66                                 adg-edges-private.h \
67                                 adg-entity-private.h \
68                                 adg-fill-style-private.h \
69                                 adg-font-style-private.h \
70                                 adg-hatch-private.h \
71                                 adg-internal.h \
72                                 adg-ldim-private.h \
73                                 adg-line-style-private.h \
74                                 adg-logo-private.h \
75                                 adg-marker-private.h \
76                                 adg-model-private.h \
77                                 adg-path-private.h \
78                                 adg-projection-private.h \
79                                 adg-rdim-private.h \
80                                 adg-ruled-fill-private.h \
81                                 adg-stroke-private.h \
82                                 adg-table-private.h \
83                                 adg-table-style-private.h \
84                                 adg-title-block-private.h \
85                                 adg-trail-private.h \
86                                 adg-toy-text-private.h
87 built_private_h_sources=        $(builddir)/adg-marshal.h
88 c_sources=                      adg-adim.c \
89                                 adg-alignment.c \
90                                 adg-arrow.c \
91                                 adg-canvas.c \
92                                 adg-color-style.c \
93                                 adg-container.c \
94                                 adg-dim.c \
95                                 adg-dim-style.c \
96                                 adg-dress.c \
97                                 adg-dress-builtins.c \
98                                 adg-edges.c \
99                                 adg-entity.c \
100                                 adg-enums.c \
101                                 adg-fill-style.c \
102                                 adg-font-style.c \
103                                 adg-hatch.c \
104                                 adg-ldim.c \
105                                 adg-line-style.c \
106                                 adg-logo.c \
107                                 adg-marker.c \
108                                 adg-matrix.c \
109                                 adg-model.c \
110                                 adg-pair.c \
111                                 adg-path.c \
112                                 adg-pattern.c \
113                                 adg-point.c \
114                                 adg-primitive.c \
115                                 adg-projection.c \
116                                 adg-rdim.c \
117                                 adg-ruled-fill.c \
118                                 adg-segment.c \
119                                 adg-stroke.c \
120                                 adg-style.c \
121                                 adg-table.c \
122                                 adg-table-style.c \
123                                 adg-title-block.c \
124                                 adg-trail.c \
125                                 adg-toy-text.c \
126                                 adg-util.c
127 built_c_sources=                $(builddir)/adg-type-builtins.c \
128                                 $(builddir)/adg-marshal.c
129 template_sources=               adg-type-builtins.c.mkenums \
130                                 adg-type-builtins.h.mkenums \
131                                 adg-marshal.genmarshal
132 if HAVE_GTK2
133 h_sources+=                     adg-widget.h
134 private_h_sources+=             adg-widget-private.h
135 c_sources+=                     adg-widget.c
136 endif
139 # targets
140 pkgconfig_DATA=                 $(pkgconfig_file)
141 EXTRA_DIST=                     $(pkgconfig_file).in \
142                                 $(template_sources)
143 BUILT_SOURCES=                  $(built_h_sources) \
144                                 $(built_private_h_sources)
145 #                               built_c_sources are properly tracked
146 #                               by nodist_libadg_la_SOURCES
147 CLEANFILES=                     $(built_h_sources) \
148                                 $(built_private_h_sources) \
149                                 $(built_c_sources)
151 libadg_includedir=              $(includedir)/adg
152 libadg_include_DATA=            $(h_sources) \
153                                 $(built_h_sources)
155 lib_LTLIBRARIES=                libadg.la
156 libadg_la_LDFLAGS=              -release @PACKAGE_VERSION@
157 libadg_la_SOURCES=              $(h_sources) \
158                                 $(private_h_sources) \
159                                 $(c_sources)
160 nodist_libadg_la_SOURCES=       $(built_h_sources) \
161                                 $(built_private_h_sources) \
162                                 $(built_c_sources)
163 libadg_la_LIBADD=               $(top_builddir)/cpml/libcpml.la
164 libadg_la_DEPENDENCIES=         $(top_builddir)/cpml/libcpml.la
167 $(builddir)/adg-type-builtins.c: adg-type-builtins.c.mkenums adg-enums.h
168         $(mkenums_to_c)
170 $(builddir)/adg-type-builtins.h: adg-type-builtins.h.mkenums adg-enums.h
171         $(mkenums_to_h)
173 $(builddir)/adg-marshal.c: adg-marshal.genmarshal
174         $(genmarshal_to_c)
176 $(builddir)/adg-marshal.h: adg-marshal.genmarshal
177         $(genmarshal_to_h)