1 ## Process this file with automake to produce Makefile.in
3 AM_CFLAGS= @GTK2_CFLAGS@ \
5 AM_LDFLAGS= @GTK2_LIBS@
29 adg_built_h_sources= adg-type-builtins.h
30 adg_private_h_sources= adg-adim-private.h \
31 adg-arrow-style-private.h \
32 adg-canvas-private.h \
33 adg-container-private.h \
34 adg-context-private.h \
36 adg-dim-style-private.h \
37 adg-entity-private.h \
39 adg-font-style-private.h \
42 adg-line-style-private.h \
46 adg_built_private_h_sources=
47 adg_c_sources= adg-adim.c \
68 adg_built_c_sources= adg-type-builtins.c
71 BUILT_SOURCES= $(adg_built_h_sources) \
72 $(adg_built_private_h_sources) \
73 $(adg_built_c_sources)
75 libadg_includedir= $(includedir)/adg
76 libadg_include_DATA= $(adg_h_sources) \
77 $(adg_built_h_sources)
79 lib_LTLIBRARIES= libadg.la
80 libadg_la_LDFLAGS= -release @PACKAGE_VERSION@
81 libadg_la_SOURCES= $(adg_h_sources) \
82 $(adg_built_h_sources) \
83 $(adg_private_h_sources) \
84 $(adg_built_private_h_sources) \
86 $(adg_built_c_sources)
87 libadg_la_LIBADD= $(top_builddir)/cpml/libcpml.la
88 libadg_la_DEPENDENCIES= $(top_builddir)/cpml/libcpml.la
91 adg-type-builtins.h: adg-enums.h Makefile
93 --fhead "#ifndef __ADG_TYPE_BUILTINS_H__\n#define __ADG_TYPE_BUILTINS_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n\n" \
94 --fprod "\n/* enumerations from \"@filename@\" */\n" \
95 --vhead "#define ADG_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\nGType @enum_name@_get_type(void) G_GNUC_CONST;\n\n" \
96 --ftail "G_END_DECLS\n\n#endif /* __ADG_TYPE_BUILTINS_H__ */" \
99 adg-type-builtins.c: adg-enums.h Makefile
101 --fhead "#include \"adg-enums.h\"\n\n" \
102 --fprod "\n/* enumerations from \"@filename@\" */" \
103 --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[] = {" \
104 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
105 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static(\"@EnumName@\", values);\n }\n return etype;\n}\n" \