bsd.dep.mk (92648) | bsd.dep.mk (94768) |
---|---|
1# $FreeBSD: head/share/mk/bsd.dep.mk 92648 2002-03-19 06:11:43Z bde $ | 1# $FreeBSD: head/share/mk/bsd.dep.mk 94768 2002-04-15 15:23:45Z ru $ |
2# 3# The include file <bsd.dep.mk> handles Makefile dependencies. 4# 5# 6# +++ variables +++ 7# 8# DEPENDFILE dependencies file [.depend] 9# --- 13 unchanged lines hidden (view full) --- 23# Make the dependencies for the source files, and store 24# them in the file ${DEPENDFILE}. 25# 26# tags: 27# Create a (GLOBAL) gtags file for the source files. 28# If HTML is defined, htags is also run after gtags. 29 30 | 2# 3# The include file <bsd.dep.mk> handles Makefile dependencies. 4# 5# 6# +++ variables +++ 7# 8# DEPENDFILE dependencies file [.depend] 9# --- 13 unchanged lines hidden (view full) --- 23# Make the dependencies for the source files, and store 24# them in the file ${DEPENDFILE}. 25# 26# tags: 27# Create a (GLOBAL) gtags file for the source files. 28# If HTML is defined, htags is also run after gtags. 29 30 |
31.if ${CC} != "cc" |
|
31MKDEPCMD?= CC=${CC} mkdep | 32MKDEPCMD?= CC=${CC} mkdep |
33.else 34MKDEPCMD?= mkdep 35.endif |
|
32DEPENDFILE?= .depend 33 34.if defined(SRCS) 35CLEANFILES?= 36 37.for _LSRC in ${SRCS:M*.l:N*/*} 38.for _LC in ${_LSRC:S/.l/.c/} 39${_LC}: ${_LSRC} --- 105 unchanged lines hidden --- | 36DEPENDFILE?= .depend 37 38.if defined(SRCS) 39CLEANFILES?= 40 41.for _LSRC in ${SRCS:M*.l:N*/*} 42.for _LC in ${_LSRC:S/.l/.c/} 43${_LC}: ${_LSRC} --- 105 unchanged lines hidden --- |