Annotation of coherent/d/bin/mail/smail/Makefile, revision 1.1.1.1

1.1       root        1: # Makefile for smail (not a installation makefile)
                      2: 
                      3: # @(#)Makefile 2.5 (smail) 9/15/87
                      4: 
                      5: DESTDIR=/bin386/bin/
                      6: 
                      7: CFLAGS = -O -n 
                      8: #
                      9: # System V Release 2.0 sites can use -lmalloc for a faster malloc
                     10: #
                     11: # LIBS =       -lmalloc
                     12: LIBS=-lmisc
                     13: CC = cc
                     14: OBJECTS =      main.o map.o resolve.o deliver.o misc.o alias.o pw.o \
                     15:                headers.o getpath.o str.o getopt.o gethostname.o copyright.o
                     16: 
                     17: all: smail svbinmail lcasep pathproc mkfnames nptx
                     18: 
                     19: smail:         $(OBJECTS)
                     20:                $(CC) $(CFLAGS) $(OBJECTS) -o $(DESTDIR)smail $(LIBS)
                     21:                su root chmog 6511 root root $(DESTDIR)smail
                     22:                su root ln -f $(DESTDIR)smail $(DESTDIR)rmail
                     23: 
                     24: $(OBJECTS):    defs.h
                     25: #              $(CC) $(CFLAGS) -c $<
                     26: 
                     27: svbinmail:     svbinmail.c defs.h
                     28:                $(CC) $(CFLAGS) svbinmail.c -o svbinmail
                     29: 
                     30: lcasep:                lcasep.c
                     31:                $(CC) $(CFLAGS) lcasep.c -o lcasep
                     32: 
                     33: pathproc:      pathproc.sh
                     34:                cp pathproc.sh pathproc
                     35:                chmod 755 pathproc
                     36: 
                     37: mkfnames:      mkfnames.sh
                     38:                cp mkfnames.sh mkfnames
                     39:                chmod 755 mkfnames
                     40: 
                     41: nptx:          nptx.o pw.o str.o
                     42:                $(CC) $(CFLAGS) nptx.o pw.o str.o -o nptx $(LIBS)
                     43: 
                     44: nptx.o:                nptx.c
                     45:                $(CC) $(CFLAGS) -c nptx.c
                     46: 
                     47: install:       all
                     48:                @echo read doc/Install
                     49: 
                     50: clean:
                     51:                rm -f *.o *.ln a.out core
                     52: 
                     53: clobber:       clean
                     54:                rm -f smail rmail lcasep pathproc mkfnames svbinmail nptx

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.