summaryrefslogtreecommitdiff
path: root/src/eap_peer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/eap_peer/Makefile')
-rw-r--r--src/eap_peer/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/eap_peer/Makefile b/src/eap_peer/Makefile
index f79519b718499..6531ccd5dac0b 100644
--- a/src/eap_peer/Makefile
+++ b/src/eap_peer/Makefile
@@ -1,11 +1,23 @@
-all:
- @echo Nothing to be made.
+all: libeap_peer.a
clean:
- rm -f *~ *.o *.so *.d *.gcno *.gcda *.gcov
+ rm -f *~ *.o *.so *.d *.gcno *.gcda *.gcov libeap_peer.a
install:
if ls *.so >/dev/null 2>&1; then \
install -d $(DESTDIR)$(LIBDIR)/wpa_supplicant && \
cp *.so $(DESTDIR)$(LIBDIR)/wpa_supplicant \
; fi
+
+include ../lib.rules
+
+CFLAGS += -DIEEE8021X_EAPOL
+
+LIB_OBJS= \
+ eap.o \
+ eap_methods.o
+
+libeap_peer.a: $(LIB_OBJS)
+ $(AR) crT $@ $?
+
+-include $(OBJS:%.o=%.d)