Deleted Added
full compact
sys.mk (36618) sys.mk (36673)
1# from: @(#)sys.mk 8.2 (Berkeley) 3/21/94
1# from: @(#)sys.mk 8.2 (Berkeley) 3/21/94
2# $Id: sys.mk,v 1.35 1998/06/03 08:51:39 jb Exp $
2# $Id: sys.mk,v 1.36 1998/06/03 22:07:26 jb Exp $
3
4unix ?= We run FreeBSD, not UNIX.
5
6# If the special target .POSIX appears (without prerequisites or
7# commands) before the first noncomment line in the makefile, make shall
8# process the makefile as specified by the Posix 1003.2 specification.
9# make(1) sets the special macro %POSIX in this case (to the actual
10# value "1003.2", for what it's worth).
11#
12# The rules below use this macro to distinguish between Posix-compliant
13# and default behaviour.
14
15.if defined(%POSIX)
16.SUFFIXES: .o .c .y .l .a .sh .f
17.else
3
4unix ?= We run FreeBSD, not UNIX.
5
6# If the special target .POSIX appears (without prerequisites or
7# commands) before the first noncomment line in the makefile, make shall
8# process the makefile as specified by the Posix 1003.2 specification.
9# make(1) sets the special macro %POSIX in this case (to the actual
10# value "1003.2", for what it's worth).
11#
12# The rules below use this macro to distinguish between Posix-compliant
13# and default behaviour.
14
15.if defined(%POSIX)
16.SUFFIXES: .o .c .y .l .a .sh .f
17.else
18.SUFFIXES: .out .a .ln .o .c .cc .cxx .C .m .F .f .e .r .y .l .S .s .cl .p .h .sh
18.SUFFIXES: .out .a .ln .o .c .cc .cpp .cxx .C .m .F .f .e .r .y .l .S .s .cl .p .h .sh
19.endif
20
21.LIBS: .a
22
23X11BASE ?= /usr/X11R6
24
25AR ?= ar
26.if defined(%POSIX)

--- 153 unchanged lines hidden (view full) ---

180
181.sh:
182 cp -p ${.IMPSRC} ${.TARGET}
183 chmod a+x ${.TARGET}
184
185.c.o:
186 ${CC} ${CFLAGS} -c ${.IMPSRC}
187
19.endif
20
21.LIBS: .a
22
23X11BASE ?= /usr/X11R6
24
25AR ?= ar
26.if defined(%POSIX)

--- 153 unchanged lines hidden (view full) ---

180
181.sh:
182 cp -p ${.IMPSRC} ${.TARGET}
183 chmod a+x ${.TARGET}
184
185.c.o:
186 ${CC} ${CFLAGS} -c ${.IMPSRC}
187
188.cc.o .cxx.o .C.o:
188.cc.o .cpp.o .cxx.o .C.o:
189 ${CXX} ${CXXFLAGS} -c ${.IMPSRC}
190
191.m.o:
192 ${OBJC} ${OBJCFLAGS} -c ${.IMPSRC}
193
194.p.o:
195 ${PC} ${PFLAGS} -c ${.IMPSRC}
196

--- 59 unchanged lines hidden ---
189 ${CXX} ${CXXFLAGS} -c ${.IMPSRC}
190
191.m.o:
192 ${OBJC} ${OBJCFLAGS} -c ${.IMPSRC}
193
194.p.o:
195 ${PC} ${PFLAGS} -c ${.IMPSRC}
196

--- 59 unchanged lines hidden ---