|
@@ -1,9 +1,23 @@
|
|
|
-all:
|
|
|
- @echo Nothing to be made.
|
|
|
+all: libradius.a
|
|
|
|
|
|
clean:
|
|
|
for d in $(SUBDIRS); do make -C $$d clean; done
|
|
|
- rm -f *~ *.o *.d
|
|
|
+ rm -f *~ *.o *.d libradius.a
|
|
|
|
|
|
install:
|
|
|
@echo Nothing to be made.
|
|
|
+
|
|
|
+
|
|
|
+include ../lib.rules
|
|
|
+
|
|
|
+CFLAGS += -DCONFIG_IPV6
|
|
|
+
|
|
|
+LIB_OBJS= \
|
|
|
+ radius.o \
|
|
|
+ radius_client.o \
|
|
|
+ radius_server.o
|
|
|
+
|
|
|
+libradius.a: $(LIB_OBJS)
|
|
|
+ $(AR) crT $@ $?
|
|
|
+
|
|
|
+-include $(OBJS:%.o=%.d)
|