~inkscape.dev/inkscape/trunk

5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
1
<!--
2
 * Inkscape build file.
3
 *
4
 * See buildtool.cpp for use.
5
 *
6
 * Authors:
7
 *   Bob Jamison
8
 *   Others 
9
 *
10
 * Copyright (C) 2006-2008 Inkscape.org
11
 *
12
 *  This library is free software; you can redistribute it and/or
13
 *  modify it under the terms of the GNU Lesser General Public
14
 *  License as published by the Free Software Foundation; either
15
 *  version 2.1 of the License, or (at your option) any later version.
16
 *
17
 *  This library is distributed in the hope that it will be useful,
18
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20
 *  Lesser General Public License for more details.
21
 *
22
 *  You should have received a copy of the GNU Lesser General Public
23
 *  License along with this library; if not, write to the Free Software
24
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
25
-->
26
27
28
29
<!--
30
########################################################################
31
## P R O J E C T   :   I N K S C A P E
32
########################################################################
33
-->
34
<project name="Inkscape" default="dist" basedir=".">
35
    <description>
36
        Build file for the Inkscape SVG editor.  This version
37
        is configured for Unix/Linux, but hopefully we can merge 
38
        in the future.
39
    </description>
40
41
  <!-- set global properties for this build -->
9621 by Ted Gould
Changing version on the devel branch to be 0.48+devel
42
  <property name="version"       value="0.48+devel"/>
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
43
  <property name="src"           location="src"/>
44
  <property name="lib"           location="lib"/>
45
  <property name="build"         location="build"/>
46
  <property name="dist"          location="inkscape"/>
47
48
  <!-- Use these settings for Unix -->  
49
  <!-- -->
50
  <property name="arch"          value=""/>
51
  <property name="archutil"      value=""/>
52
  <property name="devlibs"       location="/usr"/>
5867 by ishmal
better compilation for linux
53
  <property name="datadir"       location="${dist}/share"/>
54
55
   <!-- -->
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
56
57
  <!-- Use these settings for the MinGW native compiler -->  
58
  <!--
59
  <property name="arch"          value="mingw32-"/>
60
  <property name="archutil"      value=""/>
61
  <property name="devlibs"       location="c:/devlibs"/>
62
  -->
63
64
  <!-- Use these settings for the MinGW cross compiler -->  
65
  <!--
66
  <property name="arch"          value="i686-pc-mingw32-"/>
67
  <property name="archutil"      value="${arch}"/>
68
  <property name="gtk"           location="/target"/>
69
  -->
70
71
  <!-- Extra properties -->  
72
  <property name="refresh"       value="false"/>
73
74
  <!--
75
    This is for package-config.  With these two settings, pkg-config
76
    queries can be as simple as ${pcc.packageName} for cflags, and
77
    ${pcl.packageName} for libs.  Dependencies are calculated automatically.
78
  -->
79
  <property name="pkg-config-path"   location="${devlibs}/lib/pkgconfig"/>
80
  <property name="pkg-config-prefix" location="${devlibs}"/>
81
82
83
  <!--
84
  ########################################################################
85
  ## T A R G E T    :    I N I T
86
  ########################################################################
87
  -->
88
  <target name="init"
89
      description=
90
      "Do all preparatory tasks, like make directories and copy files">
91
92
93
    <mkdir dir="${build}"/>
94
    <mkdir dir="${build}/java"/>
95
    <mkdir dir="${build}/java/classes"/>
96
    <mkdir dir="${build}/java/lib"/>
97
98
    <mkdir dir="${build}"/>
99
    <mkdir dir="${dist}"/>
100
    <copy file="${src}/helper/sp-marshal.h.mingw"
101
          tofile="${src}/helper/sp-marshal.h"/>
102
    <copy file="${src}/helper/sp-marshal.cpp.mingw"
103
          tofile="${src}/helper/sp-marshal.cpp"/>
104
    <makefile file="inkscape_version.h">
6884 by Ted Gould
Merging from trunk
105
        #define INKSCAPE_VERSION "${version}, revision ${svn.revision}"
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
106
    </makefile>
107
    <makefile file="config.h">
108
        #ifndef _CONFIG_H_
109
        #define _CONFIG_H_
110
111
        /*######################################
112
        ## This is for require-config.h, whose
113
        ## purpose I cannot fathom.
114
        ######################################*/
