openbsd-ports/graphics/netpbm/patches/patch-ppm_Makefile
2002-03-01 22:49:19 +00:00

29 lines
926 B
Plaintext

--- ppm/Makefile.orig Sun Jan 6 17:04:08 2002
+++ ppm/Makefile Fri Mar 1 16:08:43 2002
@@ -74,6 +74,7 @@ MERGE_OBJECTS = $(patsubst %,%.o2, $(MER
LIBOBJECTS = libppm1.o libppm2.o libppmcmap.o libppm4.o libppm5.o \
libppmfloyd.o bitio.o
+SHLIBOBJECTS = $(patsubst %.o, %.lo, $(LIBOBJECTS))
MANUALS1 = $(BINARIES) $(SCRIPTS)
MANUALS3 = libppm
@@ -81,7 +82,7 @@ MANUALS5 = ppm
MERGENAME= ppmmerge
-INTERFACE_HEADERS = ppm.h ppmcmap.h ppmfloyd.h
+INTERFACE_HEADERS = ppm.h ppmcmap.h ppmdraw.h ppmfloyd.h
ppmsvgalib: %: %.o $(NETPBMLIBS) $(LIBOPT)
$(LD) $(LDFLAGS) -o $@ $< `$(LIBOPT) $(NETPBMLIBS)` $(LINUXSVGALD) \
@@ -92,7 +93,7 @@ all: $(LIBPPM) $(BINARIES) $(EXTRA_STATI
$(MAKE) -C ppmtompeg all
$(MAKE) -C hpcdtoppm all
.PHONY: merge
-merge: $(MERGENAME) $(NOMERGEBINARIES)
+merge: $(MERGENAME) $(NOMERGEBINARIES) $(EXTRA_STATICLIB)
$(MAKE) -C ppmtompeg all
$(MAKE) -C hpcdtoppm all