Improved 'make install' (use BINDIR/LIBDIR, install shared objects)

This commit is contained in:
Daniel Mierswa 2009-02-15 14:22:50 +02:00 committed by Jouni Malinen
parent 6301cc5d38
commit d94d4bafbb
16 changed files with 54 additions and 2 deletions

View file

@ -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