blob: 427c2c8fec5a28de67e94c97e84532440d7f4ef2 (
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
|
ifeq ($(SRCDIR)x,x)
SRCDIR = $(CURDIR)/../..
BUILDDIR = $(SRCDIR)
endif
SUBDIR = editor/specialty
VPATH=.:$(SRCDIR)/$(SUBDIR)
include $(BUILDDIR)/config.mk
PORTBINARIES = pamdeinterlace \
pammixinterlace \
pamoil \
pampop9 \
pampaintspill \
pbmlife \
pgmabel \
pgmbentley \
pgmmorphconv \
pnmindex \
pnmmercator \
ppm3d \
ppmglobe \
ppmntsc \
ppmrelief \
ppmshift \
ppmspread \
ppmtv \
# We don't include programs that have special library dependencies in the
# merge scheme, because we don't want those dependencies to prevent us
# from building all the other programs.
NOMERGEBINARIES =
MERGEBINARIES = $(PORTBINARIES)
BINARIES = $(MERGEBINARIES) $(NOMERGEBINARIES)
SCRIPTS =
OBJECTS = $(BINARIES:%=%.o)
MERGE_OBJECTS = $(MERGEBINARIES:%=%.o2)
.PHONY: all
all: $(BINARIES)
include $(SRCDIR)/common.mk
install.bin: install.bin.local
.PHONY: install.bin.local
install.bin.local: $(PKGDIR)/bin
# Remember that $(SYMLINK) might just be a copy command.
# pamoil replaced pgmoil in June 2001.
cd $(PKGDIR)/bin ; \
rm -f pgmoil$(EXE) ; \
$(SYMLINK) pamoil$(EXE) pgmoil$(EXE)
|