Print this page
make: unifdef for NSE (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 #
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 17 dist.o \
↓ open down ↓ |
17 lines elided |
↑ open up ↑ |
18 18 doname.o \
19 19 dosys.o \
20 20 files.o \
21 21 globals.o \
22 22 implicit.o \
23 23 macro.o \
24 24 main.o \
25 25 make.o \
26 26 misc.o \
27 27 nse_printdep.o \
28 - nse.o \
29 28 parallel.o \
30 29 pmake.o \
31 30 read.o \
32 31 read2.o \
33 32 rep.o \
34 33 state.o
35 34
36 35 include ../../Makefile.cmd
37 36 include ../Makefile.com
38 37
39 38 LDLIBS += ../lib/mksh/libmksh.a ../lib/mksdmsi18n/libmksdmsi18n.a ../lib/vroot/libvroot.a
40 39 LDLIBS += ../lib/bsd/libbsd.a -lc
41 40
42 41 CPPFLAGS += -D_FILE_OFFSET_BITS=64
43 42
44 43 ROOTLINKS = $(ROOTCCSBIN)/make $(ROOTXPG4BIN)/make $(ROOTBIN)/dmake $(ROOTCCSLIB)/svr4.make \
45 44 $(ROOTLIB)/svr4.make
46 45
47 46 ROOTRULES = $(ROOTSHLIB)/make/make.rules $(ROOTSHLIB)/make/svr4.make.rules
48 47
49 48 all: $(PROG)
50 49
51 50 install: all $(ROOTPROG) $(ROOTLINKS) $(ROOTRULES)
52 51
53 52 $(PROG): $(OBJS)
54 53 $(LINK.cc) $(OBJS) -o $@ $(LDLIBS)
55 54 $(POST_PROCESS)
56 55
57 56 $(ROOTCCSBIN)/make:
58 57 -$(RM) $@; $(SYMLINK) ../../bin/make $@
59 58
60 59 $(ROOTCCSLIB)/svr4.make:
61 60 -$(RM) $@; $(SYMLINK) ../../bin/make $@
62 61
63 62 $(ROOTLIB)/svr4.make:
64 63 -$(RM) $@; $(SYMLINK) ../bin/make $@
65 64
66 65 $(ROOTXPG4BIN)/make:
67 66 -$(RM) $@; $(SYMLINK) ../../bin/make $@
68 67
69 68 $(ROOTBIN)/dmake:
70 69 -$(RM) $@; $(SYMLINK) ./make $@
71 70
72 71 $(ROOTRULES) := FILEMODE = 0444
73 72
74 73 $(ROOTRULES): $(ROOTSHLIB)/make
75 74
76 75 $(ROOTSHLIB)/make: FRC
77 76 $(INS.dir)
78 77
79 78 $(ROOTSHLIB)/make/%: %.file
80 79 $(INS.rename)
81 80
82 81 lint:
83 82
84 83 clean:
85 84 $(RM) $(OBJS)
86 85
87 86 FRC:
88 87
89 88 include ../../Makefile.targ
90 89
↓ open down ↓ |
52 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX