Initial revision
[freeradius.git] / src / main / 00-OLD / Makefile
1 #
2 # Makefile      Radius Makefile for Linux (2.0.x, lib5 or libc6)
3 #
4 #
5
6 #
7 #       Autoselect -lshadow and -lcrypt
8 #
9 ifneq ($(wildcard /usr/lib/libshadow.a),)
10 LSHADOW = -lshadow
11 endif
12 ifneq ($(wildcard /usr/lib/libcrypt.a),)
13 LCRYPT  = -lcrypt
14 endif
15
16 CC      = gcc
17 CFLAGS  = -Wall -g # -DNOSHADOW
18 LDFLAGS = # -s # tatic
19 LIBS    = $(LSHADOW)
20
21 DBM     = -DNDBM
22 DBMLIB  = -ldb
23
24 # Uncomment these if you want PAM support
25 #PAM    = -DPAM
26 #PAMLIB = -lpam -ldl
27
28 BINDIR  = /usr/local/bin
29 SBINDIR = /usr/local/sbin
30
31 include Make.inc