Usermode/DHCP Client - Slight change to timeout message
[tpg/acess2.git] / Usermode / Libraries / acess.ld_src / rules.mk
1 include $(BASE)header.mk
2
3 # Variables
4 BIN = $(OUTPUTDIR)Libs/acess.ld
5
6 # Rules
7 .PHONY: all-$(DIR)
8
9 all-$(DIR): $(BIN)
10 clean-$(DIR):
11         $(RM) $(BIN)
12
13 $(BIN): $(DIR)/acess_$(ARCHDIR).ld.h
14         @mkdir -p $(dir $(BIN))
15         cpp -nostdinc -U i386 -P -C $< -o $@ -D__LIBDIR=$(OUTPUTDIR)Libs
16
17 $(DIR)/acess_$(ARCHDIR).ld.h:
18         $(LD) --verbose | awk '{ if( substr($$0,0,5) == "====="){ bPrint = !bPrint; } else { if(bPrint){ print $$0;} } }' | sed 's/SEARCH_DIR\(.*\)/SEARCH_DIR(__LIBDIR)/' > $@
19
20 include $(BASE)footer.mk

UCC git Repository :: git.ucc.asn.au