Code

20c7e6c532fcdc8fd1e95812d5590c5be8b13980
[inkscape.git] / src / helper / Makefile_insert
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/geom.cpp \
20         helper/geom.h   \
21         helper/geom-nodetype.cpp        \
22         helper/geom-nodetype.h  \
23         helper/gnome-utils.cpp  \
24         helper/gnome-utils.h    \
25         helper/helper-forward.h \
26         helper/png-write.cpp    \
27         helper/png-write.h      \
28         helper/sp-marshal.cpp   \
29         helper/sp-marshal.h     \
30         helper/stlport.h        \
31         helper/unit-menu.cpp    \
32         helper/unit-menu.h      \
33         helper/unit-tracker.cpp \
34         helper/unit-tracker.h   \
35         helper/units.cpp        \
36         helper/units.h  \
37         helper/window.cpp       \
38         helper/window.h         \
39         helper/stock-items.cpp  \
40         helper/stock-items.h    
43 # TODO: Check that the generated sp-marshal.h is the same as before.
44 helper/sp-marshal.h: helper/sp-marshal.list
45         glib-genmarshal --prefix=sp_marshal --header $(srcdir)/helper/sp-marshal.list > helper/tmp.$$$$ \
46          && mv helper/tmp.$$$$ helper/sp-marshal.h
48 helper/sp-marshal.cpp: helper/sp-marshal.list helper/sp-marshal.h
49         ( echo '#include "helper/sp-marshal.h"' &&      \
50           glib-genmarshal --prefix=sp_marshal --body $(srcdir)/helper/sp-marshal.list ) \
51          > helper/tmp.$$$$      \
52          && mv helper/tmp.$$$$ helper/sp-marshal.cpp
54 helper/sp-marshal.cpp helper/sp-marshal.h: Makefile
56 helper_units_test_SOURCES = helper/units-test.cpp
57 helper_units_test_LDADD = helper/libspchelp.a -lglib-2.0