Mercurial > illumos > illumos-gate
annotate usr/src/cmd/cmd-inet/usr.sbin/Makefile @ 12016:0248e987199b
PSARC 2009/306 Brussels II - ipadm and libipadm
PSARC 2010/080 Brussels II addendum
6827318 Brussels Phase II aka ipadm(1m)
6731945 need BSD getifaddrs() API
6909065 explicitly disallow non-contiguous netmasks in the next minor release
6853922 ifconfig dumps core when ether address is non-hexadecimal.
6815806 ipReasmTimeout value should be variable
6567083 nd_getset has some dead and confusing code.
6884466 remove unused tcp/sctp ndd tunables
6928813 Comments at odds with default value of tcp_time_wait_interval
6236982 ifconfig usesrc lets adapter use itself as source address
6936855 modifying the ip6_strict_src_multihoming to non-zero value will unbind V4 IREs
author | Girish Moodalbail <Girish.Moodalbail@Sun.COM> |
---|---|
date | Fri, 26 Mar 2010 17:53:11 -0400 |
parents | 8f30d0e611c6 |
children | 044ff822d212 |
rev | line source |
---|---|
0 | 1 # |
2 # CDDL HEADER START | |
3 # | |
4 # The contents of this file are subject to the terms of the | |
1676 | 5 # Common Development and Distribution License (the "License"). |
6 # You may not use this file except in compliance with the License. | |
0 | 7 # |
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE | |
9 # or http://www.opensolaris.org/os/licensing. | |
10 # See the License for the specific language governing permissions | |
11 # and limitations under the License. | |
12 # | |
13 # When distributing Covered Code, include this CDDL HEADER in each | |
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. | |
15 # If applicable, add the following below this CDDL HEADER, with the | |
16 # fields enclosed by brackets "[]" replaced with your own identifying | |
17 # information: Portions Copyright [yyyy] [name of copyright owner] | |
18 # | |
19 # CDDL HEADER END | |
20 # | |
4162
4bfd590bb99a
6455242 nightly should be able to preserve all proto areas from a single build.
kupfer
parents:
4097
diff
changeset
|
21 |
0 | 22 # |
11767
8f30d0e611c6
PSARC/2008/532 NWAM Phase 1
Anurag S. Maskey <Anurag.Maskey@Sun.COM>
parents:
10946
diff
changeset
|
23 # Copyright 2010 Sun Microsystems, Inc. All rights reserved. |
0 | 24 # Use is subject to license terms. |
25 # | |
26 | |
27 SYNCPROG= syncinit syncloop syncstat | |
28 DHCPPROG= dhcpconfig dhtadm pntadm | |
29 | |
30 # EXPORT DELETE START | |
31 XMODPROG= wanbootutil | |
32 # EXPORT DELETE END | |
33 | |
4235
037e335b7d68
PSARC 2007/200 - Dedicated SMF services for IPsec/IKE
markfen
parents:
4162
diff
changeset
|
34 PROG= 6to4relay arp gettable if_mpadm \ |
3048 | 35 in.comsat in.fingerd in.rarpd in.rexecd in.rlogind \ |
4097 | 36 in.rshd in.rwhod in.telnetd in.tftpd ipaddrsel \ |
4235
037e335b7d68
PSARC 2007/200 - Dedicated SMF services for IPsec/IKE
markfen
parents:
4162
diff
changeset
|
37 ndd $(SYNCPROG) $(DHCPPROG) $(XMODPROG) |
0 | 38 |
39 MANIFEST= rarp.xml telnet.xml comsat.xml finger.xml \ | |
4097 | 40 login.xml shell.xml rexec.xml |
0 | 41 |
3048 | 42 ROOTFS_PROG= hostconfig route soconfig |
43 SBINLINKS= hostconfig route | |
0 | 44 |
45 RPCSVCPROG= hostconfig | |
46 AUDITPROG= in.rexecd in.rlogind in.rshd in.telnetd | |
47 PAMPROG= in.rexecd in.rlogind in.rshd in.telnetd | |
48 SOCKETPROG= 6to4relay arp gettable hostconfig if_mpadm in.comsat \ | |
3048 | 49 in.fingerd in.rarpd in.rexecd in.rlogind in.rshd \ |
4235
037e335b7d68
PSARC 2007/200 - Dedicated SMF services for IPsec/IKE
markfen
parents:
4162
diff
changeset
|
50 in.rwhod in.telnetd in.tftpd ipaddrsel route |
037e335b7d68
PSARC 2007/200 - Dedicated SMF services for IPsec/IKE
markfen
parents:
4162
diff
changeset
|
51 NSLPROG= 6to4relay arp gettable hostconfig in.comsat in.rarpd \ |
3048 | 52 in.rexecd in.rlogind in.rshd in.rwhod in.telnetd \ |
4235
037e335b7d68
PSARC 2007/200 - Dedicated SMF services for IPsec/IKE
markfen
parents:
4162
diff
changeset
|
53 in.tftpd ipaddrsel route |
0 | 54 CMDPROG= in.telnetd |
55 K5PROGS= in.telnetd in.rlogind in.rshd | |
1676 | 56 TSNETPROG= route |
12016
0248e987199b
PSARC 2009/306 Brussels II - ipadm and libipadm
Girish Moodalbail <Girish.Moodalbail@Sun.COM>
parents:
11767
diff
changeset
|
57 DLADMPROG= 6to4relay |
89
ba4d0152c0bd
4533144 ON needs a single set of rules for installing default files
meem
parents:
0
diff
changeset
|
58 DEFAULTFILES= telnetd.dfl |
0 | 59 |
60 PROGSRCS= $(PROG:%=%.c) | |
61 TFTPDOBJS= in.tftpd.o tftpsubs.o | |
62 OTHERSRC= ../usr.bin/tftp/tftpsubs.c | |
63 K5RLOGINOBJS= in.rlogind.o | |
64 K5RSHDOBJS= in.rshd.o | |
6536
5f08fe7feaf4
6516568 Warning messages still being displayed on krb ccache ownership
gtb
parents:
6512
diff
changeset
|
65 K5TELNETOBJS= in.telnetd.o |
0 | 66 SRCS= $(PROGSRCS) $(OTHERSRC) |
67 | |
10946
324bab2b3370
PSARC 2008/575 ILB: Integrated L3/L4 Load balancer
Sangeeta Misra <Sangeeta.Misra@Sun.COM>
parents:
10616
diff
changeset
|
68 SUBDIRS= bootconfchk htable ifconfig ilbadm in.ftpd in.rdisc in.routed \ |
12016
0248e987199b
PSARC 2009/306 Brussels II - ipadm and libipadm
Girish Moodalbail <Girish.Moodalbail@Sun.COM>
parents:
11767
diff
changeset
|
69 in.talkd inetadm inetconv ipadm ipmpstat ipqosconf ipsecutils \ |
11767
8f30d0e611c6
PSARC/2008/532 NWAM Phase 1
Anurag S. Maskey <Anurag.Maskey@Sun.COM>
parents:
10946
diff
changeset
|
70 kssl/kssladm kssl/ksslcfg nwamadm nwamcfg ping routeadm \ |
8f30d0e611c6
PSARC/2008/532 NWAM Phase 1
Anurag S. Maskey <Anurag.Maskey@Sun.COM>
parents:
10946
diff
changeset
|
71 snoop sppptun traceroute wificonfig |
0 | 72 |
10946
324bab2b3370
PSARC 2008/575 ILB: Integrated L3/L4 Load balancer
Sangeeta Misra <Sangeeta.Misra@Sun.COM>
parents:
10616
diff
changeset
|
73 MSGSUBDIRS= bootconfchk htable ifconfig ilbadm in.ftpd in.routed in.talkd \ |
12016
0248e987199b
PSARC 2009/306 Brussels II - ipadm and libipadm
Girish Moodalbail <Girish.Moodalbail@Sun.COM>
parents:
11767
diff
changeset
|
74 inetadm inetconv ipadm ipmpstat ipqosconf ipsecutils kssl/ksslcfg \ |
11767
8f30d0e611c6
PSARC/2008/532 NWAM Phase 1
Anurag S. Maskey <Anurag.Maskey@Sun.COM>
parents:
10946
diff
changeset
|
75 nwamadm nwamcfg routeadm sppptun snoop wificonfig |
0 | 76 |
77 # As programs get lint-clean, add them here and to the 'lint' target. | |
78 # Eventually this hack should go away, and all in PROG should be | |
79 # lint-clean. | |
4235
037e335b7d68
PSARC 2007/200 - Dedicated SMF services for IPsec/IKE
markfen
parents:
4162
diff
changeset
|
80 LINTCLEAN= 6to4relay arp in.rlogind in.rshd in.telnetd in.tftpd \ |
037e335b7d68
PSARC 2007/200 - Dedicated SMF services for IPsec/IKE
markfen
parents:
4162
diff
changeset
|
81 ipaddrsel route \ |
515 | 82 in.rarpd if_mpadm $(SYNCPROG) |
0 | 83 # Likewise, as subdirs get lint-clean, add them here. Once |
84 # they're all clean, replace the dependency of the lint target | |
85 # with SUBDIRS. Also (sigh) deal with the commented-out build lines | |
86 # for the lint rule. | |
10946
324bab2b3370
PSARC 2008/575 ILB: Integrated L3/L4 Load balancer
Sangeeta Misra <Sangeeta.Misra@Sun.COM>
parents:
10616
diff
changeset
|
87 LINTSUBDIRS= bootconfchk ilbadm in.rdisc in.routed in.talkd inetadm \ |
11767
8f30d0e611c6
PSARC/2008/532 NWAM Phase 1
Anurag S. Maskey <Anurag.Maskey@Sun.COM>
parents:
10946
diff
changeset
|
88 inetconv ipmpstat ipqosconf ipsecutils nwamadm nwamcfg ping \ |
8f30d0e611c6
PSARC/2008/532 NWAM Phase 1
Anurag S. Maskey <Anurag.Maskey@Sun.COM>
parents:
10946
diff
changeset
|
89 routeadm sppptun traceroute wificonfig |
0 | 90 # And as programs are verified not to attempt to write into constants, |
91 # -xstrconst should be used to ensure they stay that way. | |
4235
037e335b7d68
PSARC 2007/200 - Dedicated SMF services for IPsec/IKE
markfen
parents:
4162
diff
changeset
|
92 CONSTCLEAN= |
0 | 93 |
94 include ../../Makefile.cmd | |
95 ROOTMANIFESTDIR= $(ROOTSVCNETWORK) | |
96 $(ROOTMANIFEST) := FILEMODE= 444 | |
97 include ../Makefile.cmd-inet | |
98 | |
99 ROOTSBINPROG = $(ROOTFS_PROG:%=$(ROOTSBIN)/%) | |
100 ROOTUSRSBINLINKS = $(SBINLINKS:%=$(ROOTUSRSBIN)/%) | |
101 | |
6536
5f08fe7feaf4
6516568 Warning messages still being displayed on krb ccache ownership
gtb
parents:
6512
diff
changeset
|
102 COMMONOBJS= addr_match.o kcmd.o store_forw_creds.o |
3011
70ba060215e3
6485907 now that gethostbyaddr() & friends are not paranoid, rshd/rlogin must be
jbeck
parents:
2923
diff
changeset
|
103 COMMONSRCS= $(COMMONOBJS:%.o=$(CMDINETCOMMONDIR)/%.c) |
0 | 104 SRCS+= $(COMMONSRCS) |
105 | |
106 # | |
107 # Message catalog | |
108 # | |
4235
037e335b7d68
PSARC 2007/200 - Dedicated SMF services for IPsec/IKE
markfen
parents:
4162
diff
changeset
|
109 POFILES= 6to4relay.po if_mpadm.po in.comsat.po ipaddrsel.po route.po |
0 | 110 POFILE= usr.sbin.po |
111 | |
112 all:= TARGET= all | |
113 install:= TARGET= install | |
114 clean:= TARGET= clean | |
115 clobber:= TARGET= clobber | |
116 lint:= TARGET= lint | |
117 _msg:= TARGET= _msg | |
118 | |
6727
421897262896
6692336 ktkt_warnd(1M) client code should be a library
gtb
parents:
6543
diff
changeset
|
119 CLOBBERFILES += $(ROOTFS_PROG) $(PROG) |
0 | 120 CLEANFILES += $(COMMONOBJS) $(K5RLOGINOBJS) $(K5RSHDOBJS) $(TFTPDOBJS) |
121 | |
3048 | 122 CPPFLAGS += -DSYSV -DBSD_COMP -I$(CMDINETCOMMONDIR) -I |
0 | 123 |
124 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5 | |
125 K5LIBS= | |
126 | |
127 # Eventually just plain CFLAGS should be += -v, but not until all in | |
128 # PROGS are lint clean. | |
129 $(LINTCLEAN) := CFLAGS += $(CCVERBOSE) | |
130 $(CONSTCLEAN) := CFLAGS += $(XSTRCONST) | |
131 | |
132 $(SYNCPROG) := LDLIBS += -ldlpi | |
133 $(SOCKETPROG) := LDLIBS += -lsocket | |
134 $(NSLPROG) := LDLIBS += -lnsl | |
135 $(AUDITPROG) := LDLIBS += -lbsm | |
136 $(PAMPROG) := LDLIBS += -lpam | |
137 $(RPCSVCPROG) := LDLIBS += -lrpcsvc | |
6543
465433824d87
6683064 check_rtime could do with some spring cleaning
rie
parents:
6536
diff
changeset
|
138 $(K5PROGS) := LDFLAGS += $(KRUNPATH) \ |
0 | 139 -L$(ROOT)$(KLIBDIR_DO) -L$(ROOT)$(KLIBDIR_GL) |
140 $(K5PROGS) := K5LIBS= -lmech_krb5 | |
141 $(K5PROGS) := CPPFLAGS += -I$(SRC)/head \ | |
142 -I$(SRC)/uts/common/ \ | |
143 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \ | |
144 -I$(SRC)/lib/gss_mechs/mech_krb5/include \ | |
145 -I$(SRC)/lib/pam_modules/krb5 | |
146 LDLIBS += $(K5LIBS) | |
6543
465433824d87
6683064 check_rtime could do with some spring cleaning
rie
parents:
6536
diff
changeset
|
147 $(TSNETPROG) := LDLIBS += -ltsnet |
10616
3be00c4a6835
PSARC 2009/373 Clearview IP Tunneling
Sebastien Roy <Sebastien.Roy@Sun.COM>
parents:
8485
diff
changeset
|
148 $(DLADMPROG) := LDLIBS += -ldladm |
0 | 149 |
4456 | 150 in.rarpd := LDLIBS += -linetutil -ldlpi |
8485
633e5b5eb268
PSARC/2007/272 Project Clearview: IPMP Rearchitecture
meem <Peter.Memishian@Sun.COM>
parents:
7867
diff
changeset
|
151 if_mpadm := LDLIBS += -linetutil -lipmp |
633e5b5eb268
PSARC/2007/272 Project Clearview: IPMP Rearchitecture
meem <Peter.Memishian@Sun.COM>
parents:
7867
diff
changeset
|
152 if_mpadm.po := XGETFLAGS += -a |
0 | 153 route := CPPFLAGS += -DNDEBUG |
12016
0248e987199b
PSARC 2009/306 Brussels II - ipadm and libipadm
Girish Moodalbail <Girish.Moodalbail@Sun.COM>
parents:
11767
diff
changeset
|
154 ndd := LDLIBS += -ldladm -lipadm |
4271
dda1ded496b7
6455532 OSNet cleanup required in preparation for direct bindings
rie
parents:
4235
diff
changeset
|
155 gettable in.comsat := LDFLAGS += $(MAPFILE.NGB:%=-M%) |
0 | 156 |
157 .KEEP_STATE: | |
158 | |
159 .PARALLEL: | |
160 | |
4162
4bfd590bb99a
6455242 nightly should be able to preserve all proto areas from a single build.
kupfer
parents:
4097
diff
changeset
|
161 all: $(PROG) $(ROOTFS_PROG) $(SUBDIRS) THIRDPARTYLICENSE.arp |
0 | 162 |
163 # | |
164 # message catalog | |
165 # | |
166 _msg: $(MSGSUBDIRS) $(POFILE) | |
167 | |
168 syncutil: $(SYNCPROG) | |
169 | |
170 $(POFILE): $(POFILES) | |
171 $(RM) $@ | |
172 cat $(POFILES) > $@ | |
173 | |
3011
70ba060215e3
6485907 now that gethostbyaddr() & friends are not paranoid, rshd/rlogin must be
jbeck
parents:
2923
diff
changeset
|
174 %.o: $(CMDINETCOMMONDIR)/%.c |
70ba060215e3
6485907 now that gethostbyaddr() & friends are not paranoid, rshd/rlogin must be
jbeck
parents:
2923
diff
changeset
|
175 $(COMPILE.c) -o $@ $< |
0 | 176 |
6727
421897262896
6692336 ktkt_warnd(1M) client code should be a library
gtb
parents:
6543
diff
changeset
|
177 in.telnetd: $(K5TELNETOBJS) |
421897262896
6692336 ktkt_warnd(1M) client code should be a library
gtb
parents:
6543
diff
changeset
|
178 $(LINK.c) $(K5TELNETOBJS) -o $@ $(LDLIBS) |
0 | 179 $(POST_PROCESS) |
180 | |
6727
421897262896
6692336 ktkt_warnd(1M) client code should be a library
gtb
parents:
6543
diff
changeset
|
181 in.rlogind: $(K5RLOGINOBJS) $(COMMONOBJS) |
421897262896
6692336 ktkt_warnd(1M) client code should be a library
gtb
parents:
6543
diff
changeset
|
182 $(LINK.c) $(K5RLOGINOBJS) $(COMMONOBJS) -o $@ $(LDLIBS) |
6536
5f08fe7feaf4
6516568 Warning messages still being displayed on krb ccache ownership
gtb
parents:
6512
diff
changeset
|
183 $(POST_PROCESS) |
5f08fe7feaf4
6516568 Warning messages still being displayed on krb ccache ownership
gtb
parents:
6512
diff
changeset
|
184 |
6727
421897262896
6692336 ktkt_warnd(1M) client code should be a library
gtb
parents:
6543
diff
changeset
|
185 in.rshd: $(K5RSHDOBJS) $(COMMONOBJS) |
421897262896
6692336 ktkt_warnd(1M) client code should be a library
gtb
parents:
6543
diff
changeset
|
186 $(LINK.c) $(K5RSHDOBJS) $(COMMONOBJS) -o $@ $(LDLIBS) |
0 | 187 $(POST_PROCESS) |
188 | |
189 in.tftpd: $(TFTPDOBJS) | |
190 $(LINK.c) $(TFTPDOBJS) -o $@ $(LDLIBS) | |
191 $(POST_PROCESS) | |
192 | |
193 tftpsubs.o: $(OTHERSRC) | |
194 $(COMPILE.c) $(OTHERSRC) -o $@ | |
195 $(POST_PROCESS_O) | |
196 | |
197 $(ROOTUSRSBINLINKS): | |
198 -$(RM) $@; $(SYMLINK) ../../sbin/$(@F) $@ | |
199 | |
200 install: $(PROG) $(ROOTFS_PROG) $(SUBDIRS) .WAIT $(ROOTUSRSBINPROG) \ | |
201 $(ROOTSBINPROG) $(ROOTUSRSBINLINKS) $(ROOTETCDEFAULTFILES) \ | |
4162
4bfd590bb99a
6455242 nightly should be able to preserve all proto areas from a single build.
kupfer
parents:
4097
diff
changeset
|
202 $(ROOTMANIFEST) THIRDPARTYLICENSE.arp |
4bfd590bb99a
6455242 nightly should be able to preserve all proto areas from a single build.
kupfer
parents:
4097
diff
changeset
|
203 |
4bfd590bb99a
6455242 nightly should be able to preserve all proto areas from a single build.
kupfer
parents:
4097
diff
changeset
|
204 THIRDPARTYLICENSE.arp: arp.c |
4bfd590bb99a
6455242 nightly should be able to preserve all proto areas from a single build.
kupfer
parents:
4097
diff
changeset
|
205 $(SED) -n '/University of California/,/SUCH DAMAGE/p' arp.c > $@ |
4bfd590bb99a
6455242 nightly should be able to preserve all proto areas from a single build.
kupfer
parents:
4097
diff
changeset
|
206 |
4bfd590bb99a
6455242 nightly should be able to preserve all proto areas from a single build.
kupfer
parents:
4097
diff
changeset
|
207 CLOBBERFILES += THIRDPARTYLICENSE.arp |
0 | 208 |
209 # | |
210 # The reason this rule checks for the existence of the | |
211 # Makefile is that some of the directories do not exist | |
212 # in our exportable source builds. | |
213 # | |
214 $(SUBDIRS): FRC | |
215 @if [ -f $@/Makefile ]; then \ | |
216 cd $@; pwd; $(MAKE) $(TARGET); \ | |
217 else \ | |
218 true; \ | |
219 fi | |
220 | |
221 FRC: | |
222 | |
223 check: $(CHKMANIFEST) | |
224 | |
225 clean: $(SUBDIRS) | |
226 -$(RM) $(CLEANFILES) | |
227 | |
228 clobber: $(SUBDIRS) | |
229 -$(RM) $(CLEANFILES) $(CLOBBERFILES) | |
230 | |
231 lint: $(LINTSUBDIRS) | |
10616
3be00c4a6835
PSARC 2009/373 Clearview IP Tunneling
Sebastien Roy <Sebastien.Roy@Sun.COM>
parents:
8485
diff
changeset
|
232 $(LINT.c) 6to4relay.c $(LDLIBS) -lsocket -ldladm |
0 | 233 $(LINT.c) arp.c $(LDLIBS) -lsocket -lnsl |
234 @# $(LINT.c) in.rexecd.c $(LDLIBS) -lbsm -lpam | |
235 $(LINT.c) -erroff=E_NAME_USED_NOT_DEF2 -erroff=E_NAME_DEF_NOT_USED2 \ | |
236 -I$(SRC)/head -I$(SRC)/uts/common/ \ | |
237 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \ | |
238 -I$(SRC)/lib/gss_mechs/mech_krb5/include \ | |
239 -I$(SRC)/lib/pam_modules/krb5 \ | |
240 in.rlogind.c $(COMMONSRCS) $(LDLIBS) -lbsm -lpam -lsocket -lnsl | |
241 $(LINT.c) -erroff=E_NAME_USED_NOT_DEF2 -erroff=E_NAME_DEF_NOT_USED2 \ | |
242 -I$(SRC)/head -I$(SRC)/uts/common/ \ | |
243 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \ | |
244 -I$(SRC)/lib/gss_mechs/mech_krb5/include \ | |
245 -I$(SRC)/lib/pam_modules/krb5 \ | |
246 in.rshd.c $(COMMONSRCS) $(LDLIBS) -lbsm -lpam -lsocket -lnsl | |
247 $(LINT.c) -erroff=E_NAME_USED_NOT_DEF2 \ | |
248 -erroff=E_GLOBAL_COULD_BE_STATIC2 \ | |
249 -I$(SRC)/head -I$(SRC)/uts/common/ \ | |
250 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \ | |
251 -I$(SRC)/lib/gss_mechs/mech_krb5/include \ | |
252 -I$(SRC)/lib/pam_modules/krb5 \ | |
253 in.telnetd.c $(LDLIBS) -lbsm -lpam -lsocket -lnsl | |
8485
633e5b5eb268
PSARC/2007/272 Project Clearview: IPMP Rearchitecture
meem <Peter.Memishian@Sun.COM>
parents:
7867
diff
changeset
|
254 $(LINT.c) if_mpadm.c $(LDLIBS) -lsocket -lnsl -lipmp -linetutil |
0 | 255 $(LINT.c) ipaddrsel.c $(LDLIBS) -lsocket -lnsl |
1676 | 256 $(LINT.c) route.c $(LDLIBS) -lsocket -lnsl -ltsnet |
0 | 257 $(LINT.c) syncinit.c $(LDLIBS) -ldlpi |
258 $(LINT.c) syncloop.c $(LDLIBS) -ldlpi | |
259 $(LINT.c) syncstat.c $(LDLIBS) -ldlpi | |
260 $(LINT.c) -erroff=E_NAME_USED_NOT_DEF2 in.rarpd.c $(LDLIBS) \ | |
261 -lsocket -lnsl | |
262 $(LINT.c) in.tftpd.c ../usr.bin/tftp/tftpsubs.c $(LDLIBS) \ | |
263 -lsocket -lnsl | |
264 | |
265 # EXPORT DELETE START | |
266 EXPORT_SRC: | |
267 $(RM) Makefile+ | |
268 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ | |
269 < Makefile > Makefile+ | |
270 $(RM) Makefile | |
271 $(MV) Makefile+ Makefile | |
272 $(CHMOD) 444 Makefile | |
273 # EXPORT DELETE END |