X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=build.xml;h=a3fe9f31ca2fc48681792ac10d64faa7a45345f4;hb=0e2a2cc7bb4f35dbc5150de387b2e651714b6d5b;hp=6940b952dafcf67a5d5d2aea9b9bff21b5835098;hpb=4a159061fa3c22518e052929b7211112247756ba;p=inkscape.git diff --git a/build.xml b/build.xml index 6940b952d..a3fe9f31c 100644 --- a/build.xml +++ b/build.xml @@ -7,7 +7,7 @@ * Bob Jamison * Others * - * Copyright (C) 2006 Inkscape.org + * Copyright (C) 2006-2007 Inkscape.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -60,8 +60,9 @@ ## T A R G E T : I N I T ######################################################################## --> - - + + - #define INKSCAPE_VERSION "${version}+devel" + #define INKSCAPE_VERSION "${version}+devel" #ifndef _CONFIG_H_ @@ -124,8 +125,13 @@ #define RENDER_WITH_PANGO_CAIRO 1 #define HAVE_GTK_WINDOW_FULLSCREEN 1 + + /* internal interpreter */ + #define WITH_PYTHON 1 - #define g_ascii_strtod fixed_g_ascii_strtod + /* shared whiteboard */ + #define WITH_INKBOARD 1 + #define HAVE_SSL 1 #endif /* _CONFIG_H_ */ @@ -133,6 +139,17 @@ + + + + + + + description="compile the source to .o" > + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - + + + + + + + + + + - - - - - - + + + + + + -Wall -O3 -mms-bitfields @@ -224,40 +242,39 @@ -DVERSION=\"${version}\" -DHAVE_CONFIG_H -DXP_WIN - -D_INTL_REDIRECT_INLINE + -D_INTL_REDIRECT_INLINE -DRELAYTOOL_SSL="static const int libssl_is_present=1; static int __attribute__((unused)) libssl_symbol_is_present(char *s){ return 1; }" - -DWITH_INKBOARD -DHAVE_SSL -I${gtk}/include - + -I${gtk}/include/glibmm-2.4 - -I${gtk}/lib/glibmm-2.4/include + -I${gtk}/lib/glibmm-2.4/include -I${gtk}/include/gtkmm-2.4 - -I${gtk}/lib/gtkmm-2.4/include + -I${gtk}/lib/gtkmm-2.4/include -I${gtk}/include/gdkmm-2.4 - -I${gtk}/lib/gdkmm-2.4/include + -I${gtk}/lib/gdkmm-2.4/include -I${gtk}/include/pangomm-1.4 -I${gtk}/include/atkmm-1.6 -I${gtk}/include/cairomm-1.0 -I${gtk}/include/sigc++-2.0 - -I${gtk}/lib/sigc++-2.0/include + -I${gtk}/lib/sigc++-2.0/include -I${gtk}/include/gtk-2.0 - -I${gtk}/lib/gtk-2.0/include + -I${gtk}/lib/gtk-2.0/include -I${gtk}/include/atk-1.0 - -I${gtk}/include/pango-1.0 + -I${gtk}/include/pango-1.0 -I${gtk}/include/glib-2.0 - -I${gtk}/lib/glib-2.0/include - + -I${gtk}/lib/glib-2.0/include + -I${gtk}/include/libxml2 - -I${gtk}/include/freetype2 - -I${gtk}/include/cairo - - -Wno-comment -I${gtk}/perl/lib/CORE - - -I${gtk}/python/include + -I${gtk}/include/freetype2 + -I${gtk}/include/cairo + + -Wno-comment -I${gtk}/perl/lib/CORE + + -I${gtk}/python/include - + @@ -266,15 +283,16 @@ ## T A R G E T : L I B ######################################################################## --> - + - - - - - - + + + + + + @@ -284,12 +302,14 @@ ## T A R G E T : I 1 8 N ######################################################################## --> - + + - - - + + + @@ -301,14 +321,16 @@ ## T A R G E T : L I N K ######################################################################## --> - + + - - --include-dir=${src} - - + file="${src}/inkscape.rc" + out="${build}/inkres.o"> + + --include-dir=${src} + + - - - - - - - - -L${gtk}/lib + + + + + + + + -L${gtk}/lib -lgtkmm-2.4 -lgdkmm-2.4 -lglibmm-2.4 -latkmm-1.6 -lpangomm-1.4 -lsigc-2.0 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 @@ -331,7 +353,7 @@ -lpangocairo-1.0 -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lcairo - -L${gtk}/perl/lib/CORE -lperl58 + -L${gtk}/perl/lib/CORE -lperl58 -L${gtk}/python/libs -lpython24 ${gtk}/bin/libxml2.dll @@ -341,8 +363,8 @@ -lssl -lcrypto -lpng -lpopt ${gtk}/lib/zdll.lib -lgc -mwindows -lws2_32 -lintl -lm - - + + @@ -354,14 +376,16 @@ ## T A R G E T : L I N K I N K V I E W ######################################################################## --> - + + - - --include-dir=${src} - - + file="${src}/inkview.rc" + out="${build}/inkviewres.o"> + + --include-dir=${src} + + - - < include name="inkviewres.o"/ > - - - - - -L${gtk}/lib + + + + + + + -L${gtk}/lib -lgtkmm-2.4 -lgdkmm-2.4 -lglibmm-2.4 -latkmm-1.6 -lpangomm-1.4 -lsigc-2.0 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 @@ -383,7 +407,7 @@ -lpangocairo-1.0 -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lcairo - -L${gtk}/perl/lib/CORE -lperl58 + -L${gtk}/perl/lib/CORE -lperl58 -L${gtk}/python/libs -lpython24 ${gtk}/bin/libxml2.dll @@ -393,8 +417,8 @@ -lssl -lcrypto -lpng -lpopt ${gtk}/lib/zdll.lib -lgc -mwindows -lws2_32 -lintl -lm - - + + @@ -405,7 +429,8 @@ ######################################################################## --> + description="generate the distribution directory with all needed files"> + @@ -454,10 +479,10 @@ - - - - + + + + @@ -466,10 +491,10 @@ - - - - + + + + @@ -499,6 +524,7 @@ --> + @@ -512,10 +538,13 @@ ######################################################################## --> - + description="clean up. deleting build and distro dirs" > + + + +