source: libbsdport/bsd_eth_drivers/links.am @ c8c8daa

Last change on this file since c8c8daa was c8c8daa, checked in by Till Straumann <strauman@…>, on Apr 23, 2009 at 4:39:28 AM
  • echo links that are to be made (for diagnostic purposes).
  • Property mode set to 100644
File size: 380 bytes
Line 
1CLOBBER_ADDITIONS = $(LINKS) $(DUMMYHEADERS)
2
3$(DUMMYHEADERS):
4        @if [ ! -d `dirname $@` ] ; then mkdir -p `dirname $@`; fi
5        @touch $@
6
7$(LINKS):
8        echo $@
9        if [ ! -d $(dir $@) ] ; then mkdir -p $(dir $@); fi
10        ln -s `echo $(dir $@) | sed -e 's%[^/]\+[/]\+%../%g'`$(srcdir)/$(notdir $@) $@
11
12
13BUILT_SOURCES += $(DUMMYHEADERS) $(LINKS)
14
15distclean-local:
16        $(RM) -r $(CLOBBER_ADDITIONS)
Note: See TracBrowser for help on using the repository browser.