medit/moo/mooutils/Makefile.am

140 lines
4.2 KiB
Makefile
Raw Normal View History

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) \
-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 \
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 \
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 \
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 = \
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
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 \
$(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)
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