openbsd-ports/graphics/netpbm/patches/patch-pnm_Makefile

28 lines
957 B
Plaintext
Raw Normal View History

2002-03-01 17:49:19 -05:00
--- pnm/Makefile.orig Sun Jan 20 18:17:29 2002
+++ pnm/Makefile Fri Mar 1 16:38:56 2002
@@ -146,13 +146,14 @@ SCRIPTS = anytopnm pamstretch-gen pnmind
# MERGE_ALIASES is additional names to be linked to the merge binary which are
# alternate names for a program whose source is called something else.
# Every name here must be referenced in pnmmerge.c.
-MERGE_ALIASES = pnmnoraw gemtopbm
+MERGE_ALIASES =
OBJECTS = $(patsubst %, %.o, $(BINARIES)) exif.o
2001-10-02 23:09:31 -04:00
MERGE_OBJECTS = $(patsubst %,%.o2, $(MERGEBINARIES))
2002-03-01 17:49:19 -05:00
LIBOBJECTS = libpnm1.o libpnm2.o libpnm3.o libpnm4.o libpam.o libpammap.o
2001-10-02 23:09:31 -04:00
+SHLIBOBJECTS = $(patsubst %.o, %.lo, $(LIBOBJECTS))
MANUALS1 = $(BINARIES) $(SCRIPTS)
MANUALS3 = libpnm
2002-03-01 17:49:19 -05:00
@@ -170,7 +171,7 @@ endif
2001-10-02 23:09:31 -04:00
$(MAKE) -C jbig all
$(MAKE) -C pnmtopalm all
PHONY: merge
-merge: $(MERGENAME) $(NOMERGEBINARIES)
+merge: $(MERGENAME) $(NOMERGEBINARIES) $(EXTRA_STATICLIB)
ifneq ($(BUILD_FIASCO), N)
$(MAKE) -C fiasco all
endif