blob: 5dbd9003b2a1a030df9a0a441913c5452ba3ae38 (
plain) (
blame)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
--- pbm/Makefile.orig Thu Jun 29 01:06:06 2000
+++ pbm/Makefile Sat Jul 15 00:00:00 2000
@@ -4,13 +4,12 @@
include $(SRCDIR)/Makefile.config
-INCLUDE = -I$(SRCDIR) -I$(SRCDIR)/shhopt
+INCLUDE = -I$(SRCDIR)
# Shared library naming
LIBROOT = pbm
LIBPBM = lib$(LIBROOT).$(NETPBMLIBSUFFIX)
-MAJ = 9
-MIN = 5
+SOVER = 1
LIBLIBS =
NETPBMLIBS = $(LIBPBM)
@@ -37,11 +36,10 @@
# Library objects to be built and linked by Makefile.common:
LIBOBJECTS = libpbm1.o libpbm2.o libpbm3.o libpbm4.o libpbm5.o
+SHLIBOBJECTS = $(patsubst %.o, %.lo, $(LIBOBJECTS))
ifneq (${VMS}x,x)
LIBOBJECTS += libpbmvms.o
endif
-# Library objects to be linked but not built by Makefile.common:
-LIBOBJECTS_X = $(SRCDIR)/shhopt/shhopt.o
MANUALS1 = $(BINARIES)
MANUALS3 = libpbm
@@ -53,26 +51,21 @@
.PHONY: all
all: $(BINARIES)
- $(MAKE) -C pbmtoppa all
.PHONY: merge
merge: $(MERGENAME)
- $(MAKE) -C pbmtoppa all
.PHONY: install.bin
install.bin: install.bin.common
- $(MAKE) -C pbmtoppa install.bin
.PHONY: install.merge
install.merge: install.merge.common
- $(MAKE) -C pbmtoppa install.bin
.PHONY: install.lib
install.lib: install.lib.common
.PHONY: install.man
install.man: install.man.common
- $(MAKE) -C pbmtoppa install.man
include $(SRCDIR)/Makefile.common
@@ -80,13 +73,7 @@
../compile.h:
$(MAKE) -C $(SRCDIR) compile.h
-$(SRCDIR)/shhopt/shhopt.o:
- cd ../shhopt; $(MAKE) shhopt.o
-$(SRCDIR)/shhopt/libshhopt.a:
- cd ../shhopt; $(MAKE) libshhopt.a
-
.PHONY: clean
clean: clean.common
- $(MAKE) -C pbmtoppa clean
FORCE:
|