2005-11-05 04:34:09 -08:00
|
|
|
#
|
|
|
|
# moo/mooapp/Makefile.incl
|
|
|
|
#
|
|
|
|
|
|
|
|
mooapp = $(moo_prefix)/mooapp
|
|
|
|
mooapp_srcdir = $(srcdir)/$(mooapp)
|
|
|
|
|
|
|
|
mooapp_built_sources = \
|
|
|
|
$(mooapp)/mooappabout-glade.h
|
|
|
|
|
2005-11-05 05:12:50 -08:00
|
|
|
mooapp_include_headers = \
|
|
|
|
$(mooapp)/mooapp.h
|
|
|
|
|
2005-11-05 04:34:09 -08:00
|
|
|
mooapp_sources = \
|
2005-11-05 05:12:50 -08:00
|
|
|
$(mooapp_include_headers) \
|
2005-11-05 04:34:09 -08:00
|
|
|
$(mooapp)/mooappdialogs.c \
|
|
|
|
$(mooapp)/mooapp-prefs.c \
|
|
|
|
$(mooapp)/mooapp-private.h \
|
|
|
|
$(mooapp)/mooapp.c \
|
|
|
|
$(mooapp)/mooapp.h \
|
|
|
|
$(mooapp)/mooappinput.c \
|
|
|
|
$(mooapp)/mooappinput.h \
|
|
|
|
$(mooapp)/mooappoutput.c \
|
|
|
|
$(mooapp)/mooappoutput.h
|
|
|
|
|
|
|
|
mooapp_python_sources = \
|
|
|
|
$(mooapp)/mooapp-python.h \
|
|
|
|
$(mooapp)/moopythonconsole.c \
|
|
|
|
$(mooapp)/moopythonconsole.h \
|
|
|
|
$(mooapp)/moopython.c \
|
|
|
|
$(mooapp)/moopython.h
|
|
|
|
|
|
|
|
if MOO_USE_PYTHON
|
|
|
|
mooapp_sources += $(mooapp_python_sources)
|
|
|
|
endif MOO_USE_PYTHON
|
|
|
|
|
|
|
|
mooapp_extra_dist = \
|
|
|
|
$(mooapp)/gpl \
|
|
|
|
$(mooapp_python_sources)
|
|
|
|
|
2005-11-07 20:05:39 -08:00
|
|
|
$(mooapp)/mooappabout-glade.h: $(mooapp_srcdir)/glade/mooappabout.glade $(XML2H)
|
2005-11-05 04:34:09 -08:00
|
|
|
mkdir -p $(mooapp)
|
|
|
|
sh $(XML2H) MOO_APP_ABOUT_GLADE_UI $(mooapp_srcdir)/glade/mooappabout.glade > $(mooapp)/mooappabout-glade.h
|
|
|
|
|
2005-12-21 05:09:55 -08:00
|
|
|
if MOO_BUILD_APP
|
2005-11-05 04:34:09 -08:00
|
|
|
moo_sources += $(mooapp_sources)
|
|
|
|
moo_built_sources += $(mooapp_built_sources)
|
2005-12-21 05:09:55 -08:00
|
|
|
else
|
|
|
|
moo_extra_dist += $(mooapp_sources)
|
|
|
|
endif
|
|
|
|
|
2005-11-05 04:34:09 -08:00
|
|
|
moo_extra_dist += $(mooapp_extra_dist)
|