115
        
116
        #define PACKAGE_TARNAME
117
118
        /*######################################
119
        #### RESOURCE DIRECTORIES
120
        ######################################*/
121
122
        #define INKSCAPE_DATADIR       "."
123
        #define PACKAGE_LOCALE_DIR     "locale"
124
125
126
        /*######################################
127
        #### OTHER DEFINITIONS
128
        ######################################*/
129
130
        #define GETTEXT_PACKAGE "inkscape"
131
132
        #define PACKAGE_STRING                VERSION
133
134
        #define HAVE_GETOPT_H                 1
135
        #define HAVE_STRING_H                 1
136
        #define HAVE_LIBINTL_H                1
137
        #define HAVE_MALLOC_H                 1
138
        #define HAVE_STDLIB_H                 1
139
        #define HAVE_SYS_STAT_H               1
140
        #define HAVE_INTTYPES_H               1
141
        #define HAVE_ZLIB_H                   1
142
143
        #define ENABLE_LCMS                   1
144
11864 by JazzyNico
Win32. Updating the trunk for devlibs r36.
145
        #define WITH_GTKMM_2_24               1
146
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
147
        #define ENABLE_NLS                    1
148
        #define HAVE_BIND_TEXTDOMAIN_CODESET  1
149
150
        /* make us relocatable */
151
        #define BR_PTHREADS                   1
152
        #define ENABLE_BINRELOC               1
153
154
        /* CairoPDF options */
155
        #define HAVE_CAIRO_PDF                1
156
        #define PANGO_ENABLE_ENGINE           1
157
        #define RENDER_WITH_PANGO_CAIRO       1
158
159
        #define HAVE_GTK_WINDOW_FULLSCREEN    1
160
        
161
        /* internal interpreter */
162
        #define WITH_PYTHON                   1
163
164
        /* shared whiteboard */
8663 by scislac
Removing the "1"s from the whiteboard related undefs (buildtool related).
165
        #undef WITH_INKBOARD
166
        #undef HAVE_SSL
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
167
        
168
        /* use poppler for pdf import? */
169
        #define HAVE_POPPLER                  1
170
        #define HAVE_POPPLER_CAIRO            1
171
172
        /* do we want bitmap manipulation? */
173
        #define WITH_IMAGE_MAGICK             1
174
175
        /* Allow reading WordPerfect? */
176
        #define WITH_LIBWPG                   1
177
10269 by Jon A. Cruz
Update to win32 build defines for libwpg issue.
178
        /* Default  to libwpg 0.1.x */
179
        #define WITH_LIBWPG01                 1
180
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
181
        #endif /* _CONFIG_H_ */
182
    </makefile>
183
  </target>
184
185
186
187
  <!--
188
  ########################################################################
189
  ## T A R G E T    :    T O U C H A B O U T
190
  ########################################################################
191
  -->
192
  <target name="touchabout"
6884 by Ted Gould
Merging from trunk
193
      description="update the modification time of aboutbox.cpp">
194
    <!-- not good <touch file="${src}/ui/dialog/aboutbox.cpp"/> -->
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
195
    <!-- better -->
6884 by Ted Gould
Merging from trunk
196
    <delete file="${build}/obj/ui/dialog/aboutbox.o"/>
6891 by Ted Gould
Merge from fe-moved
197
    <delete file="inkscape_version.h"/>
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
198
  </target>
199
200
201
  <!--
202
  ########################################################################
203
  ## T A R G E T    :    C O M P I L E
204
  ########################################################################
205
  -->
206
  <target name="compile" depends="init"
207
        description="compile the source to .o" >
208
209
    <!-- Compile from source to build -->
210
    <cc cc="${arch}gcc" cxx="${arch}g++"
211
             destdir="${build}/obj"
5889 by ishmal
tweaks
212
             continueOnError="false"
213
             refreshCache="${refresh}">
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
214
        <fileset dir="${src}">
215
            <!-- THINGS TO EXCLUDE -->
216
            <exclude name="2geom/chebyshev.cpp"/>
217
            <exclude name="ast/.*"/>
218
            <exclude name="bonobo/.*"/>
219
            <exclude name="deptool.cpp"/>
220
            <exclude name="test-all.cpp"/>
221
            <exclude name="display/testnr.cpp"/>
