[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.1.1 (vendor branch), Mon Feb 28 02:18:21 2000 UTC (22 years, 7 months ago) by wrstuden
Branch: NAS, MAIN
CVS Tags: nastore3-beta-20000227, HEAD
Changes since 1.1: +0 -0 lines

Import of snapshot of nastore3 code. Includes kernel code for dmfs, dmfs
user utilities, ms66 import and export, vvm, and volman. Also includes
makefile magic to automatically generate .tgz source files from the source.
Solaris support a bit of a question as zoularis is not working at the
moment.

#
# $Id: Makefile,v 1.1.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) $@