summaryrefslogtreecommitdiffstats
path: root/bsd_eth_drivers/links.am
blob: 22c6e8e150037c49c73090e7b21d8348077d0ec6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CLOBBER_ADDITIONS = $(LINKS) $(DUMMYHEADERS)

$(DUMMYHEADERS):
	@if [ ! -d `dirname $@` ] ; then mkdir -p `dirname $@`; fi
	@touch $@

$(LINKS):
	@if [ ! -d $(dir $@) ] ; then mkdir -p $(dir $@); fi
	@ln -s `echo $(dir $@) | sed -e 's%[^/]\+[/]\+%../%g'`$(srcdir)/$(notdir $@) $@


BUILT_SOURCES += $(DUMMYHEADERS) $(LINKS)

distclean-local:
	$(RM) -r $(CLOBBER_ADDITIONS)