222
            <exclude name="display/bezier-utils-test.cpp"/>
223
            <exclude name="dom/work/.*"/>
224
            <exclude name="dom/odf/SvgOdg.cpp"/>
225
            <exclude name="extension/api.cpp"/>
226
            <exclude name="extension/dxf2svg/.*"/>
227
            <exclude name="extension/implementation/plugin.cpp"/>
228
            <exclude name="extension/script/bindtest.cpp"/>
229
            <exclude name="extension/script/cpptest.cpp"/>
230
            <exclude name="extension/plugin/.*"/>
231
            <exclude name="extract-uri-test.cpp"/>
232
            <exclude name="helper/units-test.cpp"/>
233
            <!-- exclude name="inkview.cpp"/-->
234
            <exclude name="libnr/test-nr.cpp"/>
235
            <exclude name="libnr/test-nr-main.cpp"/>
236
            <exclude name="libnr/testnr.cpp"/>
237
            <exclude name="libnr/in-svg-plane-test.cpp"/>
238
            <exclude name="libnr/nr-compose-reference.cpp"/>
239
            <exclude name="libnr/nr-compose-test.cpp"/>
240
            <exclude name="libnr/nr-matrix-test.cpp"/>
241
            <exclude name="libnr/nr-point-fns-test.cpp"/>
242
            <exclude name="libnr/nr-rotate-fns-test.cpp"/>
243
            <exclude name="libnr/nr-rotate-test.cpp"/>
244
            <exclude name="libnr/nr-scale-test.cpp"/>
245
            <exclude name="libnr/nr-translate-test.cpp"/>
246
            <exclude name="libnr/nr-types-test.cpp"/>
247
            <exclude name="livarot/Path-test.cpp"/>
248
            <exclude name="mod360-test.cpp"/>
249
            <exclude name="trace/potrace/potest.cpp"/>
250
            <exclude name="round-test.cpp"/>
251
            <exclude name="sp-gradient-test.cpp"/>
252
            <exclude name="svg/ftos.cpp"/>
253
            <exclude name="svg/test-svg.cpp"/>
254
            <exclude name="svg/test-svg-main.cpp"/>
255
            <exclude name="widgets/test-widgets.cpp"/>
256
            <exclude name="xml/quote-test.cpp"/>
257
            <exclude name="xml/repr-action-test.cpp"/>
258
            <exclude name="xml/test-xml.cpp"/>
259
            <exclude name="xml/test-xml-main.cpp"/>
260
            <exclude name="io/streamtest.cpp"/>
261
            <!--JABBER-->
262
            <exclude name="pedro/pedrogui.cpp"/>
263
            <exclude name="pedro/pedrogui.h"/>
264
            <exclude name="pedro/work/.*"/>
265
            <!--WHITEBOARD-->
266
            <exclude name="ui/dialog/session-player.cpp"/>
267
            <exclude name="ui/dialog/whiteboard-connect.cpp"/>
268
            <exclude name="ui/dialog/whiteboard-sharewithchat.cpp"/>
269
            <exclude name="ui/dialog/whiteboard-sharewithuser.cpp"/>
270
            <exclude name="dialogs/whiteboard-connect-dialog.cpp"/>
271
            <exclude name="dialogs/whiteboard-common-dialog.cpp"/>
272
            <exclude name="dialogs/whiteboard-sharewithchat-dialog.cpp"/>
273
            <exclude name="dialogs/whiteboard-sharewithuser-dialog.cpp"/>
274
            <exclude name="jabber_whiteboard/node-tracker.cpp"/>
275
            <exclude name="jabber_whiteboard/node-utilities.cpp"/>
276
            <!--OVERLAP-->
277
            <exclude name="removeoverlap/placement_SolveVPSC.cpp"/>
278
            <exclude name="removeoverlap/placement_SolveVPSC.h"/>
279
            <exclude name="removeoverlap/test.cpp"/>
280
            <exclude name="removeoverlap/remove_rectangle_overlap-test.cpp"/>
281
            <exclude name="removeoverlap/remove_rectangle_overlap-test.h"/>
282
            <!--WIN32 -->
283
            <exclude name="registrytool.cpp"/>
284
            <exclude name="extension/internal/win32.cpp"/>
285
            <exclude name="libgdl/gdl-win32.c"/>
286
        </fileset>
