Makefile_insert revision 29c54358e58809867ecea08ad077d54cf7208e8a
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico## Makefile.am fragment, included by src/Makefile.am.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# ################################################
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico# ################################################
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNicowin32_sources = winmain.cpp
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNicowin32ldflags = -lcomdlg32
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNicoinkjar_dir = inkjar
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# ################################################
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# I N K S C A P E
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# ################################################
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# libinkpre.a: any object that's sharable between inkscape & inkview,
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico# and isn't needed by object files in subdirectories (i.e. libinkpre.a
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico# comes before subdirectory libraries on the link line).
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico# Excludes winmain.cpp (a gui wrapper around main): I'm guessing that
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico# it needs to be explicitly listed as a source of each graphical
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico# binary: it isn't (to my knowledge) called by main (whether directly
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico# or indirectly), so I don't think that putting it in a library will
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico# suffice to get it linked in. Windows devel please confirm. -- pjrm.
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNicolibinkpre_a_SOURCES = \
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico sp-item-notify-moveto.cpp sp-item-notify-moveto.h \
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico sp-item-rm-unsatisfied-cns.cpp sp-item-rm-unsatisfied-cns.h \
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico# Force libinkpost.a to be rebuilt if we add files to libinkpost_a_SOURCES.
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNicolibinkpost_a_DEPENDENCIES = Makefile_insert
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico# libinkpost.a: Any object file that needs to be near the end of the link line.
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNico# gradient-chemistry.o is called by some things in display/.
09d8c881485db7f6fa367e8f60da0f0a12f83ff8JazzyNicolibinkpost_a_SOURCES = \
gc.cpp \
memeq.h \
round.h \
streq.h \
strneq.h \
desktop.$(OBJEXT): helper/sp-marshal.h
knot.$(OBJEXT): helper/sp-marshal.h
main.$(OBJEXT): inkscape_version.h
selection.$(OBJEXT): helper/sp-marshal.h
sp-object.$(OBJEXT): helper/sp-marshal.h
sp-root.$(OBJEXT): inkscape_version.h
view.$(OBJEXT): helper/sp-marshal.h
help.$(OBJEXT): inkscape_version.h
inkscape_SOURCES = main.cpp $(win32_sources)
inkview_SOURCES = inkview.cpp $(win32_sources)
style_test_SOURCES = style-test.cpp
echo '#define INKSCAPE_VERSION "$(VERSION)"' > inkscape_version.h