bsd.prog.mk (8321) | bsd.prog.mk (11136) |
---|---|
1# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 | 1# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 |
2# $Id: bsd.prog.mk,v 1.25 1995/04/26 14:34:19 jkh Exp $ | 2# $Id: bsd.prog.mk,v 1.26 1995/05/07 06:39:30 bde Exp $ |
3 4.if exists(${.CURDIR}/../Makefile.inc) 5.include "${.CURDIR}/../Makefile.inc" 6.endif 7 8.SUFFIXES: .out .o .c .cc .cxx .C .y .l .s .S 9 10CFLAGS+=${COPTS} ${DEBUG_FLAGS} --- 118 unchanged lines hidden (view full) --- 129 done 130.endif 131 132# XXX I think MANDEPEND is only used for groff. It should be named more 133# generally and perhaps not be in the maninstall dependencies now it is 134# here (or does maninstall always work when nothing is made?), 135 136.MAIN: all | 3 4.if exists(${.CURDIR}/../Makefile.inc) 5.include "${.CURDIR}/../Makefile.inc" 6.endif 7 8.SUFFIXES: .out .o .c .cc .cxx .C .y .l .s .S 9 10CFLAGS+=${COPTS} ${DEBUG_FLAGS} --- 118 unchanged lines hidden (view full) --- 129 done 130.endif 131 132# XXX I think MANDEPEND is only used for groff. It should be named more 133# generally and perhaps not be in the maninstall dependencies now it is 134# here (or does maninstall always work when nothing is made?), 135 136.MAIN: all |
137all: ${PROG} ${MANDEPEND} _PROGSUBDIR | 137all: ${PROG} all-man _PROGSUBDIR |
138 139.if !target(clean) 140clean: _PROGSUBDIR 141 rm -f a.out [Ee]rrs mklog ${PROG} ${OBJS} ${CLEANFILES} 142.endif 143 144.if !target(cleandir) 145cleandir: _PROGSUBDIR --- 77 unchanged lines hidden (view full) --- 223 sed "s;\${.CURDIR}/;;" > tags 224.endif 225.endif 226 227.if !defined(NOMAN) 228.include <bsd.man.mk> 229.elif !target(maninstall) 230maninstall: | 138 139.if !target(clean) 140clean: _PROGSUBDIR 141 rm -f a.out [Ee]rrs mklog ${PROG} ${OBJS} ${CLEANFILES} 142.endif 143 144.if !target(cleandir) 145cleandir: _PROGSUBDIR --- 77 unchanged lines hidden (view full) --- 223 sed "s;\${.CURDIR}/;;" > tags 224.endif 225.endif 226 227.if !defined(NOMAN) 228.include <bsd.man.mk> 229.elif !target(maninstall) 230maninstall: |
231all-man: |
|
231.endif 232 233_DEPSUBDIR= _PROGSUBDIR 234.include <bsd.dep.mk> | 232.endif 233 234_DEPSUBDIR= _PROGSUBDIR 235.include <bsd.dep.mk> |