1 ### Process this file with automake to produce Makefile.in
3 gtkhtml_data = $(datadir)/gtkhtml-@GTKHTML_API_VERSION@
5 bin_PROGRAMS = gtkhtml-editor-test
6 lib_LTLIBRARIES = libgtkhtml-editor-4.0.la
11 -I$(top_srcdir)/gtkhtml \
12 -I$(top_srcdir)/components/editor \
13 -DG_LOG_DOMAIN=\"gtkhtml-editor\" \
14 -DDATADIR=\""$(datadir)"\" \
15 -DLOCALEDIR=\""$(datadir)/locale/"\" \
16 -DICONDIR=\""$(gtkhtml_data)/icons"\" \
20 gtkhtml-editor-marshal.c \
21 gtkhtml-editor-marshal.h \
22 gtkhtml-spell-marshal.c \
23 gtkhtml-spell-marshal.h
25 libgtkhtml_editordir = $(includedir)/libgtkhtml-@GTKHTML_API_VERSION@/editor
27 libgtkhtml_editor_4_0_la_SOURCES = \
29 gtkhtml-color-combo.c \
30 gtkhtml-color-combo.h \
31 gtkhtml-color-palette.c \
32 gtkhtml-color-palette.h \
33 gtkhtml-color-state.c \
34 gtkhtml-color-state.h \
35 gtkhtml-color-swatch.c \
36 gtkhtml-color-swatch.h \
40 gtkhtml-editor-actions.c \
41 gtkhtml-editor-private.c \
42 gtkhtml-editor-private.h \
43 gtkhtml-editor-signals.c \
46 gtkhtml-face-action.c \
47 gtkhtml-face-action.h \
48 gtkhtml-face-chooser.c \
49 gtkhtml-face-chooser.h \
50 gtkhtml-face-chooser-menu.c \
51 gtkhtml-face-chooser-menu.h \
52 gtkhtml-face-tool-button.c \
53 gtkhtml-face-tool-button.h \
54 gtkhtml-image-chooser-dialog.c \
55 gtkhtml-image-chooser-dialog.h \
56 gtkhtml-spell-dialog.c \
57 gtkhtml-spell-dialog.h \
58 gtkhtml-spell-checker.c \
59 gtkhtml-spell-language.c
61 libgtkhtml_editor_HEADERS = \
63 gtkhtml-editor-actions.h \
64 gtkhtml-editor-common.h \
65 gtkhtml-editor-widgets.h \
66 gtkhtml-spell-checker.h \
67 gtkhtml-spell-language.h
69 libgtkhtml_editor_4_0_la_LIBADD = \
71 $(top_builddir)/gtkhtml/libgtkhtml-@GTKHTML_API_VERSION@.la
73 libgtkhtml_editor_4_0_la_LDFLAGS = -no-undefined
75 gtkhtml_editor_test_SOURCES = main.c
77 gtkhtml_editor_test_LDADD = \
79 libgtkhtml-editor-@EDITOR_API_VERSION@.la \
80 $(top_builddir)/gtkhtml/libgtkhtml-@GTKHTML_API_VERSION@.la
82 gtkhtml-editor-marshal.h: gtkhtml-editor-marshal.list $(GLIB_GENMARSHAL)
83 $(GLIB_GENMARSHAL) $< --header --prefix=gtkhtml_editor_marshal > $@
85 gtkhtml-editor-marshal.c: gtkhtml-editor-marshal.list $(GLIB_GENMARSHAL)
86 echo "#include \"gtkhtml-editor-marshal.h\"" > $@ && \
87 $(GLIB_GENMARSHAL) $< --body --prefix=gtkhtml_editor_marshal >> $@
89 gtkhtml-spell-marshal.h: gtkhtml-spell-marshal.list $(GLIB_GENMARSHAL)
90 $(GLIB_GENMARSHAL) $< --header --prefix=gtkhtml_spell_marshal > $@
92 gtkhtml-spell-marshal.c: gtkhtml-spell-marshal.list $(GLIB_GENMARSHAL)
93 echo "#include \"gtkhtml-spell-marshal.h\"" > $@ && \
94 $(GLIB_GENMARSHAL) $< --body --prefix=gtkhtml_spell_marshal >> $@
96 %-$(EDITOR_API_VERSION).pc: %.pc
99 pkgconfigdir = $(libdir)/pkgconfig
100 pkgconfig_in_files = gtkhtml-editor.pc.in
101 pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=-$(EDITOR_API_VERSION).pc)
103 uidir = $(gtkhtml_data)
105 gtkhtml-editor-builder.ui \
106 gtkhtml-editor-manager.ui
111 gtkhtml-editor-marshal.list \
112 gtkhtml-spell-marshal.list \
115 CLEANFILES = $(BUILT_SOURCES)
116 DISTCLEANFILES = $(pkgconfig_DATA)
119 cd $(distdir); rm -f $(BUILT_SOURCES)
123 gladecatalog_DATA = gtkhtml-editor.xml
124 gladecatalogdir = `$(PKG_CONFIG) --variable=catalogdir gladeui-2.0`
126 libglade_gtkhtml_editor_LTLIBRARIES = libglade-gtkhtml-editor.la
127 libglade_gtkhtml_editordir = `$(PKG_CONFIG) --variable=moduledir gladeui-2.0`
129 libglade_gtkhtml_editor_la_CFLAGS = @GTKHTML_CFLAGS@
131 libglade_gtkhtml_editor_la_SOURCES = \
132 gtkhtml-color-combo.c \
133 gtkhtml-color-palette.c \
134 gtkhtml-color-state.c \
135 gtkhtml-color-swatch.c \
138 libglade_gtkhtml_editor_la_LDFLAGS = -module -avoid-version -no-undefined
140 libglade_gtkhtml_editor_la_LIBADD = @GTKHTML_CFLAGS@
144 -include $(top_srcdir)/git.mk