1 ## Process this file with automake to produce Makefile.in
3 AM_CFLAGS= @GTK2_CFLAGS@ \
5 AM_LDFLAGS= @GTK2_LIBS@
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 \
41 adg-dim-style-private.h \
42 adg-entity-private.h \
44 adg-font-style-private.h \
47 adg-line-style-private.h \
50 adg-stroke-private.h \
52 adg-title-block-private.h \
53 adg-toy-text-private.h \
55 adg_built_private_h_sources=
56 adg_c_sources= adg-adim.c \
82 adg_built_c_sources= adg-type-builtins.c
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) \
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
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__ */" \
113 adg-type-builtins.c: adg-enums.h Makefile
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" \