[AdgToyText] Refactored using maps
[adg.git] / adg / Makefile.am
blobafd4b4a414537eb1384682ed4d8fc998bde9a2e3
1 AM_CFLAGS=                      @GTK2_CFLAGS@ \
2                                 -I$(top_srcdir)
3 AM_LDFLAGS=                     @GTK2_LIBS@
4 GLIB_MKENUMS=                   `which glib-mkenums` \
5                                         --template $(srcdir)/$@.template \
6                                         $(srcdir)/adg-enums.h
8 # file groups
9 h_sources=                      adg.h \
10                                 adg-adim.h \
11                                 adg-arrow-style.h \
12                                 adg-canvas.h \
13                                 adg-container.h \
14                                 adg-context.h \
15                                 adg-dim.h \
16                                 adg-dim-style.h \
17                                 adg-entity.h \
18                                 adg-font-style.h \
19                                 adg-ldim.h \
20                                 adg-line-style.h \
21                                 adg-matrix.h \
22                                 adg-model.h \
23                                 adg-pair.h \
24                                 adg-path.h \
25                                 adg-pattern.h \
26                                 adg-primitive.h \
27                                 adg-segment.h \
28                                 adg-stroke.h \
29                                 adg-style.h \
30                                 adg-title-block.h \
31                                 adg-toy-text.h \
32                                 adg-util.h \
33                                 adg-widget.h
34 built_h_sources=                $(builddir)/adg-type-builtins.h
35 private_h_sources=              adg-adim-private.h \
36                                 adg-arrow-style-private.h \
37                                 adg-canvas-private.h \
38                                 adg-container-private.h \
39                                 adg-context-private.h \
40                                 adg-dim-private.h \
41                                 adg-dim-style-private.h \
42                                 adg-entity-private.h \
43                                 adg-enums.h \
44                                 adg-font-style-private.h \
45                                 adg-intl.h \
46                                 adg-ldim-private.h \
47                                 adg-line-style-private.h \
48                                 adg-model-private.h \
49                                 adg-path-private.h \
50                                 adg-stroke-private.h \
51                                 adg-style-private.h \
52                                 adg-title-block-private.h \
53                                 adg-toy-text-private.h \
54                                 adg-widget-private.h
55 built_private_h_sources= 
56 c_sources=                      adg-adim.c \
57                                 adg-arrow-style.c \
58                                 adg-canvas.c \
59                                 adg-container.c \
60                                 adg-context.c \
61                                 adg-dim.c \
62                                 adg-dim-style.c \
63                                 adg-entity.c \
64                                 adg-enums.c \
65                                 adg-font-style.c \
66                                 adg-ldim.c \
67                                 adg-line-style.c \
68                                 adg-matrix.c \
69                                 adg-model.c \
70                                 adg-pair.c \
71                                 adg-path.c \
72                                 adg-pattern.c \
73                                 adg-primitive.c \
74                                 adg-segment.c \
75                                 adg-stroke.c \
76                                 adg-style.c \
77                                 adg-title-block.c \
78                                 adg-toy-text.c \
79                                 adg-util.c \
80                                 adg-widget.c
81 built_c_sources=                $(builddir)/adg-type-builtins.c
82 EXTRA_DIST=                     adg-type-builtins.c.template \
83                                 adg-type-builtins.h.template
85 # targets
86 BUILT_SOURCES=                  $(built_h_sources)
87 DISTCLEANFILES=                 $(built_h_sources) \
88                                 $(built_private_h_sources) \
89                                 $(built_c_sources)
91 libadg_includedir=              $(includedir)/adg
92 libadg_include_DATA=            $(h_sources) \
93                                 $(built_h_sources)
95 lib_LTLIBRARIES=                libadg.la
96 libadg_la_LDFLAGS=              -release @PACKAGE_VERSION@
97 libadg_la_SOURCES=              $(h_sources) \
98                                 $(private_h_sources) \
99                                 $(c_sources)
100 nodist_libadg_la_SOURCES=       $(built_h_sources) \
101                                 $(built_private_h_sources) \
102                                 $(built_c_sources)
103 libadg_la_LIBADD=               $(top_builddir)/cpml/libcpml.la
104 libadg_la_DEPENDENCIES=         $(top_builddir)/cpml/libcpml.la
107 adg-type-builtins.c: adg-type-builtins.c.template adg-enums.h
108         $(GLIB_MKENUMS) > $@
110 adg-type-builtins.h: adg-type-builtins.h.template adg-enums.h
111         $(GLIB_MKENUMS) > $@