287
        <excludeinc dir="${src}">
288
            <file name="extension/param"/>
289
        </excludeinc>
290
        <flags>
291
            -Wall -Wformat -Werror=format-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch
5889 by ishmal
tweaks
292
            -O2
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
293
        </flags>
294
        <defines>
295
            -DVERSION=\"${version}\"
296
            -DHAVE_CONFIG_H
297
            -D_INTL_REDIRECT_INLINE
298
            -DHAVE_SSL
299
            -DRELAYTOOL_SSL="static const int libssl_is_present=1; static int __attribute__((unused)) libssl_symbol_is_present(char *s){ return 1; }" <!-- inkboard -->
300
        </defines>
301
        <includes>
302
            -I${devlibs}/include
303
            <!-- GTK / GTKMM -->
304
            ${pcc.gtkmm-2.4}
305
            <!-- OTHER -->
5889 by ishmal
tweaks
306
            ${pcc.libxslt}
5867 by ishmal
better compilation for linux
307
            ${pcc.freetype2}
308
            ${pcc.cairo}
309
            ${pcc.poppler}
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
310
            -I${devlibs}/include/gc
5889 by ishmal
tweaks
311
            ${pcc.libwpg-0.1} ${pcc.libwpg-stream-0.1}
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
312
            <!-- PYTHON -->
313
            -I${devlibs}/python/include
314
            <!-- JAVA -->
315
            -I${src}/bind/javainc -I${src}/bind/javainc/linux
316
        </includes>
317
    </cc>
318
  </target>
319
  
320
321
  <!--
322
  ########################################################################
323
  ## T A R G E T    :    L I B
324
  ########################################################################
325
  -->
326
  <target name="lib" depends="compile"
327
      description="create a static library">
328
    <staticlib command="${archutil}ar crsv"
329
           file="${build}/libinkscape.a">
330
       <fileset dir="${build}/obj">
331
           <exclude name="main.o"/>
332
           <exclude name="winmain.o"/>
333
           <exclude name="inkview.o"/>
334
       </fileset>
335
    </staticlib>
336
  </target>
337
338
339
340
  <!--
341
  ########################################################################
342
  ## T A R G E T    :    I 1 8 N
343
  ########################################################################
344
  -->
345
  <target name="i18n" depends="compile"
346
      description="compile gettext .po files to .mo">
347
348
    <msgfmt todir="${build}/locale" owndir="true"
349
         out="LC_MESSAGES/inkscape.mo">
350
       <fileset dir="po">
351
       </fileset>
352
    </msgfmt>
353
  </target>
354
355
356
357
358
359
  <!--
360
  ########################################################################
361
  ## T A R G E T    :    L I N K
362
  ########################################################################
363
  -->
364
  <target name="link" depends="lib"
365
      description="link objects and library to create executable">
366
367
    <link command="${arch}g++" out="${build}/inkscape"
368
              strip="true" symfile="${build}/inkscape.dbg"
369
              stripcommand="${archutil}strip"
370
              objcopycommand="${archutil}objcopy">
371
       <flags>
372
       </flags>
373
       <fileset dir="${build}">
374
           <include name="obj/main.o"/>
375
           <include name="libinkscape.a"/>
376
       </fileset>
377
       <libs>
378
          -L${devlibs}/lib
379
           ${pcl.poppler} ${pcl.poppler-cairo} ${pcl.poppler-glib}
380
           ${pcl.gtkmm-2.4}
381
           ${pcl.cairo} ${pcl.cairomm-1.0}
382
           ${pcl.gthread-2.0}
5889 by ishmal
tweaks
383
           ${pcl.libxslt}
384
           ${pcl.libwpg-0.1} ${pcl.libwpg-stream-0.1}
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
385
           ${pcl.ImageMagick++}
386
           ${pcl.fontconfig} ${pcl.freetype2}
387
           ${pcl.lcms}
388
           ${pcl.gsl}
389
           -lssl -lcrypto
390
           -lpng -ljpeg -ltiff -lpopt -lz
5889 by ishmal
tweaks
391
           -lgc -lm
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
392
       </libs>
393
    </link>
394
  </target>
395
  
396
397
398
399
400
  <!--
401
  ########################################################################
402
  ## T A R G E T    :    L I N K I N K V I E W
403
  ########################################################################
404
  -->
405
  <target name="linkinkview" depends="lib"
