2007-05-30 04:37:41 -05:00
|
|
|
DIST_SUBDIRS = pcre xdgmime newgtk
|
2006-08-01 04:57:26 -05:00
|
|
|
|
|
|
|
subdirs =
|
|
|
|
libs =
|
|
|
|
if MOO_BUILD_PCRE
|
|
|
|
subdirs += pcre
|
|
|
|
libs += pcre/libpcre.la
|
|
|
|
endif
|
2007-01-06 04:18:26 -06:00
|
|
|
if MOO_USE_XDGMIME
|
2006-08-01 04:57:26 -05:00
|
|
|
subdirs += xdgmime
|
|
|
|
libs += xdgmime/libxdgmime.la
|
|
|
|
endif
|
2007-05-30 04:37:41 -05:00
|
|
|
if !GLIB_2_14
|
|
|
|
subdirs += newgtk
|
|
|
|
libs += newgtk/glib/libgregex.la
|
|
|
|
endif
|
2006-08-01 04:57:26 -05:00
|
|
|
SUBDIRS = $(subdirs) .
|
|
|
|
|
2007-01-06 04:18:26 -06:00
|
|
|
win32_sources = \
|
|
|
|
mooutils-win32.c
|
|
|
|
|
2006-08-01 20:31:51 -05:00
|
|
|
gmappedfile_sources = \
|
|
|
|
newgtk/gmappedfile.c \
|
2006-08-01 04:57:26 -05:00
|
|
|
newgtk/gmappedfile.h
|
|
|
|
|
2006-08-01 20:31:51 -05:00
|
|
|
gtk_2_4_sources = \
|
|
|
|
newgtk/gtkcolorbutton.c \
|
|
|
|
newgtk/gtkcolorbutton.h \
|
|
|
|
newgtk/gtkfontbutton.c \
|
2006-08-01 04:57:26 -05:00
|
|
|
newgtk/gtkfontbutton.h
|
|
|
|
|
2006-12-10 16:50:04 -06:00
|
|
|
thread_sources = \
|
2006-12-08 02:28:18 -06:00
|
|
|
mooutils-thread.c \
|
|
|
|
mooutils-thread.h
|
|
|
|
|
2006-08-01 20:31:51 -05:00
|
|
|
mooutils_include_headers = \
|
|
|
|
mooaction.h \
|
2006-08-15 02:12:41 -05:00
|
|
|
mooactionbase.h \
|
|
|
|
mooactioncollection.h \
|
2006-08-01 20:31:51 -05:00
|
|
|
moobigpaned.h \
|
|
|
|
mooclosure.h \
|
|
|
|
moocombo.h \
|
|
|
|
mooentry.h \
|
2007-02-09 20:28:28 -06:00
|
|
|
moofiledialog.h \
|
2006-08-01 20:31:51 -05:00
|
|
|
moofiltermgr.h \
|
|
|
|
mooglade.h \
|
2006-08-22 23:18:39 -05:00
|
|
|
moohistorycombo.h \
|
2006-08-01 20:31:51 -05:00
|
|
|
moohistorylist.h \
|
2006-08-05 02:07:56 -05:00
|
|
|
mooi18n.h \
|
2006-08-01 20:31:51 -05:00
|
|
|
moomarkup.h \
|
|
|
|
moomenuaction.h \
|
|
|
|
moomenumgr.h \
|
|
|
|
moomenutoolbutton.h \
|
|
|
|
moonotebook.h \
|
2007-05-07 00:26:18 -05:00
|
|
|
moopane.h \
|
2006-08-01 20:31:51 -05:00
|
|
|
moopaned.h \
|
|
|
|
mooprefs.h \
|
|
|
|
mooprefsdialog.h \
|
|
|
|
mooprefsdialogpage.h \
|
|
|
|
moopython.h \
|
|
|
|
moostock.h \
|
|
|
|
moouixml.h \
|
|
|
|
mooundo.h \
|
2007-02-09 20:28:28 -06:00
|
|
|
mooutils-fs.h \
|
2006-08-01 20:31:51 -05:00
|
|
|
mooutils-gobject.h \
|
|
|
|
mooutils-misc.h \
|
2006-08-01 04:57:26 -05:00
|
|
|
moowindow.h
|
|
|
|
|
|
|
|
mooutils_sources = \
|
|
|
|
$(mooutils_include_headers) \
|
|
|
|
mooaccel.h \
|
|
|
|
mooaccel.c \
|
|
|
|
mooaccelbutton-glade.h \
|
|
|
|
mooaccelbutton.c \
|
2006-08-15 02:12:41 -05:00
|
|
|
mooaccelbutton.h \
|
|
|
|
mooaccelprefs.h \
|
|
|
|
mooaccelprefs.c \
|
2006-08-01 04:57:26 -05:00
|
|
|
mooaccelprefs-glade.h \
|
|
|
|
mooaction.c \
|
2006-08-15 02:12:41 -05:00
|
|
|
mooaction-private.h \
|
|
|
|
mooactionbase.c \
|
|
|
|
mooactionbase-private.h \
|
|
|
|
mooactioncollection.c \
|
2006-08-01 04:57:26 -05:00
|
|
|
mooactionfactory.h \
|
|
|
|
mooactionfactory.c \
|
2006-08-15 02:12:41 -05:00
|
|
|
mooactiongroup.h \
|
|
|
|
mooactiongroup.c \
|
2006-08-01 04:57:26 -05:00
|
|
|
moobigpaned.c \
|
|
|
|
mooclosure.c \
|
|
|
|
moocombo.c \
|
|
|
|
moocompat.c \
|
|
|
|
moocompat.h \
|
|
|
|
moodialogs.c \
|
|
|
|
moodialogs.h \
|
2006-12-17 03:23:19 -06:00
|
|
|
mooencodings.c \
|
|
|
|
mooencodings.h \
|
|
|
|
mooencodings-data.h \
|
2006-08-01 04:57:26 -05:00
|
|
|
mooentry.c \
|
|
|
|
moofiledialog.c \
|
|
|
|
moofilewatch.c \
|
|
|
|
moofilewatch.h \
|
|
|
|
moofiltermgr.c \
|
|
|
|
moofontsel.c \
|
|
|
|
moofontsel.h \
|
|
|
|
mooglade.c \
|
2006-08-22 23:18:39 -05:00
|
|
|
moohistorycombo.c \
|
2006-08-01 04:57:26 -05:00
|
|
|
moohistorylist.c \
|
2006-08-03 01:54:07 -05:00
|
|
|
mooi18n.c \
|
2006-08-01 04:57:26 -05:00
|
|
|
moologwindow-glade.h \
|
|
|
|
moomarkup.c \
|
|
|
|
moomenuaction.c \
|
|
|
|
moomenumgr.c \
|
|
|
|
moomenutoolbutton.c \
|
|
|
|
moonotebook.c \
|
2007-05-07 00:26:18 -05:00
|
|
|
moopane.c \
|
2006-08-01 04:57:26 -05:00
|
|
|
moopaned.c \
|
|
|
|
mooprefs.c \
|
|
|
|
mooprefsdialog.c \
|
|
|
|
mooprefsdialogpage.c \
|
|
|
|
moopython.c \
|
2006-08-20 03:49:03 -05:00
|
|
|
moospawn.h \
|
|
|
|
moospawn.c \
|
2006-08-01 04:57:26 -05:00
|
|
|
moostock.c \
|
2006-12-31 04:53:45 -06:00
|
|
|
mootype-macros.h \
|
2006-08-01 04:57:26 -05:00
|
|
|
moouixml.c \
|
|
|
|
mooundo.c \
|
2006-11-15 01:29:32 -06:00
|
|
|
mooutils-debug.h \
|
2006-08-01 04:57:26 -05:00
|
|
|
mooutils-fs.c \
|
2006-08-15 03:21:44 -05:00
|
|
|
mooutils-gobject-private.h \
|
2006-08-01 04:57:26 -05:00
|
|
|
mooutils-gobject.c \
|
|
|
|
mooutils-misc.c \
|
|
|
|
mooutils-treeview.h \
|
|
|
|
mooutils-treeview.c \
|
|
|
|
moowindow.c \
|
|
|
|
stock-about-16.h \
|
|
|
|
stock-about-24.h \
|
|
|
|
stock-edit-16.h \
|
|
|
|
stock-edit-24.h \
|
2007-04-11 16:27:26 -05:00
|
|
|
stock-file-24.h \
|
2007-04-09 18:29:33 -05:00
|
|
|
stock-file-selector-24.h \
|
2006-08-01 04:57:26 -05:00
|
|
|
stock-moo.h \
|
|
|
|
stock-select-all-16.h \
|
|
|
|
stock-select-all-24.h \
|
|
|
|
stock-terminal-24.h
|
|
|
|
|
|
|
|
if !GLIB_2_10
|
|
|
|
mooutils_sources += $(gmappedfile_sources)
|
|
|
|
endif
|
|
|
|
if !GTK_2_4
|
|
|
|
mooutils_sources += $(moonewgtk_gtk_2_4_sources)
|
|
|
|
endif
|
2006-12-08 02:28:18 -06:00
|
|
|
if MOO_OS_MINGW
|
2007-01-06 04:18:26 -06:00
|
|
|
mooutils_sources += $(thread_sources) $(win32_sources)
|
2006-12-10 16:50:04 -06:00
|
|
|
else
|
|
|
|
if MOO_ENABLE_TESTS
|
|
|
|
mooutils_sources += $(thread_sources)
|
|
|
|
endif
|
2006-12-08 02:28:18 -06:00
|
|
|
endif
|
2006-08-01 04:57:26 -05:00
|
|
|
|
|
|
|
nodist_mooutils_sources = \
|
|
|
|
moomarshals.c \
|
|
|
|
moomarshals.h
|
2006-09-10 12:05:32 -05:00
|
|
|
DISTCLEANFILES = \
|
2006-08-01 04:57:26 -05:00
|
|
|
moomarshals.c \
|
|
|
|
moomarshals.h
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
moomarshals.list \
|
|
|
|
py2h.sh \
|
|
|
|
xml2h.sh \
|
|
|
|
$(gmappedfile_sources) \
|
2006-08-13 06:05:50 -05:00
|
|
|
$(gtk_2_4_sources) \
|
2006-12-10 16:50:04 -06:00
|
|
|
$(thread_sources) \
|
2007-01-06 04:18:26 -06:00
|
|
|
$(win32_sources) \
|
2006-08-01 04:57:26 -05:00
|
|
|
glade/accelbutton.glade \
|
|
|
|
glade/accelprefs.glade \
|
|
|
|
glade/moologwindow.glade \
|
2007-05-07 00:26:18 -05:00
|
|
|
pixmaps/medit.png \
|
|
|
|
pixmaps/medit.ico \
|
|
|
|
pixmaps/hide.png \
|
|
|
|
pixmaps/close.png \
|
|
|
|
pixmaps/sticky.png \
|
|
|
|
pixmaps/detach.png \
|
|
|
|
pixmaps/attach.png \
|
2006-08-01 04:57:26 -05:00
|
|
|
pixmaps/keepontop.png
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
moomarshals.c \
|
|
|
|
moomarshals.h \
|
|
|
|
mooaccelbutton-glade.h \
|
|
|
|
mooaccelprefs-glade.h \
|
|
|
|
moologwindow-glade.h \
|
|
|
|
stock-moo.h
|
|
|
|
|
|
|
|
moomarshals.c: moomarshals.list
|
2007-01-10 04:19:06 -06:00
|
|
|
echo '#include "moomarshals.h"' > $@.tmp && \
|
|
|
|
glib-genmarshal --prefix=_moo_marshal --body \
|
|
|
|
$(srcdir)/moomarshals.list >> $@.tmp && \
|
|
|
|
mv $@.tmp $@
|
2006-08-01 04:57:26 -05:00
|
|
|
moomarshals.h: moomarshals.list
|
2007-01-10 04:19:06 -06:00
|
|
|
glib-genmarshal --prefix=_moo_marshal --header \
|
|
|
|
$(srcdir)/moomarshals.list > $@.tmp && \
|
|
|
|
mv $@.tmp $@
|
2006-08-01 04:57:26 -05:00
|
|
|
|
|
|
|
XML2H = $(srcdir)/xml2h.sh
|
|
|
|
mooaccelbutton-glade.h: $(srcdir)/glade/accelbutton.glade $(XML2H)
|
2006-08-13 06:47:59 -05:00
|
|
|
$(SHELL) $(XML2H) MOO_ACCEL_BUTTON_GLADE_UI \
|
2007-01-10 04:19:06 -06:00
|
|
|
$(srcdir)/glade/accelbutton.glade > $@.tmp && \
|
|
|
|
mv $@.tmp $@
|
2006-08-01 04:57:26 -05:00
|
|
|
mooaccelprefs-glade.h: $(srcdir)/glade/accelprefs.glade $(XML2H)
|
2006-08-13 06:47:59 -05:00
|
|
|
$(SHELL) $(XML2H) MOO_ACCEL_PREFS_GLADE_UI \
|
2007-01-10 04:19:06 -06:00
|
|
|
$(srcdir)/glade/accelprefs.glade > $@.tmp && \
|
|
|
|
mv $@.tmp $@
|
2006-08-01 04:57:26 -05:00
|
|
|
moologwindow-glade.h: $(srcdir)/glade/moologwindow.glade $(XML2H)
|
2006-08-13 06:47:59 -05:00
|
|
|
$(SHELL) $(XML2H) MOO_LOG_WINDOW_GLADE_UI \
|
2007-01-10 04:19:06 -06:00
|
|
|
$(srcdir)/glade/moologwindow.glade > $@.tmp && \
|
|
|
|
mv $@.tmp $@
|
2006-08-01 04:57:26 -05:00
|
|
|
|
|
|
|
mooutils_pixmaps = \
|
|
|
|
$(srcdir)/pixmaps/medit.png \
|
2007-05-07 00:26:18 -05:00
|
|
|
$(srcdir)/pixmaps/hide.png \
|
2006-08-01 04:57:26 -05:00
|
|
|
$(srcdir)/pixmaps/close.png \
|
|
|
|
$(srcdir)/pixmaps/detach.png \
|
|
|
|
$(srcdir)/pixmaps/attach.png \
|
|
|
|
$(srcdir)/pixmaps/keepontop.png \
|
|
|
|
$(srcdir)/pixmaps/sticky.png
|
|
|
|
|
|
|
|
stock-moo.h: $(mooutils_pixmaps)
|
|
|
|
gdk-pixbuf-csource --static --build-list \
|
|
|
|
MEDIT_ICON $(srcdir)/pixmaps/medit.png \
|
2007-05-07 00:26:18 -05:00
|
|
|
MOO_HIDE_ICON $(srcdir)/pixmaps/hide.png \
|
2006-08-01 04:57:26 -05:00
|
|
|
MOO_CLOSE_ICON $(srcdir)/pixmaps/close.png \
|
|
|
|
MOO_STICKY_ICON $(srcdir)/pixmaps/sticky.png \
|
|
|
|
MOO_DETACH_ICON $(srcdir)/pixmaps/detach.png \
|
|
|
|
MOO_ATTACH_ICON $(srcdir)/pixmaps/attach.png \
|
|
|
|
MOO_KEEP_ON_TOP_ICON $(srcdir)/pixmaps/keepontop.png \
|
2007-01-10 04:19:06 -06:00
|
|
|
> $@.tmp && mv $@.tmp $@
|
2006-08-01 04:57:26 -05:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libmooutils.la
|
|
|
|
libmooutils_la_SOURCES = $(mooutils_sources)
|
|
|
|
nodist_libmooutils_la_SOURCES = $(nodist_mooutils_sources)
|
|
|
|
libmooutils_la_LIBADD = $(libs)
|
|
|
|
|
|
|
|
AM_CFLAGS = \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-I.. \
|
|
|
|
$(MOO_CFLAGS) \
|
2006-08-03 01:54:07 -05:00
|
|
|
$(MOO_DEBUG_CFLAGS) \
|
2007-03-06 18:57:19 -06:00
|
|
|
-DMOO_LOCALE_DIR=\"$(datadir)/locale\"
|
2006-08-01 06:36:16 -05:00
|
|
|
|
2006-08-07 01:25:35 -05:00
|
|
|
if MOO_INSTALL_HEADERS
|
|
|
|
mooutils_includedir = $(moo_includedir)/mooutils
|
|
|
|
mooutils_include_HEADERS = $(mooutils_include_headers)
|
|
|
|
endif
|