bsd.subdir.mk (26760) | bsd.subdir.mk (31177) |
---|---|
1# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91 | 1# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91 |
2# $Id: bsd.subdir.mk,v 1.17 1997/04/13 06:44:24 jkh Exp $ | 2# $Id: bsd.subdir.mk,v 1.18 1997/06/21 15:40:34 jkh Exp $ |
3# 4# The include file <bsd.subdir.mk> contains the default targets 5# for building subdirectories. It has the same seven targets 6# as <bsd.prog.mk>: 7# all, clean, cleandir, depend, install, lint, and tags. 8# 9# For all of the directories listed in the variable SUBDIRS, the 10# specified directory will be visited and the target made. There is --- 43 unchanged lines hidden (view full) --- 54 else \ 55 cd ${.CURDIR}/${.TARGET}; \ 56 fi; \ 57 ${MAKE} all 58 59 60.for __target in all checkdpadd clean cleandir depend lint \ 61 maninstall obj objlink | 3# 4# The include file <bsd.subdir.mk> contains the default targets 5# for building subdirectories. It has the same seven targets 6# as <bsd.prog.mk>: 7# all, clean, cleandir, depend, install, lint, and tags. 8# 9# For all of the directories listed in the variable SUBDIRS, the 10# specified directory will be visited and the target made. There is --- 43 unchanged lines hidden (view full) --- 54 else \ 55 cd ${.CURDIR}/${.TARGET}; \ 56 fi; \ 57 ${MAKE} all 58 59 60.for __target in all checkdpadd clean cleandir depend lint \ 61 maninstall obj objlink |
62.if !target(__target) | 62.if !target(${__target}) |
63${__target}: _SUBDIRUSE 64.endif 65.endfor 66 67.if !target(tags) 68.if defined(TAGS) 69tags: 70 @cd ${.CURDIR} && gtags ${GTAGSFLAGS} --- 40 unchanged lines hidden --- | 63${__target}: _SUBDIRUSE 64.endif 65.endfor 66 67.if !target(tags) 68.if defined(TAGS) 69tags: 70 @cd ${.CURDIR} && gtags ${GTAGSFLAGS} --- 40 unchanged lines hidden --- |