Print this page
make: unifdef for MAKETOOL and DISTRIBUTED (undefined)
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/make/bin/Makefile
+++ new/usr/src/cmd/make/bin/Makefile
1 1 #
2 2 # This file and its contents are supplied under the terms of the
3 3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 4 # You may only use this file in accordance with the terms of version
5 5 # 1.0 of the CDDL.
6 6 #
↓ open down ↓ |
6 lines elided |
↑ open up ↑ |
7 7 # A full copy of the text of the CDDL should have accompanied this
8 8 # source. A copy of the CDDL is also available via the Internet at
9 9 # http://www.illumos.org/license/CDDL.
10 10 #
11 11
12 12 # Copyright 2015, Richard Lowe.
13 13
14 14 PROG= make
15 15 OBJS= ar.o \
16 16 depvar.o \
17 - dist.o \
18 17 doname.o \
19 18 dosys.o \
20 19 files.o \
21 20 globals.o \
22 21 implicit.o \
23 22 macro.o \
24 23 main.o \
25 24 misc.o \
26 25 nse_printdep.o \
27 26 parallel.o \
28 27 pmake.o \
29 28 read.o \
30 29 read2.o \
31 30 rep.o \
32 31 state.o
33 32
34 33 include ../../Makefile.cmd
35 34 include ../Makefile.com
36 35
37 36 LDLIBS += ../lib/mksh/libmksh.a ../lib/mksdmsi18n/libmksdmsi18n.a ../lib/vroot/libvroot.a
38 37 LDLIBS += ../lib/bsd/libbsd.a -lc -lnsl -lumem
39 38
40 39 CPPFLAGS += -D_FILE_OFFSET_BITS=64
41 40
42 41 ROOTLINKS = $(ROOTCCSBIN)/make $(ROOTXPG4BIN)/make $(ROOTBIN)/dmake $(ROOTCCSLIB)/svr4.make \
43 42 $(ROOTLIB)/svr4.make
44 43
45 44 ROOTRULES = $(ROOTSHLIB)/make/make.rules $(ROOTSHLIB)/make/svr4.make.rules
46 45
47 46 all: $(PROG)
48 47
49 48 install: all $(ROOTPROG) $(ROOTLINKS) $(ROOTRULES)
50 49
51 50 $(PROG): $(OBJS)
52 51 $(LINK.cc) $(OBJS) -o $@ $(LDLIBS)
53 52 $(POST_PROCESS)
54 53
55 54 $(ROOTCCSBIN)/make:
56 55 -$(RM) $@; $(SYMLINK) ../../bin/make $@
57 56
58 57 $(ROOTCCSLIB)/svr4.make:
59 58 -$(RM) $@; $(SYMLINK) ../../bin/make $@
60 59
61 60 $(ROOTLIB)/svr4.make:
62 61 -$(RM) $@; $(SYMLINK) ../bin/make $@
63 62
64 63 $(ROOTXPG4BIN)/make:
65 64 -$(RM) $@; $(SYMLINK) ../../bin/make $@
66 65
67 66 $(ROOTBIN)/dmake:
68 67 -$(RM) $@; $(SYMLINK) ./make $@
69 68
70 69 $(ROOTRULES) := FILEMODE = 0444
71 70
72 71 $(ROOTRULES): $(ROOTSHLIB)/make
73 72
74 73 $(ROOTSHLIB)/make: FRC
75 74 $(INS.dir)
76 75
77 76 $(ROOTSHLIB)/make/%: %.file
78 77 $(INS.rename)
79 78
80 79 lint:
81 80
82 81 clean:
83 82 $(RM) $(OBJS)
84 83
85 84 FRC:
86 85
87 86 include ../../Makefile.targ
88 87
↓ open down ↓ |
61 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX