[CpmlLine] Added max arg to cpml_line_intersection()
[adg.git] / adg / Makefile.am
blobcd1e19239e73a616bdbec5c72ca36597956ee506
1 ## Process this file with automake to produce Makefile.in
3 AM_CFLAGS=                      @GTK2_CFLAGS@ \
4                                 -I$(top_srcdir)
5 AM_LDFLAGS=                     @GTK2_LIBS@
7 # file groups
8 adg_h_sources=                  adg.h \
9                                 adg-adim.h \
10                                 adg-arrow-style.h \
11                                 adg-canvas.h \
12                                 adg-container.h \
13                                 adg-context.h \
14                                 adg-dim.h \
15                                 adg-dim-style.h \
16                                 adg-entity.h \
17                                 adg-font-style.h \
18                                 adg-ldim.h \
19                                 adg-line-style.h \
20                                 adg-matrix.h \
21                                 adg-model.h \
22                                 adg-pair.h \
23                                 adg-path.h \
24                                 adg-pattern.h \
25                                 adg-point.h \
26                                 adg-rotable.h \
27                                 adg-stroke.h \
28                                 adg-style.h \
29                                 adg-title-block.h \
30                                 adg-toy-text.h \
31                                 adg-translatable.h \
32                                 adg-util.h \
33                                 adg-widget.h
34 adg_built_h_sources=            adg-type-builtins.h
35 adg_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 adg_built_private_h_sources= 
56 adg_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-point.c \
74                                 adg-rotable.c \
75                                 adg-stroke.c \
76                                 adg-style.c \
77                                 adg-title-block.c \
78                                 adg-toy-text.c \
79                                 adg-translatable.c \
80                                 adg-util.c \
81                                 adg-widget.c
82 adg_built_c_sources=            adg-type-builtins.c
84 # targets
85 BUILT_SOURCES=                  $(adg_built_h_sources) \
86                                 $(adg_built_private_h_sources) \
87                                 $(adg_built_c_sources)
89 libadg_includedir=              $(includedir)/adg
90 libadg_include_DATA=            $(adg_h_sources) \
91                                 $(adg_built_h_sources)
93 lib_LTLIBRARIES=                libadg.la
94 libadg_la_LDFLAGS=              -release @PACKAGE_VERSION@
95 libadg_la_SOURCES=              $(adg_h_sources) \
96                                 $(adg_built_h_sources) \
97                                 $(adg_private_h_sources) \
98                                 $(adg_built_private_h_sources) \
99                                 $(adg_c_sources) \
100                                 $(adg_built_c_sources)
101 libadg_la_LIBADD=               $(top_builddir)/cpml/libcpml.la
102 libadg_la_DEPENDENCIES=         $(top_builddir)/cpml/libcpml.la
105 adg-type-builtins.h: adg-enums.h Makefile
106         glib-mkenums \
107         --fhead "#ifndef __ADG_TYPE_BUILTINS_H__\n#define __ADG_TYPE_BUILTINS_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n\n" \
108         --fprod "\n/* enumerations from \"@filename@\" */\n" \
109         --vhead "#define ADG_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\nGType @enum_name@_get_type(void) G_GNUC_CONST;\n\n" \
110         --ftail "G_END_DECLS\n\n#endif /* __ADG_TYPE_BUILTINS_H__ */" \
111         adg-enums.h > $@
113 adg-type-builtins.c: adg-enums.h Makefile
114         glib-mkenums \
115         --fhead "#include \"adg-enums.h\"\n\n" \
116         --fprod "\n/* enumerations from \"@filename@\" */" \
117         --vhead "\nGType\n@enum_name@_get_type(void)\n{\n    static GType etype = 0;\n    if (G_UNLIKELY(etype == 0)) {\n        static const G@Type@Value values[] = {" \
118         --vprod "            { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
119         --vtail "            { 0, NULL, NULL }\n        };\n        etype = g_@type@_register_static(\"@EnumName@\", values);\n    }\n    return etype;\n}\n" \
120         adg-enums.h > $@