1# $FreeBSD: stable/9/share/mk/bsd.dep.mk 240006 2012-09-02 11:44:30Z dim $
2#
3# The include file <bsd.dep.mk> handles Makefile dependencies.
4#
5#
6# +++ variables +++
7#
8# CTAGS A tags file generation program [gtags]
9#
--- 108 unchanged lines hidden (view full) ---
118.endfor
119.endfor
120.endif
121
122.if !target(depend)
123.if defined(SRCS)
124depend: beforedepend ${DEPENDFILE} afterdepend
125
126# Different types of sources are compiled with slightly different flags.
127# Split up the sources, and filter out headers and non-applicable flags.
128MKDEP_CFLAGS= ${CFLAGS:M-nostdinc*} ${CFLAGS:M-[BIDU]*} ${CFLAGS:M-std=*} \
129 ${CFLAGS:M-ansi}
130MKDEP_CXXFLAGS= ${CXXFLAGS:M-nostdinc*} ${CXXFLAGS:M-[BIDU]*} \
131 ${CXXFLAGS:M-std=*} ${CXXFLAGS:M-ansi} ${CXXFLAGS:M-stdlib=*}
132
133DPSRCS+= ${SRCS}
--- 56 unchanged lines hidden ---
2#
3# The include file <bsd.dep.mk> handles Makefile dependencies.
4#
5#
6# +++ variables +++
7#
8# CTAGS A tags file generation program [gtags]
9#
--- 108 unchanged lines hidden (view full) ---
118.endfor
119.endfor
120.endif
121
122.if !target(depend)
123.if defined(SRCS)
124depend: beforedepend ${DEPENDFILE} afterdepend
125
126# Different types of sources are compiled with slightly different flags.
127# Split up the sources, and filter out headers and non-applicable flags.
128MKDEP_CFLAGS= ${CFLAGS:M-nostdinc*} ${CFLAGS:M-[BIDU]*} ${CFLAGS:M-std=*} \
129 ${CFLAGS:M-ansi}
130MKDEP_CXXFLAGS= ${CXXFLAGS:M-nostdinc*} ${CXXFLAGS:M-[BIDU]*} \
131 ${CXXFLAGS:M-std=*} ${CXXFLAGS:M-ansi} ${CXXFLAGS:M-stdlib=*}
132
133DPSRCS+= ${SRCS}
--- 56 unchanged lines hidden ---