Removed
Link Here
|
1 |
*** Makefile Wed Mar 21 09:33:15 2001 |
2 |
--- ../pkg/tac_plus.new/Makefile Mon Jan 21 15:51:28 2002 |
3 |
*************** |
4 |
*** 33,41 **** |
5 |
CPPFLAGS = |
6 |
CFLAGS = $(CPPFLAGS) -g -O2 |
7 |
LDFLAGS = |
8 |
! OSLIBS = -lldap -lldap -lc -lcrypt -lresolv -lnsl -llber -lcrypt -lc |
9 |
! DEFINES = -DUSE_LDAP |
10 |
! OS= -DLINUX -DGLIBC |
11 |
# For AIX |
12 |
# See /usr/lpp/bos/bsdport on your system for details of how to define bsdcc |
13 |
# CC=bsdcc |
14 |
--- 33,41 ---- |
15 |
CPPFLAGS = |
16 |
CFLAGS = $(CPPFLAGS) -g -O2 |
17 |
LDFLAGS = |
18 |
! OSLIBS = -lc -lcrypt -lcrypt -lc -I/usr/local/include -L/usr/local/lib -lradius |
19 |
! DEFINES = -DUSE_RADIUS |
20 |
! OS= |
21 |
# For AIX |
22 |
# See /usr/lpp/bos/bsdport on your system for details of how to define bsdcc |
23 |
# CC=bsdcc |
24 |
*************** |
25 |
*** 52,58 **** |
26 |
#OSLIBS=-lsocket -lnsl |
27 |
|
28 |
# For FreeBSD |
29 |
! # OS=-DFREEBSD |
30 |
# You may also need to add: |
31 |
# OSLIBS=-lcrypt |
32 |
# NOTE: If you want your password encryption to be compatible with |
33 |
--- 52,58 ---- |
34 |
#OSLIBS=-lsocket -lnsl |
35 |
|
36 |
# For FreeBSD |
37 |
! OS=-DFREEBSD |
38 |
# You may also need to add: |
39 |
# OSLIBS=-lcrypt |
40 |
# NOTE: If you want your password encryption to be compatible with |
41 |
*************** |
42 |
*** 108,114 **** |
43 |
# End of customisable section of Makefile |
44 |
# |
45 |
|
46 |
! CFLAGS = $(DEBUG) $(OPT_FLAGS) $(DEFINES) $(INCLUDES) $(FLAGS) $(OS) $(PIDFILE) $(LDFLAGS) $(DB) |
47 |
|
48 |
HFILES = expire.h parse.h regmagic.h md5.h regexp.h tac_plus.h |
49 |
|
50 |
--- 108,115 ---- |
51 |
# End of customisable section of Makefile |
52 |
# |
53 |
|
54 |
! |
55 |
! CFLAGS = $(DEBUG) $(OPT_FLAGS) $(DEFINES) $(INCLUDES) $(FLAGS) $(OS) $(PIDFILE) $(LDFLAGS) $(DB) -I/usr/local/include -L/usr/local/lib |
56 |
|
57 |
HFILES = expire.h parse.h regmagic.h md5.h regexp.h tac_plus.h |
58 |
|
59 |
*************** |
60 |
*** 117,123 **** |
61 |
packet.c report.c sendauth.c tac_plus.c utils.c pw.c hash.c \ |
62 |
parse.c regexp.c programs.c enable.c pwlib.c default_fn.c \ |
63 |
skey_fn.c default_v0_fn.c sendpass.c maxsess.c tac_pam.c \ |
64 |
! db.c db_null.c db_mysql.c ldap.c |
65 |
|
66 |
OBJS = $(SRCS:.c=.o) |
67 |
|
68 |
--- 118,126 ---- |
69 |
packet.c report.c sendauth.c tac_plus.c utils.c pw.c hash.c \ |
70 |
parse.c regexp.c programs.c enable.c pwlib.c default_fn.c \ |
71 |
skey_fn.c default_v0_fn.c sendpass.c maxsess.c tac_pam.c \ |
72 |
! db.c db_null.c db_mysql.c radius.c |
73 |
! |
74 |
! # add ldap.c and also define USE_LDAP to enable LDAP support |
75 |
|
76 |
OBJS = $(SRCS:.c=.o) |
77 |
|
78 |
*************** |
79 |
*** 154,160 **** |
80 |
install: |
81 |
cp tac_plus ${prefix}/sbin |
82 |
cp tac_plus.1 ${prefix}/man/man8/tac_plus.8 |
83 |
! cp tac_plus.cfg /etc |
84 |
|
85 |
depend: |
86 |
makedepend $(CFLAGS) $(SRCS) |
87 |
--- 157,164 ---- |
88 |
install: |
89 |
cp tac_plus ${prefix}/sbin |
90 |
cp tac_plus.1 ${prefix}/man/man8/tac_plus.8 |
91 |
! cp tac_plus.cfg ${prefix}/etc/tac_plus |
92 |
! cp radius.example ${prefix}/etc/tac_plus |
93 |
|
94 |
depend: |
95 |
makedepend $(CFLAGS) $(SRCS) |