IRIX.mk (9093286b6ab680505bf26c92d5c7fdf65607f40c) IRIX.mk (3841c287170be8b1cba4d9adf8e727ecaeb64518)
1# $NetBSD: IRIX.sys.mk,v 1.2 2002/12/24 23:03:27 jschauma Exp $
2# @(#)sys.mk 8.2 (Berkeley) 3/21/94
3
4.if ${.PARSEFILE} == "sys.mk"
5.ifndef ROOT_GROUP
6OS!= uname -s
7ROOT_GROUP!= sed -n /:0:/s/:.*//p /etc/group
8.MAKEOVERRIDES+= OS ROOT_GROUP
9.endif
1# $NetBSD: IRIX.sys.mk,v 1.2 2002/12/24 23:03:27 jschauma Exp $
2# @(#)sys.mk 8.2 (Berkeley) 3/21/94
3
4.if ${.PARSEFILE} == "sys.mk"
5.ifndef ROOT_GROUP
6OS!= uname -s
7ROOT_GROUP!= sed -n /:0:/s/:.*//p /etc/group
8.MAKEOVERRIDES+= OS ROOT_GROUP
9.endif
10unix?= We run ${OS}.
10unix ?= We run ${OS}.
11.endif
12
13.SUFFIXES: .out .a .ln .o .s .S .c ${CXX_SUFFIXES} .F .f .r .y .l .cl .p .h
14.SUFFIXES: .sh .m4
15
16.LIBS: .a
17
11.endif
12
13.SUFFIXES: .out .a .ln .o .s .S .c ${CXX_SUFFIXES} .F .f .r .y .l .cl .p .h
14.SUFFIXES: .sh .m4
15
16.LIBS: .a
17
18AR?= ar
19ARFLAGS?= rl
20RANLIB?= ranlib
18AR ?= ar
19ARFLAGS ?= rl
20RANLIB ?= ranlib
21
21
22AS?= as
23AFLAGS?=
24COMPILE.s?= ${CC} ${AFLAGS} -c
25LINK.s?= ${CC} ${AFLAGS} ${LDFLAGS}
26COMPILE.S?= ${CC} ${AFLAGS} ${CPPFLAGS} -c -traditional-cpp
27LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
22AS ?= as
23AFLAGS ?=
24COMPILE.s ?= ${CC} ${AFLAGS} -c
25LINK.s ?= ${CC} ${AFLAGS} ${LDFLAGS}
26COMPILE.S ?= ${CC} ${AFLAGS} ${CPPFLAGS} -c -traditional-cpp
27LINK.S ?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
28
28
29CC?= cc
30NOGCCERROR?= # defined
31DBG?= -O2
32CFLAGS?= ${DBG}
33COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
34LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
29CC ?= cc
30NOGCCERROR ?= # defined
31DBG ?= -O2
32CFLAGS ?= ${DBG}
33COMPILE.c ?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
34LINK.c ?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
35
35
36CXX?= CC
37CXXFLAGS?= ${CFLAGS}
38COMPILE.cc?= ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c
39LINK.cc?= ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}
36CXX ?= CC
37CXXFLAGS ?= ${CFLAGS}
38COMPILE.cc ?= ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c
39LINK.cc ?= ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}
40
40
41OBJC?= ${CC}
42OBJCFLAGS?= ${CFLAGS}
43COMPILE.m?= ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} -c
44LINK.m?= ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} ${LDFLAGS}
41OBJC ?= ${CC}
42OBJCFLAGS ?= ${CFLAGS}
43COMPILE.m ?= ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} -c
44LINK.m ?= ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} ${LDFLAGS}
45
45
46CPP?= CC
47CPPFLAGS?=
46CPP ?= CC
47CPPFLAGS ?=
48
48
49FC?= f77
50FFLAGS?= -O
51RFLAGS?=
52COMPILE.f?= ${FC} ${FFLAGS} -c
53LINK.f?= ${FC} ${FFLAGS} ${LDFLAGS}
54COMPILE.F?= ${FC} ${FFLAGS} ${CPPFLAGS} -c
55LINK.F?= ${FC} ${FFLAGS} ${CPPFLAGS} ${LDFLAGS}
56COMPILE.r?= ${FC} ${FFLAGS} ${RFLAGS} -c
57LINK.r?= ${FC} ${FFLAGS} ${RFLAGS} ${LDFLAGS}
49FC ?= f77
50FFLAGS ?= -O
51RFLAGS ?=
52COMPILE.f ?= ${FC} ${FFLAGS} -c
53LINK.f ?= ${FC} ${FFLAGS} ${LDFLAGS}
54COMPILE.F ?= ${FC} ${FFLAGS} ${CPPFLAGS} -c
55LINK.F ?= ${FC} ${FFLAGS} ${CPPFLAGS} ${LDFLAGS}
56COMPILE.r ?= ${FC} ${FFLAGS} ${RFLAGS} -c
57LINK.r ?= ${FC} ${FFLAGS} ${RFLAGS} ${LDFLAGS}
58
58
59INSTALL?= ${PREFIX}/bin/install-sh
59INSTALL ?= ${PREFIX}/bin/install-sh
60
60
61LEX?= lex
62LFLAGS?=
63LEX.l?= ${LEX} ${LFLAGS}
61LEX ?= lex
62LFLAGS ?=
63LEX.l ?= ${LEX} ${LFLAGS}
64
64
65LD?= ld
66LDFLAGS?=
65LD ?= ld
66LDFLAGS ?=
67
67
68LINT?= lint
69LINTFLAGS?= -chapbxzF
68LINT ?= lint
69LINTFLAGS ?= -chapbxzF
70
70
71LORDER?= lorder
71LORDER ?= lorder
72
72
73NM?= nm
73NM ?= nm
74
74
75PC?= pc
76PFLAGS?=
77COMPILE.p?= ${PC} ${PFLAGS} ${CPPFLAGS} -c
78LINK.p?= ${PC} ${PFLAGS} ${CPPFLAGS} ${LDFLAGS}
75PC ?= pc
76PFLAGS ?=
77COMPILE.p ?= ${PC} ${PFLAGS} ${CPPFLAGS} -c
78LINK.p ?= ${PC} ${PFLAGS} ${CPPFLAGS} ${LDFLAGS}
79
79
80SIZE?= size
80SIZE ?= size
81
81
82TSORT?= tsort -q
82TSORT ?= tsort -q
83
83
84YACC?= yacc
85YFLAGS?=
86YACC.y?= ${YACC} ${YFLAGS}
84YACC ?= yacc
85YFLAGS ?=
86YACC.y ?= ${YACC} ${YFLAGS}
87
88# C
89.c:
90 ${LINK.c} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
91.c.o:
92 ${COMPILE.c} ${.IMPSRC}
93.c.a:
94 ${COMPILE.c} ${.IMPSRC}

--- 101 unchanged lines hidden ---
87
88# C
89.c:
90 ${LINK.c} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
91.c.o:
92 ${COMPILE.c} ${.IMPSRC}
93.c.a:
94 ${COMPILE.c} ${.IMPSRC}

--- 101 unchanged lines hidden ---