Annotation of 43BSDTahoe/new/patch/Makefile.SH, revision 1.1

1.1     ! root        1: case $CONFIG in
        !             2:     '') . config.sh ;;
        !             3: esac
        !             4: echo "Extracting Makefile (with variable substitutions)"
        !             5: cat >Makefile <<!GROK!THIS!
        !             6: # $Header: Makefile.SH,v 2.0 86/09/17 15:36:15 lwall Exp $
        !             7: #
        !             8: # $Log:        Makefile.SH,v $
        !             9: # Revision 2.0  86/09/17  15:36:15  lwall
        !            10: # Baseline for netwide release.
        !            11: # 
        !            12: # Revision 1.2  86/09/08  14:07:42  lwall
        !            13: # Split up patch.c.
        !            14: # 
        !            15: # Revision 1.1  86/08/01  20:18:35  lwall
        !            16: # Initial revision
        !            17: # 
        !            18: 
        !            19: CC = $cc
        !            20: bin = $bin
        !            21: mansrc = $mansrc
        !            22: manext = $manext
        !            23: CFLAGS = $iandd -O
        !            24: LDFLAGS = $iandd
        !            25: 
        !            26: !GROK!THIS!
        !            27: cat >>Makefile <<'!NO!SUBS!'
        !            28: 
        !            29: public = patch
        !            30: private = 
        !            31: manpages = patch.man
        !            32: util = Makefile
        !            33: 
        !            34: c = patch.c pch.c inp.c version.c util.c
        !            35: 
        !            36: obj = patch.o pch.o inp.o util.o version.o
        !            37: 
        !            38: lintflags = -phbvxac
        !            39: 
        !            40: addedbyconf = Makefile.old bsd config.h config.sh eunice loc pdp11 usg v7
        !            41: 
        !            42: # grrr
        !            43: SHELL = /bin/sh
        !            44: 
        !            45: .c.o:
        !            46:        $(CC) -c $(CFLAGS) $*.c
        !            47: 
        !            48: all: $(public) $(private) $(util)
        !            49:        touch all
        !            50: 
        !            51: patch: $(obj)
        !            52:        $(CC) $(LDFLAGS) $(obj) $(libs) -o patch
        !            53: 
        !            54: # won't work with csh
        !            55: install: patch
        !            56:        export PATH || exit 1
        !            57:        - mv $(bin)/patch $(bin)/patch.old
        !            58:        - if test `pwd` != $(bin); then cp $(public) $(bin); fi
        !            59:        cd $(bin); chmod 755 $(public)
        !            60:        - if test `pwd` != $(mansrc); then \
        !            61: for page in $(manpages); do \
        !            62: cp $$page $(mansrc)/`basename $$page .man`.$(manext); \
        !            63: done; \
        !            64: fi
        !            65: 
        !            66: clean:
        !            67:        rm -f *.o *.orig core
        !            68: 
        !            69: realclean:
        !            70:        rm -f patch *.o *.orig core $(addedbyconf)
        !            71: 
        !            72: # The following lint has practically everything turned on.  Unfortunately,
        !            73: # you have to wade through a lot of mumbo jumbo that can't be suppressed.
        !            74: # If the source file has a /*NOSTRICT*/ somewhere, ignore the lint message
        !            75: # for that spot.
        !            76: 
        !            77: lint:
        !            78:        lint $(lintflags) $(defs) $(c) > patch.fuzz
        !            79: 
        !            80: patch.o: config.h common.h patch.c inp.h pch.h util.h version.h
        !            81: pch.o: config.h common.h pch.c pch.h util.h
        !            82: inp.o: config.h common.h inp.c inp.h util.h
        !            83: util.o: config.h common.h util.c util.h
        !            84: version.o: config.h common.h version.c version.h patchlevel.h util.h
        !            85: 
        !            86: !NO!SUBS!
        !            87: $eunicefix Makefile

unix.superglobalmegacorp.com

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