Makefile_insert revision babf87c4230a815fd2f24c304d18a7af9a1b98e9
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi## Makefile.am fragment, included by src/Makefile.am.
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# ################################################
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# ################################################
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchiif PLATFORM_WIN32
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchiwin32_sources = winmain.cpp registrytool.cpp registrytool.h
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchiwin32ldflags = -lcomdlg32
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchiinkjar_dir = inkjar
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# ################################################
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# I N K S C A P E
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# ################################################
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# libinkpre.a: any object that's sharable between inkscape & inkview,
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# and isn't needed by object files in subdirectories (i.e. libinkpre.a
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# comes before subdirectory libraries on the link line).
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# Excludes winmain.cpp (a gui wrapper around main): I'm guessing that
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# it needs to be explicitly listed as a source of each graphical
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# binary: it isn't (to my knowledge) called by main (whether directly
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# or indirectly), so I don't think that putting it in a library will
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi# suffice to get it linked in. Windows devel please confirm. -- pjrm.
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchilibinkpre_a_SOURCES = \
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi connector-context.cpp connector-context.h \
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi console-output-undo-observer.h console-output-undo-observer.cpp \
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi document.cpp document.h document-private.h \
60b81b86c4b2eb3a0481176c344f4b6e7a6276faRobert Mustacchi dyna-draw-context.cpp dyna-draw-context.h \
macros.h \
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