406
        description="link objects and library to create Inkview executable">
407
408
    <link command="${arch}g++" out="${build}/inkview"
409
              strip="true" symfile="${build}/inkview.dbg"
410
              stripcommand="${archutil}strip"
411
              objcopycommand="${archutil}objcopy">
412
       <flags>
413
       </flags>
414
       <fileset dir="${build}">
415
           <include name="obj/inkview.o"/>
416
           <include name="libinkscape.a"/>
417
       </fileset>
418
       <libs>
419
           -L${devlibs}/lib
420
           ${pcl.poppler}
421
           ${pcl.gtkmm-2.4}
422
           ${pcl.cairo} ${pcl.cairomm-1.0}
423
           <!-- PERL -->
424
           -L${devlibs}/perl/lib/CORE -lperl58
425
           <!-- PYTHON -->
426
           -L${devlibs}/python/libs -lpython25
427
           -lxml2 -lxslt
428
           -lwpg-0.1 -lwpg-stream-0.1
429
           ${pcl.ImageMagick++}
430
           ${pcl.fontconfig} ${pcl.freetype2}
431
           ${pcl.lcms}
432
           -lssl -lcrypto
433
           -lpng -ljpeg -ltiff -lpopt -lz
434
           -lgc
5889 by ishmal
tweaks
435
       -lintl -liconv -lm
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
436
       </libs>
437
    </link>
438
  </target>
439
440
441
442
  <!--
443
  ########################################################################
444
  ## T A R G E T    :    D I S T
445
  ########################################################################
446
  -->
447
  <target name="dist" depends="link,i18n"
448
      description="generate the distribution directory with all needed files">
449
450
    <!-- Create the distribution directory -->
5867 by ishmal
better compilation for linux
451
    <mkdir dir="${dist}/bin"/>
452
    <mkdir dir="${dist}/lib"/>
453
454
    <!-- Copy Inkscape files -->
455
    <copy file="${build}/inkscape"     todir="${dist}/bin"/>
456
    <copy file="${build}/inkscape.dbg" todir="${dist}/bin"/>
457
    <copy file="AUTHORS"               todir="${dist}"/>
458
    <copy file="COPYING"               todir="${dist}"/>
459
    <copy file="COPYING.LIB"           todir="${dist}"/>
460
    <copy file="NEWS"                  todir="${dist}"/>
461
    <copy file="README"                todir="${dist}"/>
462
    <copy file="TRANSLATORS"           todir="${dist}"/>
463
    <copy todir="${datadir}/inkscape">  
10753 by tavmjong-free
Add possibility to check validity of attributes and usefulness of properties.
464
        <fileset dir="share/attributes"> <exclude name=".*\.am"/> </fileset>
465
    </copy>
466
    <copy todir="${datadir}/inkscape">  
5867 by ishmal
better compilation for linux
467
        <fileset dir="share/clipart"> <exclude name=".*\.am"/> </fileset>
468
    </copy>
469
    <copy todir="${datadir}/inkscape">  
470
        <fileset dir="share/examples"> <exclude name=".*\.am"/> </fileset>
471
    </copy>
472
    <copy todir="${datadir}/inkscape">  
473
        <fileset dir="share/extensions"> <exclude name=".*\.am"/> </fileset>
474
    </copy>
475
    <copy todir="${datadir}/inkscape">  
476
        <fileset dir="share/fonts"> <exclude name=".*\.am"/> </fileset>
477
    </copy>
478
    <copy todir="${datadir}/inkscape">  
479
        <fileset dir="share/gradients"> <exclude name=".*\.am"/> </fileset>
480
    </copy>
481
    <copy todir="${datadir}/inkscape">  
482
        <fileset dir="share/icons"> <exclude name=".*\.am"/> </fileset>
483
    </copy>
484
    <copy todir="${datadir}/inkscape">  
485
        <fileset dir="share/keys"> <exclude name=".*\.am"/> </fileset>
486
    </copy>
487
    <copy todir="${datadir}/inkscape">  
488
        <fileset dir="share/markers"> <exclude name=".*\.am"/> </fileset>
489
    </copy>
490
    <copy todir="${datadir}/inkscape">  
491
        <fileset dir="share/palettes"> <exclude name=".*\.am"/> </fileset>
492
    </copy>
