2000-06-20 13:32:28 -04:00
|
|
|
--- Makefile.orig Sat Apr 8 07:19:41 2000
|
|
|
|
+++ Makefile Tue Jun 20 13:29:41 2000
|
2000-03-23 01:51:58 -05:00
|
|
|
@@ -16,7 +16,12 @@
|
1999-12-27 01:12:08 -05:00
|
|
|
@echo "Enter 'make test' in order to start some automatic tests."
|
|
|
|
|
|
|
|
lib:
|
|
|
|
- (cd libjbig; make "CC=$(CC)" "CFLAGS=$(CFLAGS)")
|
|
|
|
+.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:U} == YES
|
|
|
|
+ (cd libjbig; make "CC=$(CC)" "CFLAGS=$(CFLAGS)" "VERSION=$(VERSION)" "NO_SHARED_LIBS=Yes")
|
|
|
|
+.else
|
|
|
|
+ (cd libjbig; make "CC=$(CC)" "CFLAGS=$(CFLAGS)" "VERSION=$(VERSION)")
|
|
|
|
+.endif
|
|
|
|
+
|
|
|
|
|
|
|
|
pbm: lib
|
|
|
|
(cd pbmtools; make "CC=$(CC)" "CFLAGS=$(CFLAGS)")
|
2000-06-20 13:32:28 -04:00
|
|
|
@@ -45,3 +50,16 @@
|
1999-05-08 15:17:39 -04:00
|
|
|
scp ANNOUNCE \
|
|
|
|
$(DISTUID)@$(DISTHOST):$(DISTPATH)/jbigkit-$(VERSION)-announce.txt
|
|
|
|
mv ../jbigkit-$(VERSION).tar.gz $(HOME)/.www/download/
|
|
|
|
+
|
|
|
|
+install:
|
2000-03-23 01:51:58 -05:00
|
|
|
+ ${BSD_INSTALL_PROGRAM_DIR} ${PREFIX}/bin
|
|
|
|
+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/include
|
|
|
|
+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/lib
|
|
|
|
+ ${BSD_INSTALL_MAN_DIR} ${PREFIX}/man/man1
|
|
|
|
+ cd pbmtools; ${BSD_INSTALL_PROGRAM} jbgtopbm pbmtojbg ${PREFIX}/bin; \
|
|
|
|
+ ${BSD_INSTALL_MAN} jbgtopbm.1 pbmtojbg.1 ${PREFIX}/man/man1; \
|
|
|
|
+ ${BSD_INSTALL_DATA} libjbig/jbig.h ${PREFIX}/include
|
|
|
|
+ ${BSD_INSTALL_DATA} libjbig/libjbig.a ${PREFIX}/lib
|
1999-12-27 01:12:08 -05:00
|
|
|
+ @if [ -f libjbig/libjbig.so.$(VERSION) ]; then \
|
2000-03-23 01:51:58 -05:00
|
|
|
+ ${BSD_INSTALL_DATA} libjbig/libjbig.so.$(VERSION) ${PREFIX}/lib;\
|
1999-12-27 01:12:08 -05:00
|
|
|
+ fi
|