Lines 1-5
Link Here
|
1 |
--- pnm/Makefile.orig Sun Dec 3 07:48:46 2000 |
1 |
--- pnm/Makefile.orig Mon Jan 8 03:54:37 2001 |
2 |
+++ pnm/Makefile Fri Dec 8 00:00:00 2000 |
2 |
+++ pnm/Makefile Sat Jan 13 00:00:00 2001 |
3 |
@@ -48,6 +48,8 @@ |
3 |
@@ -48,6 +48,8 @@ |
4 |
JPEGLD = -L$(JPEGLIB_DIR) -ljpeg |
4 |
JPEGLD = -L$(JPEGLIB_DIR) -ljpeg |
5 |
endif |
5 |
endif |
Lines 9-15
Link Here
|
9 |
# We tend to separate out the build targets so that we don't have |
9 |
# We tend to separate out the build targets so that we don't have |
10 |
# any more dependencies for a given target than it really needs. |
10 |
# any more dependencies for a given target than it really needs. |
11 |
# That way, if there is a problem with a dependency, we can still |
11 |
# That way, if there is a problem with a dependency, we can still |
12 |
@@ -55,22 +57,23 @@ |
12 |
@@ -55,22 +57,24 @@ |
13 |
# This package is so big, it's useful even when some parts won't |
13 |
# This package is so big, it's useful even when some parts won't |
14 |
# build. |
14 |
# build. |
15 |
|
15 |
|
Lines 17-25
Link Here
|
17 |
- pamfile pamtopnm \ |
17 |
- pamfile pamtopnm \ |
18 |
- pnmalias pnmarith pnmcat pnmcomp pnmconvol pnmcrop \ |
18 |
- pnmalias pnmarith pnmcat pnmcomp pnmconvol pnmcrop \ |
19 |
- pnmcut pnmdepth pnmenlarge pnmfile pnmflip pnmhisteq \ |
19 |
- pnmcut pnmdepth pnmenlarge pnmfile pnmflip pnmhisteq \ |
20 |
- pnmhistmap pnminterp pnminvert pnmpad pnmpaste \ |
20 |
- pnmhistmap pnminterp pnminvert pnmmontage pnmpad pnmpaste \ |
21 |
- pnmsmooth pnmsplit pnmtile pnmtoddif pnmtofits \ |
21 |
- pnmsmooth pnmsplit pnmtile pnmtoddif pnmtofits \ |
22 |
+PORTBINARIES = fitstopnm gemtopnm giftopnm \ |
22 |
+PORTBINARIES = fitstopnm gemtopnm \ |
23 |
+ pnmalias pnmarith pnmcat pnmcomp pnmconvol \ |
23 |
+ pnmalias pnmarith pnmcat pnmcomp pnmconvol \ |
24 |
+ pnmdepth pnmenlarge pnmflip pnmhisteq \ |
24 |
+ pnmdepth pnmenlarge pnmflip pnmhisteq \ |
25 |
+ pnmhistmap pnminvert pnmpad pnmpaste \ |
25 |
+ pnmhistmap pnminvert pnmpad pnmpaste \ |
Lines 31-38
Link Here
|
31 |
+ pnmtosgi pnmtosir pnmtoxwd \ |
31 |
+ pnmtosgi pnmtosir pnmtoxwd \ |
32 |
+ rasttopnm sgitopnm sirtopnm zeisstopnm |
32 |
+ rasttopnm sgitopnm sirtopnm zeisstopnm |
33 |
+MATHBINARIES = pnmgamma pnmnlfilt pnmrotate pnmshear |
33 |
+MATHBINARIES = pnmgamma pnmnlfilt pnmrotate pnmshear |
34 |
+SHHOPTBINARIES = pamchannel pamcut pamfile pamtopnm pnmcrop pnmcut \ |
34 |
+SHHOPTBINARIES = giftopnm pamchannel pamcut pamfile pamtopnm pnmcrop \ |
35 |
+ pnmfile pnminterp pnmsplit pstopnm xwdtopnm |
35 |
+ pnmcut pnmfile pnminterp pnmmontage pnmsplit pstopnm \ |
|
|
36 |
+ xwdtopnm |
36 |
|
37 |
|
37 |
# We don't include programs that have special library dependencies in the |
38 |
# We don't include programs that have special library dependencies in the |
38 |
# merge scheme, because we don't want those dependencies to prevent us |
39 |
# merge scheme, because we don't want those dependencies to prevent us |
Lines 43-49
Link Here
|
43 |
ifneq ($(PNGHDR_DIR),NONE) |
44 |
ifneq ($(PNGHDR_DIR),NONE) |
44 |
ifneq ($(PNGLIB_DIR),NONE) |
45 |
ifneq ($(PNGLIB_DIR),NONE) |
45 |
NOMERGEBINARIES += pnmtopng pngtopnm |
46 |
NOMERGEBINARIES += pnmtopng pngtopnm |
46 |
@@ -107,6 +110,8 @@ |
47 |
@@ -107,6 +111,8 @@ |
47 |
MERGE_OBJECTS = $(patsubst %,%.o2, $(MERGEBINARIES)) |
48 |
MERGE_OBJECTS = $(patsubst %,%.o2, $(MERGEBINARIES)) |
48 |
|
49 |
|
49 |
LIBOBJECTS = libpnm1.o libpnm2.o libpnm3.o libpnm4.o libpam.o |
50 |
LIBOBJECTS = libpnm1.o libpnm2.o libpnm3.o libpnm4.o libpam.o |
Lines 52-60
Link Here
|
52 |
|
53 |
|
53 |
MANUALS1 = $(BINARIES) $(SCRIPTS) |
54 |
MANUALS1 = $(BINARIES) $(SCRIPTS) |
54 |
MANUALS3 = libpnm |
55 |
MANUALS3 = libpnm |
55 |
@@ -125,6 +130,14 @@ |
56 |
@@ -127,6 +133,14 @@ |
56 |
$(MAKE) -C jbig all |
57 |
$(MAKE) -C jbig all |
57 |
$(MAKE) -C fiasco all |
58 |
$(MAKE) -C pnmtopalm all |
58 |
|
59 |
|
59 |
+$(SHHOPTBINARIES): %: %.o $(NETPBMLIBS) $(LIBOPT) $(LIBSHHOPT) |
60 |
+$(SHHOPTBINARIES): %: %.o $(NETPBMLIBS) $(LIBOPT) $(LIBSHHOPT) |
60 |
+ $(LD) $(LDFLAGS) -o $@ $@.o `$(LIBOPT) $(NETPBMLIBS)` \ |
61 |
+ $(LD) $(LDFLAGS) -o $@ $@.o `$(LIBOPT) $(NETPBMLIBS)` \ |
Lines 67-73
Link Here
|
67 |
ifeq ($(TIFFLIB_DIR),$(TIFFDIR)) |
68 |
ifeq ($(TIFFLIB_DIR),$(TIFFDIR)) |
68 |
# We're using the internal Tiff library, so make sure it's built |
69 |
# We're using the internal Tiff library, so make sure it's built |
69 |
TIFFLIB_DEP = $(TIFFDIR)/$(LIBTIFF) |
70 |
TIFFLIB_DEP = $(TIFFDIR)/$(LIBTIFF) |
70 |
@@ -135,17 +148,18 @@ |
71 |
@@ -137,17 +151,18 @@ |
71 |
|
72 |
|
72 |
# The Tiff library references math functions. |
73 |
# The Tiff library references math functions. |
73 |
tifftopnm pnmtotiff pnmtotiffcmyk: %: %.o \ |
74 |
tifftopnm pnmtotiff pnmtotiffcmyk: %: %.o \ |
Lines 90-99
Link Here
|
90 |
|
91 |
|
91 |
ifeq ($(URTLIB_DIR),$(URTDIR)) |
92 |
ifeq ($(URTLIB_DIR),$(URTDIR)) |
92 |
# We're using the internal URT library, so make sure it's built |
93 |
# We're using the internal URT library, so make sure it's built |
93 |
@@ -197,6 +211,9 @@ |
94 |
@@ -202,6 +217,9 @@ |
94 |
install.man: install.man.common |
|
|
95 |
$(MAKE) -C jbig install.man |
96 |
$(MAKE) -C fiasco install.man |
95 |
$(MAKE) -C fiasco install.man |
|
|
96 |
$(MAKE) -C jbig install.man |
97 |
$(MAKE) -C pnmtopalm install.man |
97 |
+ |
98 |
+ |
98 |
+$(SRCDIR)/shhopt/libshhopt.a: |
99 |
+$(SRCDIR)/shhopt/libshhopt.a: |
99 |
+ cd ../shhopt; $(MAKE) libshhopt.a |
100 |
+ cd ../shhopt; $(MAKE) libshhopt.a |