Makefile_insert revision 4358ff6156766a315e38e72a5c3c83d6d5f7486b
25757faf029c369a8318349dafe952e2358df1d8Timo Sirainen## Makefile.am fragment, included by src/Makefile.am.
25757faf029c369a8318349dafe952e2358df1d8Timo Sirainen# ################################################
ff487c974815bdaa2d05a3b834f4c2c841f4cc34Timo Sirainen# ################################################
25757faf029c369a8318349dafe952e2358df1d8Timo Sirainenif PLATFORM_WIN32
9fe7632c6d7c1a22623f98a58f497680741f5949Timo Sirainenwin32_sources = winmain.cpp registrytool.cpp registrytool.h
9fe7632c6d7c1a22623f98a58f497680741f5949Timo Sirainenwin32ldflags = -lcomdlg32
b321df9603081896b70ec44635af96d674a9839aTimo Siraineninkjar_dir = inkjar
7d6389e4053c2dac1fb37180b5756b00785983dcTimo Sirainen# ################################################
25757faf029c369a8318349dafe952e2358df1d8Timo Sirainen# I N K S C A P E
b321df9603081896b70ec44635af96d674a9839aTimo Sirainen# ################################################
25757faf029c369a8318349dafe952e2358df1d8Timo Sirainen# libinkpre.a: any object that's sharable between inkscape & inkview,
473080c7c0d25ddfdf77e7dfa0ba8f73c6c669d5Timo Sirainen# and isn't needed by object files in subdirectories (i.e. libinkpre.a
473080c7c0d25ddfdf77e7dfa0ba8f73c6c669d5Timo Sirainen# comes before subdirectory libraries on the link line).
b321df9603081896b70ec44635af96d674a9839aTimo Sirainen# Excludes winmain.cpp (a gui wrapper around main): I'm guessing that
22535a9e685e29214082878e37a267157044618eTimo Sirainen# it needs to be explicitly listed as a source of each graphical
7d6389e4053c2dac1fb37180b5756b00785983dcTimo Sirainen# binary: it isn't (to my knowledge) called by main (whether directly
22535a9e685e29214082878e37a267157044618eTimo Sirainen# or indirectly), so I don't think that putting it in a library will
22535a9e685e29214082878e37a267157044618eTimo Sirainen# suffice to get it linked in. Windows devel please confirm. -- pjrm.
473080c7c0d25ddfdf77e7dfa0ba8f73c6c669d5Timo Sirainenlibinkpre_a_SOURCES = \
7d6389e4053c2dac1fb37180b5756b00785983dcTimo Sirainen console-output-undo-observer.h console-output-undo-observer.cpp \
prefix.h \
syseq.h \
# Force libinkpost.a to be rebuilt if we add files to libinkpost_a_SOURCES.
# libinkpost.a: Any object file that needs to be near the end of the link line.
# gradient-chemistry.o is called by some things in display/.
gc.cpp \
memeq.h \
round.h \
streq.h \
strneq.h \
2geom/lib2geom.a \
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
$(srcdir)/attributes-test.h \
$(srcdir)/color-profile-test.h \
$(srcdir)/MultiPrinter.h \
$(srcdir)/TRPIFormatter.h \
$(srcdir)/PylogFormatter.h \
$(srcdir)/dir-util-test.h \
$(srcdir)/extract-uri-test.h \
$(srcdir)/mod360-test.h \
$(srcdir)/round-test.h \
$(srcdir)/sp-gradient-test.h \
$(srcdir)/sp-style-elem-test.h \
$(srcdir)/style-test.h \
$(srcdir)/test-helpers.h \
$(srcdir)/verbs-test.h