#
# $Id: MCONFIG,v 1.8 1996/05/05 00:12:28 lf Exp $
#
# 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.
#
PREV_VERSION=0.2.3
VERSION=0.2.4

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

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

# to use shadow passwords put -lshadow into LIBSHADOW and
# define SHADOW_PASSWORDS in config.h
LIBSHADOW=-lshadow
#LIBSHADOW=

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

# 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

# where the header file radius.h goes
# leave it undefined if you dont want it installed
SYS_INCLUDE=/usr/local/lib

# where libradclient.a goes
# leave it undefined if you dont want it installed
SYS_LIB=/usr/local/lib

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

#CFLAGS:=$(CFLAGS) -DDIGEST_DEBUG
CFLAGS:=$(CFLAGS) -I../include -L../lib

CO=co
COFLAGS=-f
CI=ci
CIFLAGS=

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

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

.EXPORT_ALL_VARIABLES:
