| 1 |
ifeq ($(SRCDIR)x,x) |
| 2 |
SRCDIR = $(CURDIR)/../.. |
| 3 |
BUILDDIR = $(SRCDIR) |
| 4 |
endif |
| 5 |
SUBDIR = editor/specialty |
| 6 |
VPATH=.:$(SRCDIR)/$(SUBDIR) |
| 7 |
|
| 8 |
include $(BUILDDIR)/config.mk |
| 9 |
|
| 10 |
PORTBINARIES = pamdeinterlace \ |
| 11 |
pammixinterlace \ |
| 12 |
pamoil \ |
| 13 |
pampop9 \ |
| 14 |
pampaintspill \ |
| 15 |
pbmlife \ |
| 16 |
pgmabel \ |
| 17 |
pgmbentley \ |
| 18 |
pgmmorphconv \ |
| 19 |
pnmindex \ |
| 20 |
pnmmercator \ |
| 21 |
ppm3d \ |
| 22 |
ppmglobe \ |
| 23 |
ppmntsc \ |
| 24 |
ppmrelief \ |
| 25 |
ppmshift \ |
| 26 |
ppmspread \ |
| 27 |
ppmtv \ |
| 28 |
|
| 29 |
# We don't include programs that have special library dependencies in the |
| 30 |
# merge scheme, because we don't want those dependencies to prevent us |
| 31 |
# from building all the other programs. |
| 32 |
|
| 33 |
NOMERGEBINARIES = |
| 34 |
MERGEBINARIES = $(PORTBINARIES) |
| 35 |
|
| 36 |
|
| 37 |
BINARIES = $(MERGEBINARIES) $(NOMERGEBINARIES) |
| 38 |
SCRIPTS = |
| 39 |
|
| 40 |
OBJECTS = $(BINARIES:%=%.o) |
| 41 |
|
| 42 |
MERGE_OBJECTS = $(MERGEBINARIES:%=%.o2) |
| 43 |
|
| 44 |
HAVE_MERGE_COMPAT=YES |
| 45 |
|
| 46 |
.PHONY: all |
| 47 |
all: $(BINARIES) |
| 48 |
|
| 49 |
include $(SRCDIR)/common.mk |
| 50 |
|
| 51 |
install.bin install.merge: install.bin.local |
| 52 |
|
| 53 |
.PHONY: install.bin.local |
| 54 |
install.bin.local: $(PKGDIR)/bin |
| 55 |
# Remember that $(SYMLINK) might just be a copy command. |
| 56 |
# pamoil replaced pgmoil in June 2001. |
| 57 |
cd $(PKGDIR)/bin ; \ |
| 58 |
rm -f pgmoil$(EXE) ; \ |
| 59 |
$(SYMLINK) pamoil$(EXE) pgmoil$(EXE) |
| 60 |
|
| 61 |
mergecomptrylist: |
| 62 |
cat /dev/null >$@ |
| 63 |
echo "TRY(\"pgmoil\", main_pamoil);" >>$@ |