Initial revision
authorceriel <none@none>
Wed, 4 Oct 1989 10:56:16 +0000 (10:56 +0000)
committerceriel <none@none>
Wed, 4 Oct 1989 10:56:16 +0000 (10:56 +0000)
modules/src/string/Makefile [new file with mode: 0644]

diff --git a/modules/src/string/Makefile b/modules/src/string/Makefile
new file mode 100644 (file)
index 0000000..5d66e62
--- /dev/null
@@ -0,0 +1,36 @@
+EMHOME = ../../..
+MODULES = $(EMHOME)/modules
+INSTALL = $(MODULES)/install
+COMPARE = $(MODULES)/compare
+
+CFLAGS = -O
+
+SRC =  bts2str.c btscat.c btscmp.c btscpy.c btszero.c long2str.c \
+       str2bts.c str2long.c strcat.c strcmp.c strcpy.c strindex.c \
+       strlen.c strncat.c strncmp.c strncpy.c strrindex.c strzero.c
+OBJ =  bts2str.o btscat.o btscmp.o btscpy.o btszero.o long2str.o \
+       str2bts.o str2long.o strcat.o strcmp.o strcpy.o strindex.o \
+       strlen.o strncat.o strncmp.o strncpy.o strrindex.o strzero.o
+
+all:           libstring.a
+
+libstring.a:   $(OBJ) Makefile
+               ar r libstring.a $(OBJ)
+               -sh -c 'ranlib libstring.a'
+
+install:       all
+               $(INSTALL) lib/libstring.a
+               $(INSTALL) man/string.3
+
+cmp:           all
+               $(COMPARE) lib/libstring.a
+               $(COMPARE) man/string.3
+
+pr:
+               @pr Makefile $(SRC)
+
+opr:
+               make pr | opr
+
+clean:
+               rm -f *.[oa]