sys.mk (210636) | sys.mk (211243) |
---|---|
1# from: @(#)sys.mk 8.2 (Berkeley) 3/21/94 | 1# from: @(#)sys.mk 8.2 (Berkeley) 3/21/94 |
2# $FreeBSD: head/share/mk/sys.mk 210636 2010-07-30 08:52:19Z rpaulo $ | 2# $FreeBSD: head/share/mk/sys.mk 211243 2010-08-12 20:46:49Z will $ |
3 4unix ?= We run FreeBSD, not UNIX. 5.FreeBSD ?= true 6 7.if !defined(%POSIX) 8# 9# MACHINE_CPUARCH defines a collection of MACHINE_ARCH. Machines with 10# the same MACHINE_ARCH can run reach-other's binaries, so it --- 151 unchanged lines hidden (view full) --- 162 163.f: 164 ${FC} ${FFLAGS} ${LDFLAGS} -o ${.TARGET} ${.IMPSRC} 165 @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \ 166 (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \ 167 ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}) 168 169.sh: | 3 4unix ?= We run FreeBSD, not UNIX. 5.FreeBSD ?= true 6 7.if !defined(%POSIX) 8# 9# MACHINE_CPUARCH defines a collection of MACHINE_ARCH. Machines with 10# the same MACHINE_ARCH can run reach-other's binaries, so it --- 151 unchanged lines hidden (view full) --- 162 163.f: 164 ${FC} ${FFLAGS} ${LDFLAGS} -o ${.TARGET} ${.IMPSRC} 165 @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \ 166 (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \ 167 ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}) 168 169.sh: |
170 cp ${.IMPSRC} ${.TARGET} | 170 cp -f ${.IMPSRC} ${.TARGET} |
171 chmod a+x ${.TARGET} 172 173# DOUBLE SUFFIX RULES 174 175.c.o: 176 ${CC} ${CFLAGS} -c ${.IMPSRC} 177 @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \ 178 (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \ --- 41 unchanged lines hidden (view full) --- 220 ${AR} ${ARFLAGS} ${.TARGET} ${.PREFIX}.o 221 rm -f ${.PREFIX}.o 222 223.else 224 225# non-Posix rule set 226 227.sh: | 171 chmod a+x ${.TARGET} 172 173# DOUBLE SUFFIX RULES 174 175.c.o: 176 ${CC} ${CFLAGS} -c ${.IMPSRC} 177 @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \ 178 (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \ --- 41 unchanged lines hidden (view full) --- 220 ${AR} ${ARFLAGS} ${.TARGET} ${.PREFIX}.o 221 rm -f ${.PREFIX}.o 222 223.else 224 225# non-Posix rule set 226 227.sh: |
228 cp -p ${.IMPSRC} ${.TARGET} | 228 cp -fp ${.IMPSRC} ${.TARGET} |
229 chmod a+x ${.TARGET} 230 231.c.ln: 232 ${LINT} ${LINTOBJFLAGS} ${CFLAGS:M-[DIU]*} ${.IMPSRC} || \ 233 touch ${.TARGET} 234 235.cc.ln .C.ln .cpp.ln .cxx.ln: 236 ${LINT} ${LINTOBJFLAGS} ${CXXFLAGS:M-[DIU]*} ${.IMPSRC} || \ --- 135 unchanged lines hidden --- | 229 chmod a+x ${.TARGET} 230 231.c.ln: 232 ${LINT} ${LINTOBJFLAGS} ${CFLAGS:M-[DIU]*} ${.IMPSRC} || \ 233 touch ${.TARGET} 234 235.cc.ln .C.ln .cpp.ln .cxx.ln: 236 ${LINT} ${LINTOBJFLAGS} ${CXXFLAGS:M-[DIU]*} ${.IMPSRC} || \ --- 135 unchanged lines hidden --- |