aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer
diff options
context:
space:
mode:
authorDaniel Mierswa <impulze@impulze.org>2009-02-15 12:22:50 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-15 13:14:03 (GMT)
commitf2b9939e51cdc83f0f1bc9e01704a5bf3b105696 (patch)
tree4854b49a15f8bb12a66e9cdae57ac85f86822109 /src/eap_peer
parent160e9e1de483a1c89b16a56a96eef5b37e3826ed (diff)
downloadhostap-06-f2b9939e51cdc83f0f1bc9e01704a5bf3b105696.zip
hostap-06-f2b9939e51cdc83f0f1bc9e01704a5bf3b105696.tar.gz
hostap-06-f2b9939e51cdc83f0f1bc9e01704a5bf3b105696.tar.bz2
Improved 'make install' (use BINDIR/LIBDIR, install shared objects)
(cherry picked from commit d94d4bafbb43699d323d6f6e3e404000b3f0a7b4)
Diffstat (limited to 'src/eap_peer')
-rw-r--r--src/eap_peer/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/eap_peer/Makefile b/src/eap_peer/Makefile
index 2fcda6a..d9449a2 100644
--- a/src/eap_peer/Makefile
+++ b/src/eap_peer/Makefile
@@ -4,3 +4,9 @@ all:
clean:
for d in $(SUBDIRS); do make -C $$d clean; done
rm -f *~ *.o *.so *.d
+
+install:
+ if ls *.so >/dev/null 2>&1; then \
+ install -d $(DESTDIR)$(LIBDIR)/wpa_supplicant && \
+ cp *.so $(DESTDIR)$(LIBDIR)/wpa_supplicant \
+ ; fi