2005-06-22 11:20:32 -07:00
|
|
|
#
|
|
|
|
# mooutils/Makefile.am
|
|
|
|
#
|
|
|
|
|
|
|
|
DIST_SUBDIRS = newgtk glade pcre unrtf pixmaps
|
|
|
|
|
|
|
|
DEFAULT_INCLUDES =
|
|
|
|
AM_CFLAGS = \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_builddir)/$(MOO_SRC_PREFIX) \
|
|
|
|
$(MOO_CFLAGS) \
|
2005-07-25 03:56:08 -07:00
|
|
|
$(DEBUG_CFLAGS) \
|
2005-06-22 11:20:32 -07:00
|
|
|
$(CFLAGS) \
|
|
|
|
$(GTK_CFLAGS) \
|
|
|
|
$(PYTHON_INCLUDES) \
|
|
|
|
$(PYGTK_CFLAGS) \
|
2005-08-25 01:40:35 -07:00
|
|
|
-DG_LOG_DOMAIN=\"Moo\" \
|
|
|
|
-D__MOO__
|
2005-06-22 11:20:32 -07:00
|
|
|
|
|
|
|
# if USE_UNRTF
|
|
|
|
# unrtf = unrtf
|
|
|
|
# unrtf_lib = unrtf/libunrtf.la
|
|
|
|
# unrtf_src = moortf.h moortf.c
|
|
|
|
# endif USE_UNRTF
|
|
|
|
|
|
|
|
SUBDIRS = pixmaps glade newgtk pcre $(unrtf) .
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libmooutils.la
|
|
|
|
|
|
|
|
libmooutils_la_LIBADD = \
|
|
|
|
pcre/libpcre.la \
|
|
|
|
$(unrtf_lib) \
|
|
|
|
newgtk/libnewgtk.la
|
|
|
|
|
|
|
|
libmooutils_la_SOURCES = \
|
|
|
|
$(pcre_src) \
|
|
|
|
$(unrtf_src) \
|
|
|
|
bind.c \
|
|
|
|
bind.h \
|
|
|
|
eggregex.c \
|
|
|
|
eggregex.h \
|
|
|
|
mooaccelbutton.c \
|
|
|
|
mooaccelbutton.h \
|
2005-09-10 09:02:38 -07:00
|
|
|
mooaccelbutton-glade.h \
|
2005-06-22 11:20:32 -07:00
|
|
|
mooclosure.c \
|
|
|
|
mooclosure.h \
|
|
|
|
moocompat.c \
|
|
|
|
moocompat.h \
|
|
|
|
moodialogs.c \
|
|
|
|
moodialogs.h \
|
|
|
|
moofileutils.c \
|
|
|
|
moofileutils.h \
|
2005-09-10 07:41:16 -07:00
|
|
|
mooglade.c \
|
|
|
|
mooglade.h \
|
2005-06-22 11:20:32 -07:00
|
|
|
moolog.c \
|
|
|
|
moolog.h \
|
|
|
|
moomarkup.c \
|
|
|
|
moomarkup.h \
|
|
|
|
mooobjectfactory.c \
|
|
|
|
mooobjectfactory.h \
|
|
|
|
mooparam.c \
|
|
|
|
mooparam.h \
|
|
|
|
mooprefs.c \
|
|
|
|
mooprefs.h \
|
|
|
|
mooprefsdialog.c \
|
|
|
|
mooprefsdialog.h \
|
|
|
|
mooprefsdialogpage.c \
|
|
|
|
mooprefsdialog-settings.c \
|
|
|
|
mooprefsdialog-settings.h \
|
2005-07-21 15:10:10 -07:00
|
|
|
moosignal.c \
|
|
|
|
moosignal.h \
|
2005-06-22 11:20:32 -07:00
|
|
|
moostock.c \
|
|
|
|
moostock.h \
|
|
|
|
mootypes.c \
|
|
|
|
mootypes.h \
|
|
|
|
moowin.c \
|
|
|
|
moowin.h \
|
|
|
|
stock-about-16.h \
|
|
|
|
stock-about-24.h \
|
2005-08-05 04:54:21 -07:00
|
|
|
stock-moo.h \
|
2005-06-22 11:20:32 -07:00
|
|
|
stock-edit-16.h \
|
|
|
|
stock-edit-24.h \
|
|
|
|
stock-terminal-24.h
|
|
|
|
|
2005-07-26 04:11:46 -07:00
|
|
|
python_sources = \
|
|
|
|
mooutils-python.c \
|
|
|
|
mooutils-python.h
|
|
|
|
|
2005-07-30 09:21:40 -07:00
|
|
|
if USE_PYTHON
|
|
|
|
libmooutils_la_SOURCES += $(python_sources)
|
|
|
|
endif
|
|
|
|
|
2005-06-22 11:20:32 -07:00
|
|
|
nodist_libmooutils_la_SOURCES = \
|
|
|
|
moomarshals.c \
|
|
|
|
moomarshals.h
|
|
|
|
CLEANFILES = $(nodist_libmooutils_la_SOURCES)
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(unrtf_src) \
|
2005-07-26 04:11:46 -07:00
|
|
|
$(python_sources) \
|
2005-06-22 11:20:32 -07:00
|
|
|
moomarshals.list \
|
|
|
|
xml2h.sh
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
2005-09-10 09:02:38 -07:00
|
|
|
mooaccelbutton-glade.h \
|
2005-06-22 11:20:32 -07:00
|
|
|
moomarshals.h \
|
|
|
|
moomarshals.c \
|
2005-08-05 04:54:21 -07:00
|
|
|
stock-moo.h
|
2005-06-22 11:20:32 -07:00
|
|
|
|
|
|
|
moomarshals.c: moomarshals.list
|
|
|
|
glib-genmarshal --prefix=_moo_marshal --body \
|
|
|
|
$(srcdir)/moomarshals.list > moomarshals.c
|
|
|
|
moomarshals.h: moomarshals.list
|
|
|
|
glib-genmarshal --prefix=_moo_marshal --header \
|
|
|
|
$(srcdir)/moomarshals.list > moomarshals.h
|
|
|
|
|
2005-09-10 09:02:38 -07:00
|
|
|
mooaccelbutton-glade.h: $(srcdir)/glade/shortcutdialog.glade $(srcdir)/xml2h.sh
|
|
|
|
sh $(srcdir)/xml2h.sh MOO_ACCEL_BUTTON_GLADE_UI \
|
|
|
|
$(srcdir)/glade/shortcutdialog.glade > mooaccelbutton-glade.h
|
2005-06-22 11:20:32 -07:00
|
|
|
|
2005-08-05 04:54:21 -07:00
|
|
|
PIXMAPS = \
|
|
|
|
$(srcdir)/pixmaps/gap.png \
|
|
|
|
$(srcdir)/pixmaps/ggap.png \
|
|
|
|
$(srcdir)/pixmaps/close.png \
|
2005-08-31 09:55:02 -07:00
|
|
|
$(srcdir)/pixmaps/detach.png \
|
|
|
|
$(srcdir)/pixmaps/attach.png \
|
|
|
|
$(srcdir)/pixmaps/keepontop.png \
|
2005-08-05 04:54:21 -07:00
|
|
|
$(srcdir)/pixmaps/sticky.png
|
|
|
|
|
|
|
|
stock-moo.h: $(PIXMAPS)
|
2005-08-31 09:55:02 -07:00
|
|
|
gdk-pixbuf-csource --static --build-list \
|
|
|
|
GAP_ICON $(srcdir)/pixmaps/gap.png \
|
|
|
|
GGAP_ICON $(srcdir)/pixmaps/ggap.png \
|
|
|
|
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 \
|
2005-08-05 04:54:21 -07:00
|
|
|
> $(srcdir)/stock-moo.h
|