aboutsummaryrefslogtreecommitdiffstats
path: root/src/radius
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-24 11:59:08 +0200
committerJouni Malinen <j@w1.fi>2009-12-24 11:59:08 +0200
commit8a404b598dde68085c1361f25ebf5e0eed746314 (patch)
treef1ea497f86c70644c66c585a0c4b18bbffa103c4 /src/radius
parent019c8c669df3547e550658a71e226b9d604c679b (diff)
downloadexternal_wpa_supplicant_8_ti-8a404b598dde68085c1361f25ebf5e0eed746314.zip
external_wpa_supplicant_8_ti-8a404b598dde68085c1361f25ebf5e0eed746314.tar.gz
external_wpa_supplicant_8_ti-8a404b598dde68085c1361f25ebf5e0eed746314.tar.bz2
Add build rules for src/radius/libradius.a
Diffstat (limited to 'src/radius')
-rw-r--r--src/radius/.gitignore1
-rw-r--r--src/radius/Makefile20
2 files changed, 18 insertions, 3 deletions
diff --git a/src/radius/.gitignore b/src/radius/.gitignore
new file mode 100644
index 0000000..a89a1f9
--- /dev/null
+++ b/src/radius/.gitignore
@@ -0,0 +1 @@
+libradius.a
diff --git a/src/radius/Makefile b/src/radius/Makefile
index cffba62..32f572f 100644
--- a/src/radius/Makefile
+++ b/src/radius/Makefile
@@ -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)