Makefile_insert revision b26cc655b98659f4a33794ee9169b67d908b824b
## Makefile.am fragment, included by src/Makefile.am.
# ################################################
#
# E X T R A
#
# ################################################
if PLATFORM_WIN32
win32ldflags = -lcomdlg32
endif
if INKJAR
inkjar_dir = inkjar
inkjar_libs = inkjar/libinkjar.a
endif
# ################################################
#
# I N K S C A P E
#
# ################################################
# libinkpre.a: any object that's sharable between inkscape & inkview,
# and isn't needed by object files in subdirectories (i.e. libinkpre.a
# comes before subdirectory libraries on the link line).
#
# Excludes winmain.cpp (a gui wrapper around main): I'm guessing that
# it needs to be explicitly listed as a source of each graphical
# binary: it isn't (to my knowledge) called by main (whether directly
# or indirectly), so I don't think that putting it in a library will
# suffice to get it linked in. Windows devel please confirm. -- pjrm.
libinkpre_a_SOURCES = \
enums.h \
macros.h \
prefix.h \
syseq.h \
# Force libinkpost.a to be rebuilt if we add files to libinkpost_a_SOURCES.
libinkpost_a_DEPENDENCIES = Makefile_insert
# 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/.
libinkpost_a_SOURCES = \
gc.cpp \
memeq.h \
round.h \
streq.h \
strneq.h \
inkscape_private_libs = \
2geom/lib2geom.a \
$(inkjar_libs) \
all_libs = \
$(inkscape_private_libs) \
$(INKSCAPE_LIBS) \
$(GNOME_VFS_LIBS) \
$(XFT_LIBS) \
$(FREETYPE_LIBS) \
$(kdeldadd) \
$(win32ldflags) \
$(CARBON_LDFLAGS) \
$(PERL_LIBS) \
$(PYTHON_LIBS) \
$(INKBOARD_LIBS) \
$(LIBWPG_LIBS) \
$(IMAGEMAGICK_LIBS)
desktop.$(OBJEXT): helper/sp-marshal.h
document.$(OBJEXT): helper/sp-marshal.h inkscape_version.h
extension/internal/ps.$(OBJEXT): inkscape_version.h
inkscape.$(OBJEXT): helper/sp-marshal.h inkscape_version.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
# ################################################
#
# B I N A R I E S
#
# ################################################
inkscape_SOURCES = main.cpp $(win32_sources)
inkscape_LDADD = $(all_libs)
inkscape_LDFLAGS = --export-dynamic $(kdeldflags)
inkview_SOURCES = inkview.cpp $(win32_sources)
inkview_LDADD = $(all_libs)
style_test_SOURCES = style-test.cpp
style_test_LDADD = $(all_libs)
echo '#define INKSCAPE_VERSION "$(VERSION)"' > inkscape_version.h
test_all_includes = \
$(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