#*******************************************************************************
# E.S.O. - VLT project
#
# "@(#) $Id: Makefile,v 1.2 1999/04/22 14:52:46 vltsccm Exp $" 
#
# Makefile of lcumod LCU. VxWorks application.
#
#who       when      what
#--------  --------  ----------------------------------------------
#bgustafs  23/04/96  modified header
# tphan      27/07/94  created
# bgustafs   10/03/95  install logfile and rebootFile with write permission
# bgustafs   11/08/95  install scripts cmd and lcumodCreateEnv. Install
#                      templates. Do not install vw/BOOT/lt5citm
# bgustafs   09/10/95  Install lcumod.boot installation script
#

#*******************************************************************************
# This Makefile follows VLT Standards (see Makefile manpage documentation).
#*******************************************************************************
# REMARKS
#------------------------------------------------------------------------

#
#>>>>> if you do not want to use the standard rules,
#>>>>> delete the following lines up to "END OF standard rules"

#
# MODULE CODE DESCRIPTION:
# ------------------------
# As a general rule:  public will be cleaned and installed and 
#                     local (_L) will be only cleaned.

#
# C programs (public and local)
# -----------------------------
EXECUTABLES   = lcumod 
EXECUTABLES_L = 

#
# brief description of lcumod program
lcumod_OBJECTS = lcumod

lcumod_MAN3 = $(wildcard *.c)

#
# Includes (.h) files (public only)
# ---------------------------------
INCLUDES = lcumod.h lcumodErrors.h

#
# Libraries (public and local)
# ----------------------------
LIBRARIES     = 
LIBRARIES_L   = 

#
# Scripts (public and local)
# ----------------------------
SCRIPTS = lcumodCreateEnv lcumod.boot

#
# On-Line Database Files
# ----------------------
DBL_CLASSES =
DBL_BCF = LCUMOD
DBL_LOAD = 
DBL_FLAGS =
xxxx_DBL_FLAGS =

#
# man pages to be done
# --------------------
MANSECTIONS = 3
MAN3 = $(filter-out lcumodInterface.c, $(lcumod_MAN3))

#
# list of all possible C-sources (used to create automatic dependencies)
# ------------------------------
CSOURCENAMES = \
	$(foreach exe, $(EXECUTABLES) $(EXECUTABLES_L), $($(exe)_OBJECTS))

#
#>>>>> END OF standard rules

#
# INCLUDE STANDARDS
# -----------------
MAKE_VXWORKS = on   #<<<<< IF YOUR APPLICATION IS AN UNIX ONE, DELETE THIS LINE
include $(VLTROOT)/include/vltMakefile


#
# TARGETS
# -------

all:	do_all
	@echo " . . . 'all' done" 

db:	db_all
	@echo " . . . ../DB done"

clean : clean_all 
	rm -rf ../DB
	@echo " . . . clean done"

man   : do_man 
	@echo " . . . man page(s) done"

install : install_all
	@cp ../config/*.dbcfg $(INTROOT)/config
	@echo " . . . installation done"