493
    <copy todir="${datadir}/inkscape">  
494
        <fileset dir="share/patterns"> <exclude name=".*\.am"/> </fileset>
495
    </copy>
496
    <copy todir="${datadir}/inkscape">  
497
        <fileset dir="share/screens"> <exclude name=".*\.am"/> </fileset>
498
    </copy>
499
    <copy todir="${datadir}/inkscape">  
11782 by tavmjong-free
Add symbols dialog. See: http://wiki.inkscape.org/wiki/index.php/SymbolsDialog
500
        <fileset dir="share/symbols"> <exclude name=".*\.am"/> </fileset>
501
    </copy>
502
    <copy todir="${datadir}/inkscape">  
5867 by ishmal
better compilation for linux
503
        <fileset dir="share/templates"> <exclude name=".*\.am"/> </fileset>
504
    </copy>
505
    <copy todir="${datadir}/inkscape">  
506
        <fileset dir="share/tutorials"> <exclude name=".*\.am"/> </fileset>
507
    </copy>
508
    <copy todir="${datadir}/inkscape">  
509
        <fileset dir="share/ui"> <exclude name=".*\.am"/> </fileset>
510
    </copy>
511
    <copy todir="${datadir}">
512
        <fileset dir="${build}/locale"> <exclude name=".*\.am"/> </fileset>
513
    </copy>
514
515
    <!-- Copy devlibs files -->
516
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
517
518
  </target>
519
520
521
  <!--
522
  ########################################################################
523
  ## T A R G E T    :    JAVAC
524
  ########################################################################
525
  -->
526
  <target name="javac" depends="init"
527
      description="compile java binding classes">
528
    <javac srcdir="${src}/bind/java" destdir="${build}/java/classes"/>
529
  </target>
530
531
532
  <!--
533
  ########################################################################
534
  ## T A R G E T    :    JAR
535
  ########################################################################
536
  -->
537
  <target name="jar" depends="javac"
538
      description="pack java classes and resources into a jar file">
5867 by ishmal
better compilation for linux
539
    <copy todir="${build}/java/classes"> <fileset dir="bind/data"/></copy>
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
540
    <jar basedir="${build}/java/classes" destfile="${build}/java/lib/inkscape.jar"/>
541
  </target>
542
543
  <!--
544
  ########################################################################
545
  ## T A R G E T    :    BINDDIST
546
  ########################################################################
547
  -->
548
  <target name="binddist" depends="jar"
549
      description="pack java classes and resources into a jar file">
5867 by ishmal
better compilation for linux
550
    <copy todir="${datadir}/inkscape/bind">      <fileset dir="bind/java"/> </copy>
551
    <copy todir="${datadir}/inkscape/bind/java"> <fileset dir="${build}/java/lib"/>    </copy>
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
552
553
  </target>
554
555
  <!--
556
  ########################################################################
557
  ## T A R G E T    :    BINDCLEAN
558
  ########################################################################
559
  -->
560
  <target name="bindclean" depends=""
561
      description="clean up java binding classes">
562
        <delete dir="${build}/java"/>
563
  </target>
564
565
566
567
568
  <!--
569
  ########################################################################
570
  ## T A R G E T    :    D I S T - A L L
571
  ########################################################################
572
  -->
573
  <target name="dist-all" depends="dist"
574
        description="generate the distribution, along with inkview" >
575
5867 by ishmal
better compilation for linux
576
    <copy file="${build}/inkview"     todir="${dist}/bin"/>
577
    <copy file="${build}/inkview.dbg" todir="${dist}/bin"/>
578
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
579
  </target>
580
581
582
583
584
585
  <!--
586
  ########################################################################
587
  ## T A R G E T    :    C L E A N
588
  ########################################################################
589
  -->
590
  <target name="clean" depends="bindclean"
591
        description="clean up.  deleting build and distro dirs" >
592
593
    <delete dir="${build}"/>
594
    <delete dir="${dist}"/>
595
    <delete file="build.dep"/>
596
    <delete file="config.h"/>
6891 by Ted Gould
Merge from fe-moved
597
    <delete file="inkscape_version.h"/>
5833 by ishmal
rollup of buildtool/unix work. compiles and links inkscape
598
599
  </target>
600
601
602
603
</project>
604
<!--
605
########################################################################
606
## E N D
607
########################################################################
608
-->
609