mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Improved 'make install' (use BINDIR/LIBDIR, install shared objects)
This commit is contained in:
parent
6301cc5d38
commit
d94d4bafbb
@ -6,3 +6,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do [ -d $$d ] && $(MAKE) -C $$d clean; done
|
||||
rm -f *~
|
||||
|
||||
install:
|
||||
for d in $(SUBDIRS); do [ -d $$d ] && $(MAKE) -C $$d install; done
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -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
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -4,3 +4,6 @@ all:
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
@ -6,6 +6,9 @@ ifndef CFLAGS
|
||||
CFLAGS = -MMD -O2 -Wall -g
|
||||
endif
|
||||
|
||||
export LIBDIR ?= /usr/local/lib/
|
||||
export BINDIR ?= /usr/local/sbin/
|
||||
|
||||
CFLAGS += -I../src
|
||||
CFLAGS += -I../src/crypto
|
||||
CFLAGS += -I../src/utils
|
||||
@ -35,8 +38,9 @@ mkconfig:
|
||||
echo CONFIG_WIRELESS_EXTENSION=y >> .config
|
||||
|
||||
install: all
|
||||
mkdir -p $(DESTDIR)/usr/local/sbin/
|
||||
for i in $(ALL); do cp $$i $(DESTDIR)/usr/local/sbin/$$i; done
|
||||
mkdir -p $(DESTDIR)$(BINDIR)
|
||||
for i in $(ALL); do cp $$i $(DESTDIR)$(BINDIR)/$$i; done
|
||||
$(MAKE) -C ../src install
|
||||
|
||||
OBJS = config.o
|
||||
OBJS += ../src/utils/common.o
|
||||
|
Loading…
Reference in New Issue
Block a user