1 | # |
---|
2 | # Copyright (c) 1991 The Regents of the University of California. |
---|
3 | # All rights reserved. |
---|
4 | # |
---|
5 | # Redistribution and use in source and binary forms are permitted provided |
---|
6 | # that: (1) source distributions retain this entire copyright notice and |
---|
7 | # comment, and (2) distributions including binaries display the following |
---|
8 | # acknowledgement: ``This product includes software developed by the |
---|
9 | # University of California, Berkeley and its contributors'' in the |
---|
10 | # documentation or other materials provided with the distribution and in |
---|
11 | # all advertising materials mentioning features or use of this software. |
---|
12 | # Neither the name of the University nor the names of its contributors may |
---|
13 | # be used to endorse or promote products derived from this software without |
---|
14 | # specific prior written permission. |
---|
15 | # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED |
---|
16 | # WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF |
---|
17 | # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
---|
18 | # |
---|
19 | # @(#)Config.generic 5.5 (Berkeley) 3/1/91 |
---|
20 | # |
---|
21 | |
---|
22 | # This is the configuration file for building all of |
---|
23 | # telnet/telnetd/libtelnet. If you want to add your |
---|
24 | # own local configuration for a specific machine that |
---|
25 | # is already listed here, it is best to create a new |
---|
26 | # file called "Config.local", and put the definitions |
---|
27 | # there. If you are adding definitions for a new system |
---|
28 | # type, you can add them here. In this case, please send |
---|
29 | # the new definition, and any changes you have to make to |
---|
30 | # the code, back to "dab@cray.com" so that your changes |
---|
31 | # can be put into the next release. |
---|
32 | # |
---|
33 | # Each definition must have the form: |
---|
34 | # |
---|
35 | # <target>: |
---|
36 | # make -f Makefile.generic ${WHAT} \ |
---|
37 | # <definitions> |
---|
38 | # DEFINES= |
---|
39 | # |
---|
40 | # Variables to be defined when actually compiling the source. Defined |
---|
41 | # as: DEFINES="-D<var> -D<var2> ... -D<varn>" |
---|
42 | # |
---|
43 | # TELNET/TELNETD CONFIGURATION |
---|
44 | # |
---|
45 | # LINEMODE Turns on support in telnetd for the linemode option. |
---|
46 | # (Linemode is always on in the client). |
---|
47 | # |
---|
48 | # KLUDGELINEMODE Define this to get the kludged up version of linemode |
---|
49 | # that was in 4.3BSD. This is a good thing to have |
---|
50 | # around for talking to older systems. This has no |
---|
51 | # effect on telnetd if LINEMODE has not been defined. |
---|
52 | # |
---|
53 | # DIAGNOSTICS Turns on diagnostic code in telnetd; adds extra |
---|
54 | # logic and checks, and debuging output if started |
---|
55 | # with the -D option. |
---|
56 | # |
---|
57 | # NO_URGENT Define this if you don't want telnetd to send |
---|
58 | # IAC DM in urgent mode when the pty output queue |
---|
59 | # is flushed. |
---|
60 | # |
---|
61 | # GENERATE_GA Turns on code to allow the generation of Go Ahead(GA) |
---|
62 | # if the server is WONT SGA. This code is imprecise, |
---|
63 | # it generates the GA when two seconds have elapsed |
---|
64 | # and no input or output has occurred. |
---|
65 | # |
---|
66 | # AUTHENTICATION Enable the AUTHENTICATION option. |
---|
67 | # |
---|
68 | # ENCRYPTION Enable the ENCRYPT option. |
---|
69 | # |
---|
70 | # KRB4 Enable Kerberos Version 4 Authentication code |
---|
71 | # in libtelnet/libtelnet.a |
---|
72 | # |
---|
73 | # KRB5 Enable Kerberos Version 5 Authentication code |
---|
74 | # in libtelnet/libtelnet.a |
---|
75 | # |
---|
76 | # SPX Enable SPX authentication code in. |
---|
77 | # libtelnet/libtelnet.a |
---|
78 | # |
---|
79 | # RSA_ENCPWD |
---|
80 | # |
---|
81 | # KRB4_ENCPWD |
---|
82 | # |
---|
83 | # |
---|
84 | # DES_ENCRYPTION Enable DES encryption/decryption, requires |
---|
85 | # getting a the initial key from Kerberos. This |
---|
86 | # works with both Kerberos Version 4 and 5. |
---|
87 | # |
---|
88 | # ENV_HACK Turn on code to recognize and allow |
---|
89 | # interoperability with systems that have their |
---|
90 | # definitions for ENV_VALUE and ENV_VAR reversed. |
---|
91 | # |
---|
92 | # LOCAL SYSYTEM PARAMATERS |
---|
93 | # |
---|
94 | # TERMCAP Define this if your system is termcap based, |
---|
95 | # otherwise a terminfo based system is assumed. |
---|
96 | # |
---|
97 | # SYSV_TERMIO Use the System V termio structure. (implies USE_TERMIO) |
---|
98 | # |
---|
99 | # NO_CC_T Define this if your termio.h file does not have |
---|
100 | # a typedef for cc_t. |
---|
101 | # |
---|
102 | # USE_TERMIO Define this if you have the POSIX termios structures. |
---|
103 | # This code works under the BSD 4.4 terminal driver. |
---|
104 | # |
---|
105 | # HAS_GETTOS Define this if you have the setsockopt() option for |
---|
106 | # setting the IP Type Of Service bits, (IP_TOS) and |
---|
107 | # you have the gettosbyname() function. |
---|
108 | # |
---|
109 | # NEWINIT Turns on the new init code for UNICOS systems. |
---|
110 | # |
---|
111 | # STREAMS This system needs <sys/stream.h> for <sys/tty.h> |
---|
112 | # (Sun 4.0.3) |
---|
113 | # |
---|
114 | # FILIO_H This system should use <sys/fileo.h> instead |
---|
115 | # of <sys/ioctl.h> (Sun 4.0.3) |
---|
116 | # |
---|
117 | # HAVE_fd_set This system has a typedef for fd_set, but does |
---|
118 | # not have FDSET() defined. |
---|
119 | # |
---|
120 | # NO_STRING_H If you don't have <string.h>, but have <strings.h> |
---|
121 | # |
---|
122 | # NO_LOGIN_P If /bin/login doesn't understand the "-p" |
---|
123 | # (preserve environment) option. |
---|
124 | # |
---|
125 | # LOGIN_ARGS if /bin/login understands environment variables |
---|
126 | # after the login name. Only used if NO_LOGIN_P |
---|
127 | # is defined. |
---|
128 | # |
---|
129 | # NO_LOGIN_F If /bin/login doesn't understand the "-f" option. |
---|
130 | # Only used if AUTHENTICATION is defined. |
---|
131 | # |
---|
132 | # LOGIN_R This says that /bin/login understands the "-r host" |
---|
133 | # option. Only used if NO_LOGIN_F is defined (and |
---|
134 | # the system supports the TIOCSTI ioctl). |
---|
135 | # |
---|
136 | # LOGIN_HOST Only applies if LOGIN_R is defined. This |
---|
137 | # specifies the hostname to be passed to "login -r" |
---|
138 | # for successfully authenticated logins. This |
---|
139 | # defaults to "localhost" (don't forget to include |
---|
140 | # the quotes, e.g. -DLOGIN_HOST=\"localhost\"). |
---|
141 | # |
---|
142 | # It can also be set to host (-DLOGIN_HOST=host) |
---|
143 | # to have the real hostname passed to "/bin/login -r". |
---|
144 | # NOTE: If you do this, then anyone that wants to |
---|
145 | # allow authenticated login access will have |
---|
146 | # to add those remote hosts to their .rhosts, |
---|
147 | # which sort of defeats the whole purpose of |
---|
148 | # authenticated login... |
---|
149 | # |
---|
150 | # NO_BSD_SETJMP For UNICOS releases prior to 7.0. Turns off |
---|
151 | # the inclusion of <bsdsetjmp.h>. |
---|
152 | # |
---|
153 | # STREAMS If the system has streams; causes <sys/stream.h> |
---|
154 | # to be included instead of <sys/tty.h> |
---|
155 | # |
---|
156 | # MUST_ALIGN If !KRB & !HAVE_KRB4_DES_LIB and your words |
---|
157 | # must be word aligned. |
---|
158 | # |
---|
159 | # STREAMSPTY Use /dev/ptmx to get a clean pty. Uses |
---|
160 | # streams packet mode rather than Berkeley. |
---|
161 | # Appropriate for SVr4 derivatives. |
---|
162 | # |
---|
163 | # UTMPX System has /etc/utmpx as well as /etc/utmp. |
---|
164 | # Use makeutx and modutx to update utmp/x and wtmp/x. |
---|
165 | # Appropriate for SVr4 derivatives. |
---|
166 | # |
---|
167 | # HAS_CGETENT If your system has the cgetent() and cgetstr() |
---|
168 | # routines. This is a 4.4BSD feature, that |
---|
169 | # eliminates grabbing the getty gettytab.c source. |
---|
170 | # You need to include getent.o on the LIB_OBJ |
---|
171 | # line if this is defined. |
---|
172 | # |
---|
173 | # OLD_ENVIRON Support for the old environment option. |
---|
174 | |
---|
175 | # LIB_OBJ= |
---|
176 | # This is a list of object files that are needed but are not in |
---|
177 | # the standard C library. |
---|
178 | # |
---|
179 | # strcasecmp.o If you don't have strncasecmp(3) |
---|
180 | # strdup.o If you don't have strdup(3) |
---|
181 | # setenv.o If you don't have setenv(3) and unsetenv(3) |
---|
182 | # setsid.o If you don't have the POSIX setsid() call |
---|
183 | # strerror.o If you don't have strerror(3) |
---|
184 | # strftime.o If you don't have strftime(3) |
---|
185 | # getopt.o If you don't have getopt(3) |
---|
186 | # herror.o If you don't have herror(3) |
---|
187 | # gettytab.o If you can get gettytab.c from getty source. |
---|
188 | # getent.o If you can't get gettytab.c (or have |
---|
189 | # HAS_CGETENT defined...) |
---|
190 | # mem.o If you don't have mem*(3) routines. |
---|
191 | |
---|
192 | # LIB_SRC= |
---|
193 | # This is a list of source modules for specificed in LIB_OBJ. |
---|
194 | # This information is used by make for checking dependencies. |
---|
195 | |
---|
196 | |
---|
197 | # LIBS= |
---|
198 | # This is a list of libraries to be included. This will always |
---|
199 | # include the telnet library, and will also include either -lcurses |
---|
200 | # or -ltermcap, -lutil for 4.4bsd, and -lnet for UNICOS5.0 and earlier. |
---|
201 | # Also -lkrb & -ldes if Kerberos. |
---|
202 | |
---|
203 | # LIBPATH= |
---|
204 | # This is a list of the paths to all the libraries listed in LIBS. |
---|
205 | # This information is used by make for checking dependencies. |
---|
206 | # Don't forget libc.a |
---|
207 | |
---|
208 | # VPATH= |
---|
209 | # Directory where gettytab.c can be found, if you have it. |
---|
210 | |
---|
211 | # LIBEXEC= |
---|
212 | # Directory where the telnetd executable should be installed. |
---|
213 | |
---|
214 | # LCCFLAGS= |
---|
215 | # Local flags for ${CC} (like -O) |
---|
216 | |
---|
217 | # AR= |
---|
218 | # Name of "ar" program, usually just "ar". |
---|
219 | |
---|
220 | # ARFLAGS |
---|
221 | # Flags to pass to ${AR} |
---|
222 | |
---|
223 | # RANLIB |
---|
224 | # Name of "ranlib" program, set it to "NONE" if you don't |
---|
225 | # have a "ranlib". |
---|
226 | |
---|
227 | all: |
---|
228 | @echo "You must specify what type of system you are on," |
---|
229 | @echo "or setup a Config.local file for your system." |
---|
230 | @echo "Known system types are:" |
---|
231 | @echo |
---|
232 | @echo " 4.4bsd 4.3reno 4.4bsd.auth 4.3reno.auth 4.3tahoe 4.3bsd" |
---|
233 | @echo " bsdi1.0 bsdi1.0.auth" |
---|
234 | @echo " unicos8.1 unicos8.0 unicos7.C unicos7.0" |
---|
235 | @echo " unicos8.1.auth unicos8.0.auth unicos7.0.auth" |
---|
236 | @echo " unicos7.C.auth unicos7.0.des.auth" |
---|
237 | @echo " unicos6.1 unicos6.0 unicos5.1 unicos5.0" |
---|
238 | @echo " sun3.5 sun4.0.3c sun4.0 sun4.1 sun4.1.auth" |
---|
239 | @echo " solaris2.2 solaris2.2.auth" |
---|
240 | @echo " dynix3.0.12 dynix3.0.17" |
---|
241 | @echo " ultrix3.1 ultrix4.0 ultrix4.1 ultrix4.3 ultrix4.3.auth" |
---|
242 | @echo " irix4.0.1" |
---|
243 | @echo " hpux8.0" |
---|
244 | @echo " next1.0" |
---|
245 | @echo " convex" |
---|
246 | @echo " osf1 osf1.auth" |
---|
247 | |
---|
248 | 4.4bsd: |
---|
249 | make -f Makefile.generic ${WHAT} \ |
---|
250 | LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a" \ |
---|
251 | LIBPATH="/usr/lib/libc.a /usr/lib/libtermcap.a \ |
---|
252 | ../libtelnet/libtelnet.a" \ |
---|
253 | DEST=${DESTDIR}/usr/bin \ |
---|
254 | DEFINES=${ODEFS}"-DLINEMODE -DTERMCAP -DKLUDGELINEMODE \ |
---|
255 | -DDEFAULT_IM='\"\r\n4.4 BSD UNIX (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
256 | -DUSE_TERMIO -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON \ |
---|
257 | -DHAS_CGETENT" \ |
---|
258 | INCLUDES="-I.." \ |
---|
259 | LIB_OBJ="getent.o" \ |
---|
260 | LIB_SRC="getent.c" \ |
---|
261 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
262 | LIBEXEC=${DESTDIR}/usr/libexec \ |
---|
263 | CC="${CC}" LCCFLAGS="-O" |
---|
264 | |
---|
265 | osf1: |
---|
266 | make -f Makefile.generic ${WHAT} \ |
---|
267 | LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ |
---|
268 | LIBPATH="/usr/lib/libc.a /usr/lib/libtermcap.a \ |
---|
269 | ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ |
---|
270 | DEST=${DESTDIR}/usr/athena/bin \ |
---|
271 | DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ |
---|
272 | -DDEFAULT_IM='\"\r\nOSF/1 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
273 | -DUSE_TERMIO -DDIAGNOSTICS -DENV_HACK \ |
---|
274 | -DOLD_ENVIRON ${AUTH_DEF}" \ |
---|
275 | INCLUDES="-I.." \ |
---|
276 | LIB_OBJ="getent.o" \ |
---|
277 | LIB_SRC="getent.c" \ |
---|
278 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
279 | LIBEXEC=${DESTDIR}/etc/athena \ |
---|
280 | CC="${CC}" LCCFLAGS="-O -std1 -Olimit 602 -Dunix" |
---|
281 | # The -Dunix is for the -std1 |
---|
282 | |
---|
283 | 4.3reno: |
---|
284 | make -f Makefile.generic ${WHAT} \ |
---|
285 | LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ |
---|
286 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
287 | ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ |
---|
288 | DEST=${DESTDIR}/usr/bin \ |
---|
289 | DEFINES=${ODEFS}"-DLINEMODE -DTERMCAP -DKLUDGELINEMODE \ |
---|
290 | -DDEFAULT_IM='\"\r\n4.3BSD-Reno UNIX (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
291 | -DUSE_TERMIO -DDIAGNOSTICS -DENV_HACK \ |
---|
292 | -DOLD_ENVIRON ${AUTH_DEF}" \ |
---|
293 | INCLUDES="-I.. ${AUTH_INC}" \ |
---|
294 | LIB_OBJ="gettytab.o" \ |
---|
295 | LIB_SRC="gettytab.c" \ |
---|
296 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
297 | VPATH=/usr/src/libexec/getty \ |
---|
298 | LIBEXEC=${DESTDIR}/usr/libexec \ |
---|
299 | CC="${CC}" LCCFLAGS="-O" |
---|
300 | |
---|
301 | |
---|
302 | osf1.auth: |
---|
303 | make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ |
---|
304 | AUTH_LIB="-L/usr/athena/lib -lkrb -ldes" \ |
---|
305 | AUTH_LIBPATH="/usr/athena/lib/libkrb.a /usr/athena/lib/libdes.a" \ |
---|
306 | AUTH_DEF="-I/usr/athena/include -DAUTHENTICATION -DENCRYPTION -DKRB4 -DDES_ENCRYPTION" |
---|
307 | |
---|
308 | 4.4bsd.auth 4.3reno.auth: |
---|
309 | make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ |
---|
310 | AUTH_LIB="-lkrb -ldes" \ |
---|
311 | AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ |
---|
312 | AUTH_DEF="-DAUTHENTICATION -DENCRYPTION -DKRB4 -DDES_ENCRYPTION" |
---|
313 | |
---|
314 | 4.3tahoe: |
---|
315 | @echo $@ is untested... it may or may not work..." |
---|
316 | make -f Makefile.generic ${WHAT} \ |
---|
317 | LIBS="-ltermcap ../libtelnet/libtelnet.a" \ |
---|
318 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
319 | ../libtelnet/libtelnet.a" \ |
---|
320 | DEST=${DESTDIR}/usr/bin \ |
---|
321 | DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ |
---|
322 | -DDEFAULT_IM='\"\r\n4.3BSD-Tahoe UNIX (%h) (%t)\r\n\r\r\n\r\"'\ |
---|
323 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ |
---|
324 | INCLUDES="-I.." \ |
---|
325 | LIB_OBJ="strdup.o setsid.o strftime.o gettytab.o" \ |
---|
326 | LIB_SRC="strdup.c setsid.c strftime.c gettytab.c" \ |
---|
327 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
328 | VPATH=/usr/src/etc/getty \ |
---|
329 | LIBEXEC=${DESTDIR}/etc \ |
---|
330 | CC="${CC}" LCCFLAGS="-O" |
---|
331 | |
---|
332 | 4.3bsd: |
---|
333 | @echo $@ is untested... it may or may not work..." |
---|
334 | make -f Makefile.generic ${WHAT} \ |
---|
335 | LIBS="-ltermcap ../libtelnet/libtelnet.a" \ |
---|
336 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
337 | ../libtelnet/libtelnet.a" \ |
---|
338 | DEST=${DESTDIR}/usr/bin \ |
---|
339 | DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ |
---|
340 | -DDEFAULT_IM='\"\r\n4.3BSD UNIX (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
341 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ |
---|
342 | INCLUDES="-I.." \ |
---|
343 | LIB_OBJ="strdup.o setsid.o strftime.o \ |
---|
344 | gettytab.o getopt.o herror.o" \ |
---|
345 | LIB_SRC="strdup.c setsid.c strftime.c \ |
---|
346 | gettytab.c getopt.c herror.c" \ |
---|
347 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
348 | VPATH=/usr/src/etc/getty \ |
---|
349 | LIBEXEC=${DESTDIR}/etc \ |
---|
350 | CC="${CC}" LCCFLAGS="-O" |
---|
351 | |
---|
352 | bsdi1.0: |
---|
353 | make -f Makefile.generic ${WHAT} \ |
---|
354 | LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ |
---|
355 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
356 | ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ |
---|
357 | DEST=${DESTDIR}/usr/bin \ |
---|
358 | DEFINES=${ODEFS}"-DLINEMODE -DTERMCAP -DKLUDGELINEMODE \ |
---|
359 | -DDEFAULT_IM='\"\r\nBSDI BSD/386 1.0 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
360 | -DUSE_TERMIO -DDIAGNOSTICS -DENV_HACK \ |
---|
361 | -DOLD_ENVIRON ${AUTH_DEF}" \ |
---|
362 | INCLUDES="-I.. ${AUTH_INC}" \ |
---|
363 | LIB_OBJ="gettytab.o" \ |
---|
364 | LIB_SRC="gettytab.c" \ |
---|
365 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
366 | VPATH=/usr/src/libexec/getty \ |
---|
367 | LIBEXEC=${DESTDIR}/usr/libexec \ |
---|
368 | CC="${CC}" LCCFLAGS="-O" |
---|
369 | |
---|
370 | bsdi1.0.auth: |
---|
371 | make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ |
---|
372 | AUTH_LIB="-lkrb -ldes" \ |
---|
373 | AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ |
---|
374 | AUTH_DEF="-DAUTHENTICATION -DENCRYPTION -DKRB4 -DDES_ENCRYPTION" |
---|
375 | AUTH_INC=-I/usr/include/kerberosIV |
---|
376 | |
---|
377 | unicos8.1: |
---|
378 | make -f Makefile.generic ${WHAT} \ |
---|
379 | LIBS="-lcurses -L../libtelnet -ltelnet ${AUTH_LIB}" \ |
---|
380 | LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ |
---|
381 | ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ |
---|
382 | DEST=${DESTDIR}/usr/ucb \ |
---|
383 | DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ |
---|
384 | -DLINEMODE -DKLUDGELINEMODE \ |
---|
385 | -DSYSV_TERMIO -DHAS_GETTOS ${AUTH_DEF} \ |
---|
386 | -DDEFAULT_IM='\"\r\nCray UNICOS 8.1 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
387 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ |
---|
388 | AR=bld ARFLAGS=cq RANLIB=NONE \ |
---|
389 | LIBEXEC=${DESTDIR}/etc \ |
---|
390 | INCLUDES="-I.. ${AUTH_INC}" \ |
---|
391 | LIB_OBJ="getent.o" \ |
---|
392 | LIB_SRC="getent.c" \ |
---|
393 | |
---|
394 | unicos8.0: |
---|
395 | make -f Makefile.generic ${WHAT} \ |
---|
396 | LIBS="-lcurses -L../libtelnet -ltelnet ${AUTH_LIB}" \ |
---|
397 | LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ |
---|
398 | ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ |
---|
399 | DEST=${DESTDIR}/usr/ucb \ |
---|
400 | DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ |
---|
401 | -DLINEMODE -DKLUDGELINEMODE \ |
---|
402 | -DSYSV_TERMIO -DHAS_GETTOS ${AUTH_DEF} \ |
---|
403 | -DDEFAULT_IM='\"\r\nCray UNICOS 8.0 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
404 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ |
---|
405 | AR=bld ARFLAGS=cq RANLIB=NONE \ |
---|
406 | LIBEXEC=${DESTDIR}/etc \ |
---|
407 | INCLUDES="-I.. ${AUTH_INC}" \ |
---|
408 | LIB_OBJ="getent.o" \ |
---|
409 | LIB_SRC="getent.c" \ |
---|
410 | CC="${CC}" LCCFLAGS="-O" |
---|
411 | |
---|
412 | unicos7.C: |
---|
413 | make -f Makefile.generic ${WHAT} \ |
---|
414 | LIBS="-lcurses -L../libtelnet -ltelnet ${AUTH_LIB}" \ |
---|
415 | LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ |
---|
416 | ../libtelnet/libtelnet.a ${AUTH_LIBPATH}"\ |
---|
417 | DEST=${DESTDIR}/usr/ucb \ |
---|
418 | DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ |
---|
419 | -DLINEMODE -DKLUDGELINEMODE \ |
---|
420 | -DSYSV_TERMIO -DHAS_GETTOS ${AUTH_DEF} \ |
---|
421 | -DDEFAULT_IM='\"\r\nCray UNICOS 7.C (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
422 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ |
---|
423 | AR=bld ARFLAGS=cq RANLIB=NONE \ |
---|
424 | LIBEXEC=${DESTDIR}/etc \ |
---|
425 | INCLUDES="-I.. ${AUTH_INC}" \ |
---|
426 | LIB_OBJ="getent.o" \ |
---|
427 | LIB_SRC="getent.c" \ |
---|
428 | CC="${CC}" LCCFLAGS="-O" |
---|
429 | |
---|
430 | |
---|
431 | unicos7.0: |
---|
432 | make -f Makefile.generic ${WHAT} \ |
---|
433 | LIBS="-lcurses -L../libtelnet -ltelnet -lkrb" \ |
---|
434 | LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ |
---|
435 | ../libtelnet/libtelnet.a /usr/lib/libkrb.a" \ |
---|
436 | DEST=${DESTDIR}/usr/ucb \ |
---|
437 | DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ |
---|
438 | -DLINEMODE -DKLUDGELINEMODE \ |
---|
439 | -DSYSV_TERMIO -DHAS_GETTOS \ |
---|
440 | -DDEFAULT_IM='\"\r\nCray UNICOS 7.0 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
441 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ |
---|
442 | AR=bld ARFLAGS=cq RANLIB=NONE \ |
---|
443 | LIBEXEC=${DESTDIR}/etc \ |
---|
444 | INCLUDES="-I.." \ |
---|
445 | LIB_OBJ="getent.o" \ |
---|
446 | LIB_SRC="getent.c" \ |
---|
447 | CC="${CC}" LCCFLAGS="-O" |
---|
448 | |
---|
449 | # As of UNICOS 7.0.5.2, there is no longer a /usr/lib/libdes.a |
---|
450 | # If you still have a /usr/lib/libdes.a, use the "unicos7.0.des.auth" |
---|
451 | # target instead of "unicos7.0.auth". |
---|
452 | |
---|
453 | unicos8.1.auth unicos8.0.auth unicos7.0.auth: |
---|
454 | make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ |
---|
455 | AUTH_LIB=-lkrb AUTH_LIBPATH=/usr/lib/libkrb.a \ |
---|
456 | AUTH_INC=-I/usr/include/krb \ |
---|
457 | AUTH_DEF="-DAUTHENTICATION -DENCRYPTION -DKRB4 -DDES_ENCRYPTION" |
---|
458 | |
---|
459 | unicos7.C.auth unicos7.0.des.auth: |
---|
460 | make -f ../Config.generic `basename $@ .des.auth` WHAT=${WHAT} \ |
---|
461 | AUTH_LIB="-lkrb -ldes" \ |
---|
462 | AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ |
---|
463 | AUTH_INC=-I/usr/include/krb \ |
---|
464 | AUTH_DEF="-DAUTHENTICATION -DENCRYPTION -DKRB4 -DDES_ENCRYPTION" |
---|
465 | |
---|
466 | unicos6.1: |
---|
467 | make -f Makefile.generic ${WHAT} \ |
---|
468 | LIBS="-lcurses -L../libtelnet -ltelnet" \ |
---|
469 | LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ |
---|
470 | ../libtelnet/libtelnet.a" \ |
---|
471 | DEST=${DESTDIR}/usr/ucb \ |
---|
472 | DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ |
---|
473 | -DKLUDGELINEMODE -DUSE_TERMIO -DHAS_GETTOS \ |
---|
474 | -DLINEMODE -DSYSV_TERMIO -DNEWINIT \ |
---|
475 | -DNO_LOGIN_F -DNO_LOGIN_P -DNO_BSD_SETJMP \ |
---|
476 | -DLOGIN_ARGS \ |
---|
477 | -DDEFAULT_IM='\"\r\nCray UNICOS 6.1 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
478 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ |
---|
479 | AR=bld ARFLAGS=cq RANLIB=NONE \ |
---|
480 | LIBEXEC=${DESTDIR}/etc \ |
---|
481 | INCLUDES="-I.." \ |
---|
482 | LIB_OBJ="getent.o parsetos.o" \ |
---|
483 | LIB_SRC="getent.c parsetos.c" \ |
---|
484 | CC="${CC}" LCCFLAGS="-O" |
---|
485 | |
---|
486 | unicos6.0: |
---|
487 | @echo $@ is untested... it may or may not work..." |
---|
488 | make -f Makefile.generic ${WHAT} \ |
---|
489 | LIBS="-lcurses -L../libtelnet -ltelnet" \ |
---|
490 | LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ |
---|
491 | ../libtelnet/libtelnet.a" \ |
---|
492 | DEST=${DESTDIR}/usr/ucb \ |
---|
493 | DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ |
---|
494 | -DKLUDGELINEMODE -DUSE_TERMIO -DHAS_GETTOS \ |
---|
495 | -DLINEMODE -DSYSV_TERMIO -DNEWINIT \ |
---|
496 | -DNO_LOGIN_F -DNO_LOGIN_P -DNO_BSD_SETJMP \ |
---|
497 | -DLOGIN_ARGS \ |
---|
498 | -DDEFAULT_IM='\"\r\nCray UNICOS 6.0 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
499 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ |
---|
500 | AR=bld ARFLAGS=cq RANLIB=NONE \ |
---|
501 | LIBEXEC=${DESTDIR}/etc \ |
---|
502 | INCLUDES="-I.." \ |
---|
503 | LIB_OBJ="getent.o parsetos.o" \ |
---|
504 | LIB_SRC="getent.c parsetos.c" \ |
---|
505 | CC="${CC}" LCCFLAGS="-O" |
---|
506 | |
---|
507 | unicos5.1: |
---|
508 | @echo $@ is untested... it may or may not work..." |
---|
509 | make -f Makefile.generic ${WHAT} \ |
---|
510 | LIBS="-lnet -lcurses -L../libtelnet -ltelnet" \ |
---|
511 | LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ |
---|
512 | ../libtelnet/libtelnet.a" \ |
---|
513 | DEST=${DESTDIR}/usr/ucb \ |
---|
514 | DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=sigset \ |
---|
515 | -DKLUDGELINEMODE -DSYSV_TERMIO -DNO_CC_T \ |
---|
516 | -DUNICOS5 -DLINEMODE -DSYSV_TERMIO \ |
---|
517 | -DNEWINIT -DNO_LOGIN_F -DNO_LOGIN_P -DNO_BSD_SETJMP \ |
---|
518 | -DLOGIN_ARGS \ |
---|
519 | -DDEFAULT_IM='\"\r\nCray UNICOS 5.1 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
520 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ |
---|
521 | INCLUDES="-I.." \ |
---|
522 | LIB_OBJ="getent.o strerror.o setsid.o strftime.o" \ |
---|
523 | LIB_SRC="getent.c strerror.c setsid.c strftime.c" \ |
---|
524 | AR=bld ARFLAGS=cq RANLIB=NONE \ |
---|
525 | LIBEXEC=${DESTDIR}/etc \ |
---|
526 | CC="${CC}" LCCFLAGS="-O" |
---|
527 | |
---|
528 | unicos5.0: |
---|
529 | @echo $@ is untested... it may or may not work..." |
---|
530 | make -f Makefile.generic ${WHAT} \ |
---|
531 | LIBS="-lnet -lcurses -L../libtelnet -ltelnet" \ |
---|
532 | LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ |
---|
533 | ../libtelnet/libtelnet.a" \ |
---|
534 | DEST=${DESTDIR}/usr/ucb \ |
---|
535 | DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=sigset \ |
---|
536 | -DKLUDGELINEMODE -DSYSV_TERMIO -DNO_CC_T \ |
---|
537 | -DUNICOS5 -DUNICOS50 -DLINEMODE -DSYSV_TERMIO \ |
---|
538 | -DNEWINIT -DNO_LOGIN_F -DNO_LOGIN_P -DNO_BSD_SETJMP \ |
---|
539 | -DLOGIN_ARGS \ |
---|
540 | -DDEFAULT_IM='\"\r\nCray UNICOS 5.0 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
541 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ |
---|
542 | INCLUDES="-I.." \ |
---|
543 | LIB_OBJ="getent.o strerror.o setsid.o strftime.o" \ |
---|
544 | LIB_SRC="getent.c strerror.c setsid.c strftime.c" \ |
---|
545 | AR=bld ARFLAGS=cq RANLIB=NONE \ |
---|
546 | LIBEXEC=${DESTDIR}/etc \ |
---|
547 | CC="${CC}" LCCFLAGS="-O" |
---|
548 | |
---|
549 | sun3.5: |
---|
550 | @echo $@ is untested... it may or may not work..." |
---|
551 | make -f Makefile.generic ${WHAT} \ |
---|
552 | LIBS="-ltermcap ../libtelnet/libtelnet.a" \ |
---|
553 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
554 | ../libtelnet/libtelnet.a" \ |
---|
555 | DEST=${DESTDIR}/usr/ucb \ |
---|
556 | DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ |
---|
557 | -DHAVE_fd_set \ |
---|
558 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON \ |
---|
559 | -DDEFAULT_IM='\"\r\nSunOS UNIX 3.5 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
560 | -DNO_LOGIN_P" \ |
---|
561 | INCLUDES="-I.." \ |
---|
562 | LIB_OBJ="getent.o strdup.o strerror.o setsid.o \ |
---|
563 | setenv.o strftime.o strcasecmp.o herror.o" \ |
---|
564 | LIB_SRC="getent.c strdup.c strerror.c setsid.c \ |
---|
565 | setenv.c strftime.c strcasecmp.c herror.c" \ |
---|
566 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
567 | LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ |
---|
568 | CC="${CC}" LCCFLAGS="-O" |
---|
569 | |
---|
570 | sun4.0.3c sun4.0: |
---|
571 | @echo $@ is untested... it may or may not work..." |
---|
572 | make -f Makefile.generic ${WHAT} \ |
---|
573 | LIBS="-ltermcap ../libtelnet/libtelnet.a" \ |
---|
574 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
575 | ../libtelnet/libtelnet.a" \ |
---|
576 | DEST=${DESTDIR}/usr/ucb \ |
---|
577 | DEFINES=${ODEFS}"-DFILIO_H -DTERMCAP -DUSE_TERMIO -DNO_CC_T \ |
---|
578 | -DKLUDGELINEMODE \ |
---|
579 | -DDEFAULT_IM='\"\r\nSunOS UNIX 4.0 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
580 | -DSTREAMS -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON \ |
---|
581 | " \ |
---|
582 | INCLUDES="-I.." \ |
---|
583 | LIB_OBJ="getent.o strerror.o setsid.o setenv.o \ |
---|
584 | strcasecmp.o strftime.o herror.o" \ |
---|
585 | LIB_SRC="getent.c strerror.c setsid.c setenv.c \ |
---|
586 | strcasecmp.c strftime.c herror.c" \ |
---|
587 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
588 | LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ |
---|
589 | CC="${CC}" LCCFLAGS="-O" |
---|
590 | |
---|
591 | sun4.1: |
---|
592 | make -f Makefile.generic ${WHAT} \ |
---|
593 | LIBS="-ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ |
---|
594 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
595 | ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ |
---|
596 | DEST=${DESTDIR}/usr/ucb \ |
---|
597 | DEFINES=${ODEFS}"-DFILIO_H -DTERMCAP -DUSE_TERMIO \ |
---|
598 | -DKLUDGELINEMODE -DSTREAMS \ |
---|
599 | -DDEFAULT_IM='\"\r\nSunOS UNIX 4.1 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
600 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON ${AUTH_DEF}" \ |
---|
601 | INCLUDES="-I.. ${AUTH_INC}" \ |
---|
602 | LIB_OBJ="getent.o strerror.o setenv.o herror.o" \ |
---|
603 | LIB_SRC="getent.c strerror.c setenv.c herror.c" \ |
---|
604 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
605 | LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ |
---|
606 | CC="${CC}" LCCFLAGS="-O" |
---|
607 | |
---|
608 | sun4.1.auth: |
---|
609 | make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ |
---|
610 | AUTH_LIB="-lkrb -ldes" \ |
---|
611 | AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ |
---|
612 | AUTH_DEF="-DAUTHENTICATION -DENCRYPTION -DKRB4 -DDES_ENCRYPTION" |
---|
613 | |
---|
614 | sol2.2 solaris2.2: |
---|
615 | make -f Makefile.generic ${WHAT} \ |
---|
616 | LIBS="-ltermlib ../libtelnet/libtelnet.a" \ |
---|
617 | LIBPATH="/usr/ccs/lib/libtermlib.a ../libtelnet/libtelnet.a \ |
---|
618 | /usr/lib/libc.a /usr/ucblib/libucb.a \ |
---|
619 | /usr/lib/libsocket.a /usr/lib/libnsl.a" \ |
---|
620 | DEST=${DESTDIR}/usr/ucb \ |
---|
621 | DEFINES="-DFILIO_H -DUSE_TERMIO -DKLUDGELINEMODE \ |
---|
622 | -DSTREAMS -DSTREAMSPTY -DDIAGNOSTICS -DSOLARIS \ |
---|
623 | -DENV_HACK -DOLD_ENVIRON -DNO_LOGIN_P -DUTMPX \ |
---|
624 | -DDEFAULT_IM='\"\r\n\r\nUNIX(r) System V Release 4.0 (%h)\r\n\r\n\"' \ |
---|
625 | -DLOGIN_ARGS" \ |
---|
626 | INCLUDES="-I.. -I/usr/ucbinclude" \ |
---|
627 | LIB_OBJ="getent.o strerror.o setenv.o herror.o" \ |
---|
628 | LIB_SRC="getent.c strerror.c setenv.c herror.c" \ |
---|
629 | AR=ar ARFLAGS=cq RANLIB=NONE \ |
---|
630 | LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ |
---|
631 | CC="${CC}" LCCFLAGS="-O" |
---|
632 | |
---|
633 | sol2.2.auth solaris2.2.auth: |
---|
634 | make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ |
---|
635 | AUTH_LIB="-lkrb" AUTH_LIBPATH="/usr/lib/libkrb.a" \ |
---|
636 | AUTH_INC=-I/usr/include/kerberos \ |
---|
637 | AUTH_DEF="-DAUTHENTICATION -DKRB4" |
---|
638 | |
---|
639 | dynix3.0.12: |
---|
640 | @echo $@ is untested... it may or may not work..." |
---|
641 | make -f Makefile.generic ${WHAT} \ |
---|
642 | LIBS="-ltermcap ../libtelnet/libtelnet.a" \ |
---|
643 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
644 | ../libtelnet/libtelnet.a" \ |
---|
645 | DEST=${DESTDIR}/usr/ucb \ |
---|
646 | DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ |
---|
647 | -DDEFAULT_IM='\"\r\nDYNIX(R) V3.0.12 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
648 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON -DNO_STRING_H " \ |
---|
649 | INCLUDES="-I.." \ |
---|
650 | LIB_OBJ="getent.o strchr.o strrchr.o strdup.o strerror.o \ |
---|
651 | setsid.o setenv.o strcasecmp.o strftime.o getopt.o \ |
---|
652 | mem.o" \ |
---|
653 | LIB_SRC="getent.c strchr.c strrchr.c strdup.c strerror.c \ |
---|
654 | setsid.c setenv.c strcasecmp.c strftime.c getopt.c \ |
---|
655 | mem.o" \ |
---|
656 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
657 | LIBEXEC=${DESTDIR}/usr/etc \ |
---|
658 | CC="${CC}" LCCFLAGS="-O" |
---|
659 | |
---|
660 | dynix3.0.17: |
---|
661 | make -f Makefile.generic ${WHAT} \ |
---|
662 | LIBS="-ltermcap ../libtelnet/libtelnet.a -lseq" \ |
---|
663 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
664 | ../libtelnet/libtelnet.a /usr/lib/libseq.a" \ |
---|
665 | DEST=${DESTDIR}/usr/ucb \ |
---|
666 | DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ |
---|
667 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON -DNO_STRING_H \ |
---|
668 | -DDEFAULT_IM='\"\r\nDYNIX(R) V3.0.17 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
669 | " \ |
---|
670 | INCLUDES="-I.." \ |
---|
671 | LIB_OBJ="getent.o strchr.o strrchr.o strdup.o strerror.o \ |
---|
672 | setsid.o strftime.o mem.o" \ |
---|
673 | LIB_SRC="getent.c strchr.c strrchr.c strdup.c strerror.c \ |
---|
674 | setsid.c strftime.c mem.c" \ |
---|
675 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
676 | LIBEXEC=${DESTDIR}/usr/etc \ |
---|
677 | CC="${CC}" LCCFLAGS="-O" |
---|
678 | |
---|
679 | ultrix3.1: |
---|
680 | @echo $@ is untested... it may or may not work..." |
---|
681 | make -f Makefile.generic ${WHAT} \ |
---|
682 | LIBS="-ltermcap ../libtelnet/libtelnet.a" \ |
---|
683 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
684 | ../libtelnet/libtelnet.a" \ |
---|
685 | DEST=${DESTDIR}/usr/ucb \ |
---|
686 | DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ |
---|
687 | -DNO_LOGIN_F -DNO_LOGIN_P -DNO_LOGIN_H \ |
---|
688 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON -DUSE_TERMIO \ |
---|
689 | -DDEFAULT_IM='\"\r\nULTRIX V3.1 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
690 | -YPOSIX" \ |
---|
691 | INCLUDES="-I.." \ |
---|
692 | LIB_OBJ="getent.o strdup.o strerror.o setenv.o \ |
---|
693 | strftime.o herror.o" \ |
---|
694 | LIB_SRC="getent.c strdup.c strerror.c setenv.c \ |
---|
695 | strftime.c herror.c" \ |
---|
696 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
697 | LIBEXEC=${DESTDIR}/usr/etc \ |
---|
698 | CC="${CC}" LCCFLAGS="-O" |
---|
699 | |
---|
700 | ultrix4.0: |
---|
701 | @echo $@ is untested... it may or may not work..." |
---|
702 | make -f Makefile.generic ${WHAT} \ |
---|
703 | LIBS="-ltermcap ../libtelnet/libtelnet.a" \ |
---|
704 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
705 | ../libtelnet/libtelnet.a" \ |
---|
706 | DEST=${DESTDIR}/usr/ucb \ |
---|
707 | DEFINES=${ODEFS}"-DUSE_TERMIO -DTERMCAP \ |
---|
708 | -DDEFAULT_IM='\"\r\nULTRIX V4.0 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
709 | -DKLUDGELINEMODE -DDIAGNOSTICS \ |
---|
710 | -DNO_LOGIN_F -DNO_LOGIN_P -DNO_LOGIN_H \ |
---|
711 | -DENV_HACK -DOLD_ENVIRON" \ |
---|
712 | INCLUDES="-I.." \ |
---|
713 | LIB_OBJ="getent.o strdup.o strerror.o setsid.o \ |
---|
714 | setenv.o strftime.o" \ |
---|
715 | LIB_SRC="getent.c strdup.c strerror.c setsid.c \ |
---|
716 | setenv.c strftime.c" \ |
---|
717 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
718 | LIBEXEC=${DESTDIR}/usr/etc \ |
---|
719 | CC="${CC}" LCCFLAGS="-O" |
---|
720 | |
---|
721 | ultrix4.1: |
---|
722 | make -f Makefile.generic ${WHAT} \ |
---|
723 | LIBS="-ltermcap ../libtelnet/libtelnet.a" \ |
---|
724 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
725 | ../libtelnet/libtelnet.a" \ |
---|
726 | DEST=${DESTDIR}/usr/ucb \ |
---|
727 | DEFINES=${ODEFS}"-DUSE_TERMIO -DTERMCAP \ |
---|
728 | -DDEFAULT_IM='\"\r\nULTRIX V4.1 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
729 | -DKLUDGELINEMODE -DDIAGNOSTICS \ |
---|
730 | -DNO_LOGIN_F -DNO_LOGIN_P -DNO_LOGIN_H \ |
---|
731 | -DENV_HACK -DOLD_ENVIRON" \ |
---|
732 | INCLUDES="-I.." \ |
---|
733 | LIB_OBJ="getent.o strdup.o" \ |
---|
734 | LIB_SRC="getent.c strdup.c" \ |
---|
735 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
736 | LIBEXEC=${DESTDIR}/usr/etc \ |
---|
737 | CC="${CC}" LCCFLAGS="-O" |
---|
738 | |
---|
739 | ultrix4.3: |
---|
740 | make -f Makefile.generic ${WHAT} \ |
---|
741 | LIBS="-ltermcap ../libtelnet/libtelnet.a" \ |
---|
742 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
743 | ../libtelnet/libtelnet.a" \ |
---|
744 | DEST=${DESTDIR}/usr/ucb \ |
---|
745 | DEFINES=${ODEFS}"-DUSE_TERMIO -DTERMCAP \ |
---|
746 | -DDEFAULT_IM='\"\r\nULTRIX V4.3 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
747 | -DKLUDGELINEMODE -DDIAGNOSTICS \ |
---|
748 | -DNO_LOGIN_F -DNO_LOGIN_P -DNO_LOGIN_H \ |
---|
749 | -DENV_HACK -DOLD_ENVIRON" \ |
---|
750 | INCLUDES="-I.." \ |
---|
751 | LIB_OBJ="getent.o strdup.o" \ |
---|
752 | LIB_SRC="getent.c strdup.c" \ |
---|
753 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
754 | LIBEXEC=${DESTDIR}/usr/etc \ |
---|
755 | CC="${CC}" LCCFLAGS="-O" |
---|
756 | |
---|
757 | ultrix4.3.auth: |
---|
758 | make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ |
---|
759 | AUTH_LIB="-lkrb -ldes" \ |
---|
760 | AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ |
---|
761 | AUTH_DEF="-DAUTHENTICATION -DKRB4" |
---|
762 | |
---|
763 | irix4.0.1: |
---|
764 | @echo $@ is untested... it may or may not work..." |
---|
765 | make -f Makefile.generic ${WHAT} \ |
---|
766 | LIBS="-ltermlib ../libtelnet/libtelnet.a" \ |
---|
767 | LIBPATH="/usr/lib/libc.a /usr/lib/libtermlib.a \ |
---|
768 | ../libtelnet/libtelnet.a" \ |
---|
769 | DEST=${DESTDIR}/usr/bin \ |
---|
770 | DEFINES=${ODEFS}"-Dvfork=fork -DUSE_TERMIO \ |
---|
771 | -DDEFAULT_IM='\"\r\n\r\nIRIX System V.3 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
772 | -DNO_LOGIN_F -DNO_LOGIN_P \ |
---|
773 | -DDIAGNOSTICS " \ |
---|
774 | INCLUDES="-I.." \ |
---|
775 | LIB_OBJ="getent.o setenv.o" \ |
---|
776 | LIB_SRC="getent.c setenv.c" \ |
---|
777 | AR=ar ARFLAGS=cq RANLIB=NONE \ |
---|
778 | LIBEXEC=${DESTDIR}/etc \ |
---|
779 | CC="${CC}" LCCFLAGS="-O" |
---|
780 | |
---|
781 | hpux8.0: |
---|
782 | @echo $@ is untested... it may or may not work..." |
---|
783 | make -f Makefile.generic ${WHAT} \ |
---|
784 | LIBS="-ltermcap ../libtelnet/libtelnet.a" \ |
---|
785 | LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ |
---|
786 | ../libtelnet/libtelnet.a" \ |
---|
787 | DEST=${DESTDIR}/usr/bin \ |
---|
788 | DEFINES=${ODEFS}"-Dvfork=fork -DUSE_TERMIO \ |
---|
789 | -DDEFAULT_IM='\"\r\n\r\nHP-UX 8.0 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
790 | -DNO_LOGIN_F -DNO_LOGIN_P -DNO_LOGIN_H \ |
---|
791 | -DDIAGNOSTICS -DLOGIN_ARGS" \ |
---|
792 | INCLUDES="-I.." \ |
---|
793 | LIB_OBJ="getent.o setenv.o" \ |
---|
794 | LIB_SRC="getent.c setenv.c" \ |
---|
795 | AR=ar ARFLAGS=cq RANLIB=NONE \ |
---|
796 | LIBEXEC=${DESTDIR}/etc \ |
---|
797 | CC="${CC}" LCCFLAGS="-O" |
---|
798 | |
---|
799 | next1.0: |
---|
800 | @echo $@ is untested... it may or may not work..." |
---|
801 | make -f Makefile.generic ${WHAT} \ |
---|
802 | LIBS="../libtelnet/libtelnet.a -ltermcap -lsys_s" \ |
---|
803 | LIBPATH="/lib/libc.a /lib/libsys_s.a /usr/lib/libtermcap.a \ |
---|
804 | ../libtelnet/libtelnet.a" \ |
---|
805 | DEST=${DESTDIR}/usr/ucb \ |
---|
806 | DEFINES=${ODEFS}"-bsd -DTERMCAP -DKLUDGELINEMODE \ |
---|
807 | -DDEFAULT_IM='\"\r\nNeXT 1.0 (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
808 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON \ |
---|
809 | -DNO_STRING_H -Dgetenv=getenv_" \ |
---|
810 | INCLUDES="-I.." \ |
---|
811 | LIB_OBJ="strdup.o setenv.o setsid.o strftime.o \ |
---|
812 | strcasecmp.o gettytab.o" \ |
---|
813 | LIB_SRC=s"trdup.c setenv.c setsid.c strftime.c \ |
---|
814 | strcasecmp.c gettytab.c" \ |
---|
815 | CC="${CC}" LCCFLAGS="-O" \ |
---|
816 | VPATH=../../getty \ |
---|
817 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
818 | LIBEXEC=${DESTDIR}/usr/etc |
---|
819 | |
---|
820 | # |
---|
821 | # For the convex, make symbolic links to the tc[sg]getattr.c routines, |
---|
822 | # because we are using posix stuff, but not the posix library... |
---|
823 | # Pass the stuff to Makefile.generic by passing the object/source names |
---|
824 | # in through LIB_OBJ and LIB_SRC |
---|
825 | # |
---|
826 | convex: |
---|
827 | @echo $@ is untested... it may or may not work..." |
---|
828 | ln -s ../../rel_usr/src/lib/libc/posix/tcsetattr.c tcsetattr.c |
---|
829 | ln -s ../../rel_usr/src/lib/libc/posix/tcgetattr.c tcgetattr.c |
---|
830 | make -f Makefile.generic ${WHAT} \ |
---|
831 | LIBS="-ltermcap ../libtelnet/libtelnet.a" \ |
---|
832 | LIBPATH="../libtelnet/libtelnet.a" \ |
---|
833 | AR=ar ARFLAGS=cq RANLIB=ranlib \ |
---|
834 | LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ |
---|
835 | CC="${CC}" LCCFLAGS="-g ${OPTLEV} -Dconvex" \ |
---|
836 | DEFINES=${ODEFS}"-DUSE_TERMIO -DLINEMODE \ |
---|
837 | -DDEFAULT_IM='\"\r\nConvex (%h) (%t)\r\n\r\r\n\r\"' \ |
---|
838 | -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ |
---|
839 | INCLUDES="-I.." \ |
---|
840 | LIB_OBJ="getent.o setsid.o strftime.o \ |
---|
841 | tcsetattr.o tcgetattr.o" \ |
---|
842 | LIB_SRC="getent.c setsid.c strftime.c \ |
---|
843 | tcsetattr.c tcgetattr.c" |
---|
844 | |
---|
845 | clean cleandir: |
---|
846 | make -f Makefile.generic $@ |
---|