Merged the hostap_2.6 updates, and the Leap of Faith work, from the hostap_update...
[mech_eap.git] / libeap / src / eap_server / Makefile
index 9c41962..1172b72 100644 (file)
@@ -1,8 +1,21 @@
-all:
-       @echo Nothing to be made.
+all: libeap_server.a
 
 clean:
-       rm -f *~ *.o *.d
+       rm -f *~ *.o *.d *.gcno *.gcda *.gcov libeap_server.a
 
 install:
        @echo Nothing to be made.
+
+include ../lib.rules
+
+CFLAGS += -DCONFIG_HS20
+
+LIB_OBJS= \
+       eap_server.o \
+       eap_server_identity.o \
+       eap_server_methods.o
+
+libeap_server.a: $(LIB_OBJS)
+       $(AR) crT $@ $?
+
+-include $(OBJS:%.o=%.d)