SUBDIRS = widgets form-editor io pixmaps DIST_SUBDIRS = $(SUBDIRS) INCLUDES = $(GUIKACHU_GUI_DEPS_CFLAGS) \ -I$(srcdir) -I$(top_srcdir)/src \ -I$(top_srcdir)/lib/foocanvas \ -I$(top_srcdir)/lib/foocanvasmm/foocanvas \ -I$(top_builddir)/lib/foocanvasmm/foocanvas \ -DG_LOG_DOMAIN=\"Guikachu\" \ -DGUIKACHU_LOCALEDIR=\"$(prefix)/$(DATADIRNAME)/locale\" \ -DGUIKACHU_DATADIRNAME=\"$(DATADIRNAME)\" \ -DLIBGNOME_DATADIR=\"$(LIBGNOME_DATADIR)\" SUBLIBS = libguikachu.a \ io/libio.a io/xml/libio-xml.a io/rcp/libio-rcp.a io/libio.a \ form-editor/libformeditor.a \ libguikachu.a GUI_SUBLIBS = libguikachu-ui.a \ form-editor/libformeditor-ui.a \ widgets/libwidgets.a \ libguikachu-ui.a \ $(top_builddir)/lib/foocanvasmm/foocanvas/foocanvasmm/libfoocanvasmm.a\ $(top_builddir)/lib/foocanvas/libfoocanvas/libfoocanvas.a gui_src = session.h session.cc \ ui-gui.h ui-gui.cc \ stock.h stock.cc \ cellrenderer-icontext.h cellrenderer-icontext.cc \ cellrenderer-indent.h cellrenderer-indent.cc \ property-ops.h property-ops-resource.h \ property-ops-widget.h \ resource-manager-ops.h resource-manager-ops.cc \ \ mainwin.h mainwin.cc \ mainwin-io.cc mainwin-edit.cc \ mainwin-menu.cc \ edit-cut-and-paste.h edit-cut-and-paste.cc \ edit-ops.h edit-ops.cc \ edit-priv.h edit-priv.cc \ resource-tree.h resource-tree.cc \ resource-tree-treedata.cc \ preferences-win.h preferences-win.cc \ add-resource.h add-resource.cc \ \ resource-factory.h resource-factory.cc \ resource-factory-win.h \ resource-util-gui.h resource-util-gui.cc \ resource-win.h \ app-win.h app-win.cc \ dialog-win.h dialog-win.cc \ dialog-win-helpers.h dialog-win-helpers.cc \ menu-win.h menu-win.cc \ menu-win-treemodel.h \ menu-win-treemodel.cc \ menu-win-treemodel-dnd.cc \ menu-win-treemodel-edit.cc \ menu-win-stock.h \ menu-win-stock.cc \ string-win.h string-win.cc \ stringlist-win.h stringlist-win.cc \ blob-win.h blob-win.cc \ bitmap-win.h bitmap-win.cc \ bitmap-win-helpers.h bitmap-win-helpers.cc \ bitmap-res-ops.h \ bitmap-res-ops.cc \ bitmapfamily-win.h bitmapfamily-win.cc \ bitmapfamily-win-helpers.h bitmapfamily-win-helpers.cc \ bitmapfamily-res-ops.h \ bitmapfamily-res-ops.cc \ form-win.h form-win.cc \ form-win-helpers.h form-win-helpers.cc \ form-win-propedit.cc \ form-win-selection.cc \ form-win-layout.cc \ form-win-edit.cc \ form-win-widgettree.h form-win-widgettree.cc backend_src = ui.h ui.cc \ \ vsignal.h vsignal.cc \ queued-signal.h queued-signal.cc \ property.h property.cc \ resource-ref.h resource-ref.cc \ \ storage.h storage.cc \ storage-node.h storage-node.cc \ gnome-i18n-cnp.h gnome-i18n-cnp.cc \ \ app-res.h app-res.cc \ target.h target.cc \ \ dialog-res.h dialog-res.cc \ menu-res.h menu-res.cc \ menu-res-ops.h menu-res-ops.cc \ string-res.h string-res.cc \ stringlist-res.h stringlist-res.cc \ blob-res.h blob-res.cc \ bitmap-res.h bitmap-res.cc \ bitmapfamily-res.h bitmapfamily-res.cc \ form-res.h form-res.cc \ \ id-manager.h id-manager.cc \ undo.h undo.cc \ resource-manager.h resource-manager.cc \ preferences.h preferences.cc \ resource.h resource.cc \ resource-visitor.h \ resource-util.h resource-util.cc \ \ hash-map.h noinst_LIBRARIES = libguikachu.a libguikachu-ui.a libguikachu_a_SOURCES = $(backend_src) libguikachu_ui_a_SOURCES= $(gui_src) if GUIKACHU_HOST_WIN32 resource_src = guikachu-win32.rc else resource_src = endif bin_PROGRAMS = guikachu guikachu2rcp guikachu_SOURCES = main.cc $(resource_src) guikachu_LDADD = $(GUI_SUBLIBS) $(SUBLIBS) $(GUIKACHU_GUI_DEPS_LIBS) if GUIKACHU_HOST_WIN32 guikachu_LDFLAGS = -mwindows -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc endif guikachu2rcp_SOURCES = guikachu2rcp.cc ui-text.cc $(resource_src) guikachu2rcp_LDADD = $(SUBLIBS) $(GUIKACHU_DEPS_LIBS) EXTRA_DIST = guikachu.glade sample.guikachu preferences-gconf.cc preferences-winreg.cc guikachu-glade.c: $(srcdir)/guikachu.glade $(PERL) $(top_srcdir)/lib/scripts/text-to-c.pl guikachu_glade < $? > $@ ui-gui.o: guikachu-glade.c BUILT_SOURCES = guikachu-glade.c if HAVE_WINDRES .rc.o: $(WINDRES) -o $@ $< endif