BSD 4_3 release
[unix-history] / usr / src / usr.lib / sendmail / lib / Makefile.m4
index 00896a1..8daa6be 100644 (file)
@@ -1,43 +1,27 @@
 #
 #
-#  Makefile for Sendmail library
+#  Sendmail
+#  Copyright (c) 1983  Eric P. Allman
+#  Berkeley, California
+#
+#  Copyright (c) 1983 Regents of the University of California.
+#  All rights reserved.  The Berkeley software License Agreement
+#  specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile.m4 5.1 (Berkeley) 6/7/85
+#
 #
 #
-#      @(#)Makefile.m4 3.6             2/9/83
+#  Makefile for Sendmail library
 #
 #
-include(../md/config.m4)dnl
 
 
-ALL=   sendmail.hf libsys.a
-SRCS=  sendmail.hf syslog.c
-LIBOBJS=syslog.o
+ALL=   sendmail.hf
+SRCS=  sendmail.hf
 
 GET=   sccs get
 
 GET=   sccs get
-CCONFIG=m4CONFIG
-CFLAGS=        $O -I../`include' $(CCONFIG) -DEBUG
-O=     -O
-ASMSED=        ../`include'/asm.sed
-
-.c.o:
-       cc -S ${CFLAGS} $*.c
-       sed -f $(ASMSED) $*.s | as -o $*.o
-       rm -f $*.s
 
 all: $(ALL)
 
 
 all: $(ALL)
 
-libsys.a: $(LIBOBJS)
-       ar rv libsys.a $(LIBOBJS)
-       ranlib libsys.a
-
-ndir: /tmp
-       cd libndir; make
-       ar rv libsys.a libndir/*.o
-       ranlib libsys.a
-       rm -f ../`include'/dir.h
-       cp libndir/dir.h ../`include'
-
 sources: $(SRCS)
 
 $(SRCS):
        $(GET) $(REL) SCCS/s.$@
 
 sources: $(SRCS)
 
 $(SRCS):
        $(GET) $(REL) SCCS/s.$@
 
-clean:
-       rm -f libsys.a core a.out
-       rm -f *.o libndir/*.o