1b31a1b7cd
by the netpbm package, instead of the previously existing libraries.
54 lines
1.7 KiB
Text
54 lines
1.7 KiB
Text
$NetBSD: patch-ap,v 1.3 2004/04/24 22:06:27 wiz Exp $
|
|
--- /dev/null Fri Feb 16 09:53:47 2001
|
|
+++ lib.mk Fri Feb 16 09:53:24 2001
|
|
@@ -0,0 +1,50 @@
|
|
+PBMDIR= ${LOCALBASE}
|
|
+
|
|
+INCPBMPLUS = -I$(PBMDIR)/include
|
|
+LIBPBMPLUS = -L$(PBMDIR)/lib -Wl,-R$(PBMDIR)/lib -lnetpbm
|
|
+
|
|
+INCTIFF = -I${LOCALBASE}/include
|
|
+LIBTIFF = -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -ltiff -ljpeg -lz
|
|
+
|
|
+LIBX11 = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lX11
|
|
+INCX11 = -I${X11BASE}/include
|
|
+
|
|
+RI = ../include
|
|
+RL = ../lib
|
|
+
|
|
+CPPFLAGS+= ${INCPBMPLUS} ${INCTIFF} ${INCX11} -I. -I${RI}
|
|
+LDFLAGS+= ${LIBPBMPLUS} ${LIBTIFF} ${LIBX11} -L${RL} -Wl,-R${RL}
|
|
+
|
|
+LIB= rle
|
|
+SHLIB_MAJOR= 1
|
|
+SHLIB_MINOR= 0
|
|
+
|
|
+SRCS= Runput.c buildmap.c cmd_name.c colorquant.c dither.c
|
|
+SRCS+= float_to_exp.c hilbert.c inv_cmap.c
|
|
+SRCS+= rle_addhist.c rle_cp.c rle_error.c rle_getcom.c
|
|
+SRCS+= rle_getraw.c rle_getrow.c rle_getskip.c rle_global.c
|
|
+SRCS+= rle_hdr.c
|
|
+SRCS+= rle_open_f.c rle_putcom.c rle_putraw.c rle_putrow.c
|
|
+SRCS+= rle_raw_alc.c rle_rawrow.c rle_row_alc.c scanargs.c
|
|
+SRCS+= vaxshort.c
|
|
+
|
|
+MKLINT= no
|
|
+
|
|
+Runput.o: ${RI}/rle.h ${RI}/rle_code.h ${RI}/rle_put.h
|
|
+buildmap.o: ${RI}/rle.h
|
|
+float_to_exp.o: ${RI}/rle.h
|
|
+rle_addhist.o: ${RI}/rle.h
|
|
+rle_cp.o: ${RI}/rle.h ${RI}/rle_code.h ${RI}/rle_put.h
|
|
+rle_getcom.o: ${RI}/rle.h
|
|
+rle_getraw.o: ${RI}/rle.h ${RI}/rle_raw.h
|
|
+rle_getrow.o: ${RI}/rle.h ${RI}/rle_code.h
|
|
+rle_getskip.o: ${RI}/rle.h ${RI}/rle_code.h
|
|
+rle_global.o: ${RI}/rle.h ${RI}/rle_put.h
|
|
+rle_putcom.o: ${RI}/rle.h
|
|
+rle_putraw.o: ${RI}/rle.h ${RI}/rle_put.h ${RI}/rle_raw.h
|
|
+rle_putrow.o: ${RI}/rle.h ${RI}/rle_put.h
|
|
+rle_raw_alc.o: ${RI}/rle.h ${RI}/rle_raw.h
|
|
+rle_rawrow.o: ${RI}/rle.h ${RI}/rle_raw.h
|
|
+rle_row_alc.o: ${RI}/rle.h
|
|
+
|
|
+.include <bsd.lib.mk>
|