#
# etc/Makefile 1.3 1995/06/02 05:23:22 (David Hinds)
#

# Include site dependent options
include ../make.options

scripts = config network pcmem memory serial ftl

all:	$(scripts)

dep:

clean:

install:
	mkdir -p $(ETC)
	set -e ; for f in $(scripts) ; do \
	    if [ -r $(ETC)/$$f ] ; then \
		cp $$f $(ETC)/$$f.N ; \
	    else \
		cp $$f $(ETC)/$$f ; \
	    fi ; \
	done
	if [ -r /etc/rc.d/rc.pcmcia ] ; then \
	    TARGET=/etc/rc.d/rc.pcmcia.N ; \
	else \
	    TARGET=/etc/rc.d/rc.pcmcia ; \
	fi ; \
	sed -e s/=i82365/=`../cardmgr/probe -m`/ rc.pcmcia > $$TARGET ;\
	chmod +x $$TARGET
