Makefile (7c478bd9) | Makefile (734b6a94) |
---|---|
1# 2# ident "%Z%%M% %I% %E% SMI" 3# | 1# 2# ident "%Z%%M% %I% %E% SMI" 3# |
4# Copyright 2004 Sun Microsystems, Inc. All rights reserved. | 4# Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
5# Use is subject to license terms. 6# 7# cmd/cmd-inet/usr.bin/pppd/Makefile 8# 9 10include ../../../Makefile.cmd 11include Makefile.def 12 --- 6 unchanged lines hidden (view full) --- 19# Object tdb.o used only for Multilink; not supported yet. 20 21all:= TARGET= all 22install:= TARGET= install 23clean:= TARGET= clean 24clobber:= TARGET= clobber 25lint:= TARGET= lint 26 | 5# Use is subject to license terms. 6# 7# cmd/cmd-inet/usr.bin/pppd/Makefile 8# 9 10include ../../../Makefile.cmd 11include Makefile.def 12 --- 6 unchanged lines hidden (view full) --- 19# Object tdb.o used only for Multilink; not supported yet. 20 21all:= TARGET= all 22install:= TARGET= install 23clean:= TARGET= clean 24clobber:= TARGET= clobber 25lint:= TARGET= lint 26 |
27LDLIBS += -lpam -lmd5 -lsocket -lnsl | 27LDLIBS += -lpam -lmd -lsocket -lnsl |
28 29# 30# We need absolute path to /etc/ppp/plugins and /usr/lib/inet/ppp, not 31# that of the proto area 32# 33LDFLAGS += -R$(ETCPPPPLUGINDIR_ABS) -R$(LIBPPPPLUGINDIR_ABS) 34 35CPPFLAGS += -DPLUGIN -DSVR4 -DSOL2 -DINET6 --- 7 unchanged lines hidden (view full) --- 43.PARALLEL: $(SUBDIRS) 44 45all: $(PROG) $(SUBDIRS) 46 47# MS-CHAP support 48CPPFLAGS += -DHAVE_CRYPT_H -DUSE_CRYPT 49CPPFLAGS += -DCHAPMS -DMSLANMAN 50CPPFLAGS += -DCHAPMSV2 | 28 29# 30# We need absolute path to /etc/ppp/plugins and /usr/lib/inet/ppp, not 31# that of the proto area 32# 33LDFLAGS += -R$(ETCPPPPLUGINDIR_ABS) -R$(LIBPPPPLUGINDIR_ABS) 34 35CPPFLAGS += -DPLUGIN -DSVR4 -DSOL2 -DINET6 --- 7 unchanged lines hidden (view full) --- 43.PARALLEL: $(SUBDIRS) 44 45all: $(PROG) $(SUBDIRS) 46 47# MS-CHAP support 48CPPFLAGS += -DHAVE_CRYPT_H -DUSE_CRYPT 49CPPFLAGS += -DCHAPMS -DMSLANMAN 50CPPFLAGS += -DCHAPMSV2 |
51OBJS += chap_ms.o md4.o sha1.o | 51OBJS += chap_ms.o |
52EXOBJS += mschap_test.o 53CLOBBERFILES += mschap_test 54 55# This is used *only* for testing the portability of the libraries 56# required for MS-CHAPv1. It is not needed in any normal system and 57# is not built by default. | 52EXOBJS += mschap_test.o 53CLOBBERFILES += mschap_test 54 55# This is used *only* for testing the portability of the libraries 56# required for MS-CHAPv1. It is not needed in any normal system and 57# is not built by default. |
58mschap_test: mschap_test.o chap_ms.o md4.o sha1.o 59 $(LINK.c) -o mschap_test mschap_test.o chap_ms.o md4.o sha1.o \ 60 $(LDFLAGS) | 58mschap_test: mschap_test.o chap_ms.o 59 $(LINK.c) -o mschap_test mschap_test.o chap_ms.o $(LDFLAGS) |
61 @echo "Run with 'mschap_test 00000000000000000000000000000000 hello'" 62 @echo 63 @echo "Output should be:" 64 @echo 65 @echo " MS-CHAPv1 with LAN Manager -- 49 bytes:" 66 @echo " C9 CA EE 9B 1C A7 87 04" 67 @echo " 79 36 8C 55 AB 88 EC 5A" 68 @echo " 57 E9 A1 B7 95 40 C3 74" --- 62 unchanged lines hidden --- | 60 @echo "Run with 'mschap_test 00000000000000000000000000000000 hello'" 61 @echo 62 @echo "Output should be:" 63 @echo 64 @echo " MS-CHAPv1 with LAN Manager -- 49 bytes:" 65 @echo " C9 CA EE 9B 1C A7 87 04" 66 @echo " 79 36 8C 55 AB 88 EC 5A" 67 @echo " 57 E9 A1 B7 95 40 C3 74" --- 62 unchanged lines hidden --- |