1 all: libwps.a 2 3 clean: 4 rm -f *~ *.o *.d *.gcno *.gcda *.gcov libwps.a 5 6 install: 7 @echo Nothing to be made. 8 9 include ../lib.rules 10 11 CFLAGS += -DCONFIG_P2P 12 CFLAGS += -DCONFIG_WPS_OOB 13 CFLAGS += -DCONFIG_WPS_NFC 14 15 LIB_OBJS= \ 16 http_client.o \ 17 httpread.o \ 18 http_server.o \ 19 ndef.o \ 20 upnp_xml.o \ 21 wps_attr_build.o \ 22 wps_attr_parse.o \ 23 wps_attr_process.o \ 24 wps.o \ 25 wps_common.o \ 26 wps_dev_attr.o \ 27 wps_enrollee.o \ 28 wps_er.o \ 29 wps_er_ssdp.o \ 30 wps_module_tests.o \ 31 wps_registrar.o \ 32 wps_upnp_ap.o \ 33 wps_upnp.o \ 34 wps_upnp_event.o \ 35 wps_upnp_ssdp.o \ 36 wps_upnp_web.o 37 38 libwps.a: $(LIB_OBJS) 39 $(AR) crT $@ $? 40 41 -include $(OBJS:%.o=%.d) 42