9f061c090f3d41e191d73de01d91e54eea81ac68
1 ## Makefile.am fragment sourced by src/Makefile.am.
3 #
4 # Miscellaneous unsystematized and temporary helper utilities
5 #
6 # libspchelp - canvas utilities, specific canvas items
7 #
9 helper/all: helper/libspchelp.a
11 helper/clean:
12 rm -f helper/libspchelp.a $(helper_libspchelp_a_OBJECTS)
14 helper/unit-menu.$(OBJEXT): helper/sp-marshal.h
16 helper_libspchelp_a_SOURCES = \
17 helper/action.cpp \
18 helper/action.h \
19 helper/gnome-utils.cpp \
20 helper/gnome-utils.h \
21 helper/helper-forward.h \
22 helper/png-write.cpp \
23 helper/png-write.h \
24 helper/sp-marshal.cpp \
25 helper/sp-marshal.h \
26 helper/stlport.h \
27 helper/unit-menu.cpp \
28 helper/unit-menu.h \
29 helper/units.cpp \
30 helper/units.h \
31 helper/window.cpp \
32 helper/window.h \
33 helper/stock-items.cpp \
34 helper/stock-items.h
37 # TODO: Check that the generated sp-marshal.h is the same as before.
38 helper/sp-marshal.h: helper/sp-marshal.list
39 glib-genmarshal --prefix=sp_marshal --header $(srcdir)/helper/sp-marshal.list > helper/tmp.$$$$ \
40 && mv helper/tmp.$$$$ helper/sp-marshal.h
42 helper/sp-marshal.cpp: helper/sp-marshal.list helper/sp-marshal.h
43 ( echo '#include "helper/sp-marshal.h"' && \
44 glib-genmarshal --prefix=sp_marshal --body $(srcdir)/helper/sp-marshal.list ) \
45 > helper/tmp.$$$$ \
46 && mv helper/tmp.$$$$ helper/sp-marshal.cpp
48 helper/sp-marshal.cpp helper/sp-marshal.h: Makefile
50 helper_units_test_SOURCES = helper/units-test.cpp
51 helper_units_test_LDADD = helper/libspchelp.a -lglib-2.0