1 ## Process this file with automake to produce Makefile.in
3 AM_CFLAGS= @GTK2_CFLAGS@ \
5 AM_LDFLAGS= @GTK2_LIBS@
36 adg_built_h_sources= adg-type-builtins.h
37 adg_private_h_sources= adg-adim-private.h \
38 adg-arrow-style-private.h \
39 adg-canvas-private.h \
40 adg-container-private.h \
41 adg-context-private.h \
43 adg-dim-style-private.h \
44 adg-entity-private.h \
46 adg-font-style-private.h \
49 adg-line-style-private.h \
52 adg-stroke-private.h \
54 adg-title-block-private.h \
55 adg-toy-text-private.h \
57 adg_built_private_h_sources=
58 adg_c_sources= adg-adim.c \
86 adg_built_c_sources= adg-type-builtins.c
89 BUILT_SOURCES= $(adg_built_h_sources) \
90 $(adg_built_private_h_sources) \
91 $(adg_built_c_sources)
93 libadg_includedir= $(includedir)/adg
94 libadg_include_DATA= $(adg_h_sources) \
95 $(adg_built_h_sources)
97 lib_LTLIBRARIES= libadg.la
98 libadg_la_LDFLAGS= -release @PACKAGE_VERSION@
99 libadg_la_SOURCES= $(adg_h_sources) \
100 $(adg_built_h_sources) \
101 $(adg_private_h_sources) \
102 $(adg_built_private_h_sources) \
104 $(adg_built_c_sources)
105 libadg_la_LIBADD= $(top_builddir)/cpml/libcpml.la
106 libadg_la_DEPENDENCIES= $(top_builddir)/cpml/libcpml.la
109 adg-type-builtins.h: adg-enums.h Makefile
111 --fhead "#ifndef __ADG_TYPE_BUILTINS_H__\n#define __ADG_TYPE_BUILTINS_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n\n" \
112 --fprod "\n/* enumerations from \"@filename@\" */\n" \
113 --vhead "#define ADG_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\nGType @enum_name@_get_type(void) G_GNUC_CONST;\n\n" \
114 --ftail "G_END_DECLS\n\n#endif /* __ADG_TYPE_BUILTINS_H__ */" \
117 adg-type-builtins.c: adg-enums.h Makefile
119 --fhead "#include \"adg-enums.h\"\n\n" \
120 --fprod "\n/* enumerations from \"@filename@\" */" \
121 --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[] = {" \
122 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
123 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static(\"@EnumName@\", values);\n }\n return etype;\n}\n" \