diff --git a/src/Makefile_insert b/src/Makefile_insert
index 02f15922acd5f11700c98b70ba9cc844577f8ea2..43a6295d65421eb01c69e9688d7722cc5da10a89 100644 (file)
--- a/src/Makefile_insert
+++ b/src/Makefile_insert
## Makefile.am fragment, included by src/Makefile.am.
-# ################################################
-#
-# E X T R A
-#
-# ################################################
-
-if OS_WIN32
-win32_sources = winmain.cpp
-win32ldflags = -lcomdlg32
-endif
-
-if INKJAR
-inkjar_dir = inkjar
-inkjar_libs = inkjar/libinkjar.a
-endif
-
-
# ################################################
#
# I N K S C A P E
approx-equal.h remove-last.h \
arc-context.cpp arc-context.h \
attributes.cpp attributes.h \
+ axis-manip.cpp axis-manip.h \
bad-uri-exception.h \
+ box3d.cpp box3d.h \
+ box3d-context.cpp box3d-context.h \
+ box3d-side.cpp box3d-side.h \
brokenimage.xpm \
color-rgba.h \
color-profile.cpp color-profile.h \
color-profile-fns.h \
+ common-context.cpp common-context.h\
conditions.cpp conditions.h\
conn-avoid-ref.cpp conn-avoid-ref.h \
connector-context.cpp connector-context.h \
connection-pool.h \
+ console-output-undo-observer.h console-output-undo-observer.cpp \
context-fns.cpp context-fns.h \
desktop-affine.cpp desktop-affine.h \
desktop-events.cpp desktop-events.h \
desktop-handles.cpp desktop-handles.h \
desktop-style.cpp desktop-style.h \
desktop.cpp desktop.h \
+ device-manager.cpp \
+ device-manager.h \
document-undo.cpp \
document.cpp document.h document-private.h \
document-subset.cpp document-subset.h \
- doxygen-main.cpp \
+ doxygen-main.cpp \
draw-anchor.cpp \
draw-anchor.h \
draw-context.cpp draw-context.h \
dropper-context.cpp dropper-context.h \
dyna-draw-context.cpp dyna-draw-context.h \
enums.h \
+ eraser-context.cpp eraser-context.h \
event-context.cpp event-context.h \
+ event-log.cpp event-log.h event.h \
extract-uri.cpp extract-uri.h \
file.cpp file.h \
- fontsize-expansion.cpp fontsize-expansion.h \
+ filter-chemistry.cpp filter-chemistry.h \
+ filter-enums.cpp filter-enums.h \
+ flood-context.cpp flood-context.h \
forward.h \
- geom.cpp geom.h \
- gnuc-attribute.h \
gradient-context.cpp gradient-context.h \
gradient-drag.cpp gradient-drag.h \
help.cpp help.h \
- icon-size.h \
+ helper-fns.h \
+ icon-size.h \
+ id-clash.cpp id-clash.h \
+ ige-mac-menu.h ige-mac-menu.c \
inkscape-stock.cpp inkscape-stock.h\
inkscape.cpp inkscape.h inkscape-private.h \
interface.cpp interface.h \
- isnan.h \
+ isinf.h \
+ isnormal.h \
knot-enums.h \
- knot-holder-entity.h \
+ knot-holder-entity.h knot-holder-entity.cpp \
knot.cpp knot.h \
knotholder.cpp knotholder.h \
layer-fns.cpp layer-fns.h \
layer-manager.cpp layer-manager.h \
+ line-geometry.cpp line-geometry.h \
+ lpe-tool-context.cpp lpe-tool-context.h \
macros.h \
- marker-status.cpp marker-status.h \
+ main-cmdlineact.cpp main-cmdlineact.h \
media.cpp media.h \
message-context.cpp message-context.h \
message-stack.cpp message-stack.h \
pen-context.h \
pencil-context.cpp \
pencil-context.h \
+ persp3d.cpp persp3d.h \
+ persp3d-reference.cpp persp3d-reference.h \
+ perspective-line.cpp perspective-line.h \
preferences.cpp preferences.h \
preferences-skeleton.h \
menus-skeleton.h \
prefix.cpp \
prefix.h \
- prefs-utils.cpp \
- prefs-utils.h \
print.cpp print.h \
+ profile-manager.cpp \
+ profile-manager.h \
+ proj_pt.cpp proj_pt.h \
rect-context.cpp rect-context.h \
require-config.h \
rubberband.cpp rubberband.h \
selection.cpp selection.h \
seltrans-handles.cpp seltrans-handles.h \
seltrans.cpp seltrans.h \
+ shape-editor.cpp shape-editor.h \
shortcuts.cpp shortcuts.h \
- slideshow.cpp slideshow.h \
snap.cpp snap.h \
+ snap-preferences.cpp snap-preferences.h \
+ snapped-curve.cpp snapped-curve.h \
+ snapped-line.cpp snapped-line.h \
snapped-point.cpp snapped-point.h \
snapper.cpp snapper.h \
+ syseq.h \
+ transf_mat_3x4.cpp transf_mat_3x4.h \
line-snapper.cpp line-snapper.h \
- grid-snapper.cpp grid-snapper.h \
guide-snapper.cpp guide-snapper.h \
object-snapper.cpp object-snapper.h \
sp-anchor.cpp sp-anchor.h \
sp-conn-end.cpp sp-conn-end.h \
sp-cursor.cpp sp-cursor.h \
sp-defs.cpp sp-defs.h \
+ sp-desc.cpp sp-desc.h \
sp-ellipse.cpp sp-ellipse.h \
+ sp-filter-fns.h \
+ sp-filter-primitive.cpp \
+ sp-filter-primitive.h \
+ sp-filter-reference.cpp \
+ sp-filter-reference.h \
+ sp-filter-units.h \
+ sp-filter.cpp sp-filter.h number-opt-number.h \
sp-flowdiv.h sp-flowdiv.cpp \
sp-flowregion.h sp-flowregion.cpp \
sp-flowtext.h sp-flowtext.cpp \
+ sp-font.cpp sp-font.h \
+ sp-font-face.cpp sp-font-face.h \
+ sp-glyph.cpp sp-glyph.h \
+ sp-missing-glyph.cpp sp-missing-glyph.h \
+ sp-glyph-kerning.cpp sp-glyph-kerning.h \
+ sp-gaussian-blur.cpp sp-gaussian-blur.h \
+ sp-gaussian-blur-fns.h \
sp-gradient-fns.h \
sp-gradient-reference.cpp \
sp-gradient-reference.h \
sp-line.cpp sp-line.h \
sp-linear-gradient-fns.h \
sp-linear-gradient.h \
+ sp-lpe-item.cpp sp-lpe-item.h \
sp-marker-loc.h \
- sp-marker.cpp sp-marker.h \
+ marker.cpp marker.h \
sp-mask.cpp sp-mask.h \
sp-metadata.cpp sp-metadata.h \
sp-metric.h \
sp-radial-gradient.h \
sp-rect.cpp sp-rect.h \
sp-root.cpp sp-root.h \
+ sp-script.cpp sp-script.h \
sp-shape.cpp sp-shape.h \
sp-spiral.cpp sp-spiral.h \
sp-star.cpp sp-star.h \
sp-switch.cpp sp-switch.h\
sp-text.cpp sp-text.h \
sp-textpath.h \
+ sp-title.cpp sp-title.h \
+ sp-tref-reference.cpp sp-tref-reference.h \
+ sp-tref.cpp sp-tref.h \
sp-tspan.cpp sp-tspan.h \
sp-use-reference.cpp sp-use-reference.h \
sp-use.cpp sp-use.h \
spiral-context.cpp spiral-context.h \
splivarot.cpp splivarot.h \
star-context.cpp star-context.h \
- streams-gzip.h streams-gzip.cpp \
- streams-handles.h streams-handles.cpp \
- streams-jar.h streams-jar.cpp \
- streams-zlib.h streams-zlib.cpp \
style.cpp style.h \
sp-style-elem.cpp sp-style-elem.h \
svg-profile.h \
text-editing.cpp text-editing.h \
text-tag-attributes.h \
tools-switch.cpp tools-switch.h\
+ tweak-context.h tweak-context.cpp \
+ unicoderange.cpp unicoderange.h \
uri-references.cpp uri-references.h \
+ vanishing-point.cpp vanishing-point.h \
verbs.cpp verbs.h \
version.cpp version.h \
zoom-context.cpp zoom-context.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 = \
color.cpp color.h \
decimal-round.h \
dir-util.cpp dir-util.h \
+ ege-adjustment-action.cpp \
+ ege-adjustment-action.h \
+ ege-color-prof-tracker.cpp \
+ ege-color-prof-tracker.h \
+ ege-output-action.cpp \
+ ege-output-action.h \
+ ege-select-one-action.cpp \
+ ege-select-one-action.h \
fill-or-stroke.h \
+ filter-chemistry.cpp filter-chemistry.h \
+ filter-enums.cpp filter-enums.h \
fixes.cpp \
gc-alloc.h \
gc-anchored.h gc-anchored.cpp \
gc-finalized.h gc-finalized.cpp \
gc-managed.h \
gc-soft-ptr.h \
+ gc-allocator.h \
gc.cpp \
gradient-chemistry.cpp gradient-chemistry.h \
+ ink-action.cpp \
+ ink-action.h \
memeq.h \
round.h \
streq.h \
composite-undo-stack-observer.cpp \
undo-stack-observer.h \
unit-constants.h \
- uri.cpp uri.h
-
-inkscape_private_libs = \
- libinkpre.a \
- application/libinkapp.a \
- ui/dialog/libuidialog.a \
- dialogs/libspdialogs.a \
- jabber_whiteboard/libjabber_whiteboard.a \
- trace/libtrace.a \
- svg/libspsvg.a \
- widgets/libspwidgets.a \
- display/libspdisplay.a \
- helper/libspchelp.a \
- libcroco/libcroco.a \
- libnrtype/libnrtype.a \
- libnr/libnr.a \
- libavoid/libavoid.a \
- livarot/libvarot.a \
- ui/view/libuiview.a \
- ui/libui.a \
- ui/widget/libuiwidget.a \
- graphlayout/libgraphlayout.a \
- removeoverlap/libremoveoverlap.a \
- extension/libextension.a \
- extension/implementation/libimplementation.a \
- extension/internal/libinternal.a \
- extension/script/libscript.a \
- dom/libdom.a \
- xml/libspxml.a \
- util/libinkutil.a \
- io/libio.a \
- $(inkjar_libs) \
- libinkpost.a \
- debug/libinkdebug.a
+ uri.cpp uri.h \
+ helper/pixbuf-ops.cpp \
+ helper/pixbuf-ops.h
-all_libs = \
- $(inkscape_private_libs) \
- $(INKSCAPE_LIBS) \
- $(GNOME_PRINT_LIBS) \
- $(GNOME_VFS_LIBS) \
- $(XFT_LIBS) \
- $(FREETYPE_LIBS) \
- $(kdeldadd) \
- $(win32ldflags) \
- $(PERL_LIBS) \
- $(PYTHON_LIBS) \
- $(LIBLOUDMOUTH_LIBS)
+# Additional dependencies
desktop.$(OBJEXT): helper/sp-marshal.h
-document.$(OBJEXT): helper/sp-marshal.h inkscape_version.h
-extension/internal/latex-pstricks.$(OBJEXT): inkscape_version.h
-extension/internal/ps.$(OBJEXT): inkscape_version.h
-inkscape.$(OBJEXT): helper/sp-marshal.h inkscape_version.h
+document.$(OBJEXT): helper/sp-marshal.h
+inkscape.$(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
# ################################################
inkview_SOURCES = inkview.cpp $(win32_sources)
inkview_LDADD = $(all_libs)
-style_test_SOURCES = style-test.cpp
-style_test_LDADD = $(all_libs)
+libinkversion_a_SOURCES = inkscape-version.cpp inkscape-version.h
-inkscape_version.h: ../configure.ac
- echo '#define INKSCAPE_VERSION "$(VERSION)"' > inkscape_version.h
+# Hack: make inkscape-version.cpp a phony target.
+# Create the version file every time "make" is invoked. Overwrite it only
+# if it changes. Watch the backslashes!
+inkscape-version.cpp:
+ VER_PREFIX="$(VERSION)"; \
+ if test -x "$(srcdir)/.svn" -a ! -z `which svn`; then \
+ VER_SVNREV=" r`svn info $(srcdir) | sed -n -e '/^Revision:/s/Revision: \(.*\)/\1/p'`"; \
+ if test ! -z "`svn status -q $(srcdir)`"; then \
+ VER_CUSTOM=" custom"; \
+ fi; \
+ fi; \
+ VERSION="$$VER_PREFIX$$VER_SVNREV$$VER_CUSTOM"; \
+ echo "namespace Inkscape { " \
+ "char const *version_string = \"$$VERSION\"; " \
+ "}" > inkscape-version.new.cpp; \
+ if cmp -s inkscape-version.new.cpp inkscape-version.cpp; then \
+ rm inkscape-version.new.cpp; \
+ else \
+ mv inkscape-version.new.cpp inkscape-version.cpp; \
+ fi; \
+ echo $$VERSION
+.PHONY: inkscape-version.cpp
-test_all_includes = \
- attributes-test.h \
- color-profile-test.h \
- dir-util-test.h \
- extract-uri-test.h \
- mod360-test.h \
- round-test.h \
- sp-gradient-test.h \
- sp-style-elem-test.h \
- style-test.h \
- verbs-test.h
+# ######################
+# ### CxxTest stuff ####
+# ######################
+CXXTEST_TESTSUITES += \
+ $(srcdir)/MultiPrinter.h \
+ $(srcdir)/TRPIFormatter.h \
+ $(srcdir)/PylogFormatter.h \
+ $(srcdir)/attributes-test.h \
+ $(srcdir)/color-profile-test.h \
+ $(srcdir)/dir-util-test.h \
+ $(srcdir)/extract-uri-test.h \
+ $(srcdir)/mod360-test.h \
+ $(srcdir)/round-test.h \
+ $(srcdir)/preferences-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