blob: 0e1d56762b405f4b97e7517c182059650262b1f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$NetBSD: patch-aa,v 1.1.1.1 2000/03/30 14:59:28 rh Exp $
--- Makefile.orig Wed Feb 2 02:01:39 2000
+++ Makefile Thu Mar 30 16:53:45 2000
@@ -1,15 +1,15 @@
# SScript library makefile.
-CC = gcc
-CFLAGS = -O -Wall
-
all:
- ${CC} ${CFLAGS} -c sscript.c
- ar rc libsscript.a sscript.o
- ranlib libsscript.a
+ ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c sscript.c
+ ${LIBTOOL} --mode=link cc -o libsscript.la sscript.lo -rpath ${PREFIX}/lib -version-info 2:0
install:
- cp libsscript.a /usr/lib/libsscript.a
+ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} libsscript.la ${PREFIX}/lib
+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/include/libsscript
+ ${BSD_INSTALL_DATA} sscript.h ${PREFIX}/include/libsscript
+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/doc/libsscript
+ ${BSD_INSTALL_DATA} sscript-lib.doc ${PREFIX}/share/doc/libsscript
clean:
rm -f *.a *.o *~
|