#*********************************************************************
# File:         Makefile
# Project:      ESRF Multi Channel Analysers (Canberra)
# Description:  Makefile for the McaAIM device server on PC
#               (just for RCS)
# Copyright (c) 1998 by European Synchrotron Radiation Facility,
#                       Grenoble, France
#**********************************************************************

#---------------------------------------------------------------------
#       gmake ci LOCKMSG=<message>
#

#---------------------------------------------------------------------

SERVER	=	McaAIM

#source files
SRC	=	startup.c \
		$(SERVER).c

#---------------------------------------------------------------------
# RCS options
#---------------------------------------------------------------------
#               lock
RCSLOCK =       co -l -r$(VERSION)
#               check out
RCSCO   =       co -r$(VERSION)
#               check in
RCSCI   =       ci -u -f -s"Rel" -r$(VERSION) -m"$(LOCKMSG)"

#---------------------------------------------------------------------
# what to be done
#---------------------------------------------------------------------
lock:
	$(RCSLOCK) $(SRC)

co:
	$(RCSCO) $(SRC)

ci:
	$(RCSCI) $(SRC)

clean:
	rm -f *~
