 87098d3324
			
		
	
	
		87098d3324
		
	
	
	
	
		
			
			This is something I hadn't previously done, but there are cases where it's needed, e.g., building 'wlantest' and then one of the tests/fuzzing/*/ projects, they use a different configuration (fuzzing vs. not fuzzing). Perhaps more importantly, this gets rid of the last thing that was dumped into the source directories, apart from the binaries themselves. Note that due to the use of thin archives, this required building with absolute paths. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
		
			
				
	
	
		
			34 lines
		
	
	
	
		
			854 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			854 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| ALL=eapol-key-auth
 | |
| include ../rules.include
 | |
| 
 | |
| CFLAGS += -DCONFIG_IEEE80211R_AP
 | |
| CFLAGS += -DCONFIG_IEEE80211R
 | |
| CFLAGS += -DCONFIG_TDLS
 | |
| 
 | |
| LIBS += $(SRC)/common/libcommon.a
 | |
| LIBS += $(SRC)/crypto/libcrypto.a
 | |
| LIBS += $(SRC)/tls/libtls.a
 | |
| LIBS += $(SRC)/eap_common/libeap_common.a
 | |
| LIBS += $(SRC)/l2_packet/libl2_packet.a
 | |
| LIBS += $(SRC)/utils/libutils.a
 | |
| LIBS += $(SRC)/wps/libwps.a
 | |
| LIBS += $(SRC)/eapol_auth/libeapol_auth.a
 | |
| LIBS += $(SRC)/eap_server/libeap_server.a
 | |
| LIBS += $(SRC)/ap/libap.a
 | |
| LIBS += $(SRC)/radius/libradius.a
 | |
| 
 | |
| OBJS += $(SRC)/drivers/driver_common.o
 | |
| 
 | |
| OBJS += eapol-key-auth.o
 | |
| 
 | |
| _OBJS_VAR := OBJS
 | |
| include ../../../src/objs.mk
 | |
| 
 | |
| _OBJS_VAR := LIBS
 | |
| include ../../../src/objs.mk
 | |
| 
 | |
| eapol-key-auth: $(OBJS) $(LIBS)
 | |
| 	$(LDO) $(LDFLAGS) -o $@ $^ -Wl,--start-group $(LIBS) -Wl,--end-group
 | |
| 
 | |
| clean: common-clean
 | |
| 	rm -f eapol-key-auth *~ *.o *.d ../*~ ../*.o ../*.d
 |