ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

wpasupplicant.mk (554B)


      1 TARG = wpasupplicant
      2 DEPS = openssl libnl3 zlib
      3 
      4 <$mkbuild/mk.common
      5 
      6 INSTALL_BIN = \
      7 	wpa_supplicant/wpa_supplicant \
      8 	wpa_supplicant/wpa_cli \
      9 	wpa_supplicant/wpa_passphrase
     10 
     11 INSTALL_MAN8 = wpa_supplicant/doc/docbook/wpa_supplicant.8
     12 
     13 wpasupplicant:QV:
     14 	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
     15 	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
     16 	# patch linux_wext.h (may use -D instead).
     17 	sed -i 's/typedef __/typedef /g' src/drivers/linux_wext.h
     18 	cp ../dot.config wpa_supplicant/.config
     19 	# add -lz as extra libs.
     20 	make -j$nprocs -C wpa_supplicant EXTRALIBS="-lz"