[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / othersrc / nastore / volman

File: [cvs.NetBSD.org] / othersrc / nastore / volman / Makefile (download)

Revision 1.1, Mon Feb 28 02:18:21 2000 UTC (22 years, 5 months ago) by wrstuden
Branch point for: MAIN

Initial revision

#
# $Id: Makefile,v 1.1 2000/02/28 02:18:21 wrstuden Exp $
#
SHELL=/bin/sh

include ../Mkconfig.nastore
include ../Mkinstall.nastore

all install:
	@echo "================================================================"
	@echo ""
	@echo "  Make one or more of these targets, depending on what"
	@echo "  the machine is to be used for:"
	@echo ""
	@echo "    vold === volume manager daemon and repository controllers"
	@echo "    tps  === tape servers (for volume mgr drive access)"
	@echo ""
	@echo "  append 'install' (e.g. 'voldinstall') as desired"
	@echo ""
	@echo "================================================================"


vold:
		cd lib && $(MAKE)
		cd clnt && $(MAKE)
		cd srvr && $(MAKE) vold
		cd srvr/rc && $(MAKE)

maninstall:
		../install $(HOST_TYPE) volman.8 $(MANDIR)/man8

voldinstall:	vold maninstall
		cd srvr && cp volcd vold $(BINDIR)
		cd lib && $(MAKE) install

tps:
		cd lib && $(MAKE)
		cd clnt && $(MAKE) tps
		cd srvr && $(MAKE) tps

tpsinstall:	tps maninstall
		cd lib && $(MAKE) install
		cd clnt && $(MAKE) tpsinstall
		cd srvr && $(MAKE) tpsinstall

acsrc:
		cd lib && $(MAKE)
		cd srvr && $(MAKE) clntinstall
		cd srvr/rc && $(MAKE) rclib.o
		cd srvr/rc/acs && $(MAKE) 

acsrcinstall:	acsrc
		cd srvr/rc/acs && $(MAKE) install

clean clobber depend tags:
		cd lib && $(MAKE) $@
		cd clnt && $(MAKE) $@
		cd srvr && $(MAKE) $@
		cd srvr/rc && $(MAKE) $@