2008-02-28 02:34:43 +01:00
|
|
|
ALL=radius_example
|
|
|
|
|
2020-09-18 11:49:48 +02:00
|
|
|
include ../src/build.rules
|
2008-02-28 02:34:43 +01:00
|
|
|
|
|
|
|
CFLAGS += -I.
|
|
|
|
CFLAGS += -I../src
|
|
|
|
CFLAGS += -I../src/utils
|
|
|
|
|
2009-12-24 11:05:51 +01:00
|
|
|
LIBS = ../src/radius/libradius.a
|
|
|
|
LIBS += ../src/crypto/libcrypto.a
|
|
|
|
LIBS += ../src/utils/libutils.a
|
2014-04-02 08:49:35 +02:00
|
|
|
LLIBS = -lrt
|
2008-02-28 02:34:43 +01:00
|
|
|
|
2009-12-24 11:05:51 +01:00
|
|
|
../src/utils/libutils.a:
|
|
|
|
$(MAKE) -C ../src/utils
|
2008-02-28 02:34:43 +01:00
|
|
|
|
2009-12-24 11:05:51 +01:00
|
|
|
../src/crypto/libcrypto.a:
|
|
|
|
$(MAKE) -C ../src/crypto
|
2008-02-28 02:34:43 +01:00
|
|
|
|
2009-12-24 11:05:51 +01:00
|
|
|
../src/radius/libradius.a:
|
|
|
|
$(MAKE) -C ../src/radius
|
2008-02-28 02:34:43 +01:00
|
|
|
|
2009-12-24 11:18:22 +01:00
|
|
|
#CLAGS += -DCONFIG_IPV6
|
|
|
|
|
2008-02-28 02:34:43 +01:00
|
|
|
OBJS_ex = radius_example.o
|
|
|
|
|
2020-09-18 11:49:53 +02:00
|
|
|
_OBJS_VAR := OBJS_ex
|
|
|
|
include ../src/objs.mk
|
|
|
|
|
2009-12-24 11:05:51 +01:00
|
|
|
radius_example: $(OBJS_ex) $(LIBS)
|
2014-04-02 08:49:35 +02:00
|
|
|
$(LDO) $(LDFLAGS) -o radius_example $(OBJS_ex) $(LIBS) $(LLIBS)
|
2008-02-28 02:34:43 +01:00
|
|
|
|
2020-09-18 11:49:51 +02:00
|
|
|
clean: common-clean
|
|
|
|
rm -f core *~ *.o *.d
|