#
# $Id$
#
# Copyright (C) 1995 Lars Fenneberg
#
# See the file COPYRIGHT for the respective terms and conditions. 
# If the file is missing contact me at in5y050@public.uni-hamburg.de 
# and I'll send you a copy.
#

# if you make changes to the code and are considering redistribution
# please define this to something different (for example append your
# initials: 0.1-lf)
# BUT the best way is to send me the changes for inclusion in the
# main source tree and leave this as it is. see email above.
#
VERSION=0.1

# define your favourite optimisation and warning flags here
#
CFLAGS=-Wall -Wstrict-prototypes -O2 -m486 -fomit-frame-pointer

# define all linker flags except libraries here
#
LDFLAGS=-s

# to use shadow password put -DSHADOW_PASSWORDS into CFLAGS and
# put -lshadow into $(LIBSHADOW)
#
CFLAGS:=$(CFLAGS) -DSHADOW_PASSWORD -DRADIUSCLIENT_CONF=\"/etc/radiusclient.conf\"
#CFLAGS:=$(CFLAGS) -DRADIUSCLIENT_CONF=\"/etc/radiusclient.conf\"

LIBSHADOW=-lshadow
#LIBSHADOW=

# define any global libs you need for your system here
#
LIBS=

# where the executables go
#
RC_LIB=/usr/local/lib/radiusclient

# config files go here
#
RC_CONFIG=/etc

# clients and dictionary files go into this directory
#
RC_RADDB=/etc/raddb

##############################################################################
# no need to change anything below this line
#

CO=co
COFLAGS=
CI=ci
CIFLAGS=

%.o:	%.c
	$(CC) $(CFLAGS) -c $<

%:	%.o
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)

.EXPORT_ALL_VARIABLES:
