aboutsummaryrefslogtreecommitdiffstats
path: root/devel/dmake/files/patch-aa
blob: 0fcf7fc588f8557a2d703d0d4da244f372b2ec7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
--- unix/bsd43/make.sh.orig Wed Jul 16 01:02:35 1997
+++ unix/bsd43/make.sh  Fri Dec 17 05:27:21 1999
@@ -1,69 +1,64 @@
+if [ ! -x dmake ]
+then
 mkdir objects
-cc -c -I. -Iunix -Iunix/bsd43 -O infer.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 infer.c
 mv infer.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O make.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 make.c
 mv make.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O stat.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 stat.c
 mv stat.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O expand.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 expand.c
 mv expand.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O dmstring.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 dmstring.c
 mv dmstring.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O hash.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 hash.c
 mv hash.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O dag.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 dag.c
 mv dag.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O dmake.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 dmake.c
 mv dmake.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O path.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 path.c
 mv path.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O imacs.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 imacs.c
 mv imacs.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O sysintf.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 sysintf.c
 mv sysintf.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O parse.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 parse.c
 mv parse.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O getinp.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 getinp.c
 mv getinp.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O quit.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 quit.c
 mv quit.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O state.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 state.c
 mv state.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O dmdump.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 dmdump.c
 mv dmdump.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O macparse.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 macparse.c
 mv macparse.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O rulparse.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 rulparse.c
 mv rulparse.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O percent.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 percent.c
 mv percent.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O function.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 function.c
 mv function.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/arlib.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 unix/arlib.c
 mv arlib.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/dirbrk.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 unix/dirbrk.c
 mv dirbrk.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/rmprq.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 unix/rmprq.c
 mv rmprq.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/ruletab.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 unix/ruletab.c
 mv ruletab.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/runargv.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 unix/runargv.c
 mv runargv.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/dcache.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 unix/dcache.c
 mv dcache.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/bsd43/putenv.c
-mv putenv.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/bsd43/tempnam.c
-mv tempnam.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/bsd43/utime.c
-mv utime.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/bsd43/setvbuf.c
-mv setvbuf.o objects
-cc -O -o dmake  objects/infer.o objects/make.o objects/stat.o objects/expand.o \
+${CC} ${CFLAGS} -o dmake  objects/infer.o objects/make.o objects/stat.o objects/expand.o \
 objects/dmstring.o objects/hash.o objects/dag.o objects/dmake.o objects/path.o \
 objects/imacs.o objects/sysintf.o objects/parse.o objects/getinp.o \
 objects/quit.o objects/state.o objects/dmdump.o objects/macparse.o \
 objects/rulparse.o objects/percent.o objects/function.o objects/arlib.o \
 objects/dirbrk.o objects/rmprq.o objects/ruletab.o objects/runargv.o \
-objects/dcache.o objects/putenv.o objects/tempnam.o objects/utime.o objects/setvbuf.o 
+objects/dcache.o 
 cp unix/bsd43/template.mk startup/config.mk
+fi