File: Makefile

package info (click to toggle)
pdftk 1.12-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,960 kB
  • ctags: 7,497
  • sloc: java: 47,941; cpp: 3,923; makefile: 235
file content (52 lines) | stat: -rw-r--r-- 2,201 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright 2003, 2004 Sid Steward
# This is part of pdftk; visit: www.pdftk.com
#
# Skipping RTF package because gcjh is complaining that
# a static member has the same name as a method, but doesn't
# tell me where the ambiguity is.  Since it isn't needed for
# pdftk, I left it out until I have time to find the trouble.
#
# also omitting hyphenation, html, since they aren't needed by pdftk

java_libs_root= $(CURDIR)

# append gcj flags
export GCJFLAGS+= --encoding=UTF-8 -I"$(java_libs_root)"

all : libgcj_local itext

libgcj_local :
	$(MAKE) -C "$(java_libs_root)/gnu_local/java/security";
	$(MAKE) -C "$(java_libs_root)/gnu_local/java/security/provider";
	$(MAKE) -C "$(java_libs_root)/gnu/gcj/convert";
	$(MAKE) -C "$(java_libs_root)/java_local/security";

itext :
	$(MAKE) -C "$(java_libs_root)/com/lowagie/text";
#	$(MAKE) -C "$(java_libs_root)/com/lowagie/text/html";
	$(MAKE) -C "$(java_libs_root)/com/lowagie/text/markup";
	$(MAKE) -C "$(java_libs_root)/com/lowagie/text/pdf";
	$(MAKE) -C "$(java_libs_root)/com/lowagie/text/pdf/codec";
#	$(MAKE) -C "$(java_libs_root)/com/lowagie/text/pdf/hyphenation";
	$(MAKE) -C "$(java_libs_root)/com/lowagie/text/pdf/wmf";
#	$(MAKE) -C "$(java_libs_root)/com/lowagie/text/rtf";
	$(MAKE) -C "$(java_libs_root)/com/lowagie/text/pdf/fonts";

clean : libgcj_local_clean itext_clean

libgcj_local_clean :
	$(MAKE) -iC "$(java_libs_root)/gnu_local/java/security" clean;
	$(MAKE) -iC "$(java_libs_root)/gnu_local/java/security/provider" clean;
	$(MAKE) -iC "$(java_libs_root)/gnu/gcj/convert" clean;
	$(MAKE) -iC "$(java_libs_root)/java_local/security" clean;

itext_clean :
	$(MAKE) -iC "$(java_libs_root)/com/lowagie/text" clean;
#	$(MAKE) -iC "$(java_libs_root)/com/lowagie/text/html" clean;
	$(MAKE) -iC "$(java_libs_root)/com/lowagie/text/markup" clean;
	$(MAKE) -iC "$(java_libs_root)/com/lowagie/text/pdf" clean;
	$(MAKE) -iC "$(java_libs_root)/com/lowagie/text/pdf/codec" clean;
#	$(MAKE) -iC "$(java_libs_root)/com/lowagie/text/pdf/hyphenation" clean;
	$(MAKE) -iC "$(java_libs_root)/com/lowagie/text/pdf/wmf" clean;
#	$(MAKE) -iC "$(java_libs_root)/com/lowagie/text/rtf" clean;
	$(MAKE) -iC "$(java_libs_root)/com/lowagie/text/pdf/fonts" clean;