head	1.18;
access;
symbols
	OctansJune5:1.18
	Ver3-0:1.16
	Ver2-4:1.15
	Ver2-3-2:1.14
	Ver2-3:1.14
	Ver2-2:1.14
	Ver2-1:1.14
	Ver1-11:1.14
	Ver1-10:1.14
	Ver1-9:1.11
	Ver1-8:1.9
	Ver1-7:1.8
	Ver1-6:1.8
	Ver1-5:1.8
	Ver1-4-1:1.7
	Ver1-4:1.7
	Ver1-3:1.7
	Ver1-2:1.7
	Ver1-1:1.7
	Validate1:1.7
	OdysseyMatch2:1.6;
locks; strict;
comment	@# @;


1.18
date	2001.06.02.22.42.20;	author rob;	state Exp;
branches;
next	1.17;

1.17
date	2001.06.02.21.33.30;	author hthomas;	state Exp;
branches;
next	1.16;

1.16
date	2001.04.06.23.10.39;	author rob;	state Exp;
branches;
next	1.15;

1.15
date	2000.09.01.22.44.37;	author rob;	state Exp;
branches;
next	1.14;

1.14
date	2000.04.07.17.52.12;	author oreilly;	state Exp;
branches;
next	1.13;

1.13
date	2000.04.07.17.46.36;	author rob;	state Exp;
branches;
next	1.12;

1.12
date	2000.03.21.21.57.32;	author oreilly;	state Exp;
branches;
next	1.11;

1.11
date	2000.03.20.19.36.47;	author oreilly;	state Exp;
branches;
next	1.10;

1.10
date	2000.03.14.18.10.59;	author oreilly;	state Exp;
branches;
next	1.9;

1.9
date	2000.02.17.19.35.52;	author oreilly;	state Exp;
branches;
next	1.8;

1.8
date	2000.01.18.03.03.52;	author amarsh;	state Exp;
branches;
next	1.7;

1.7
date	99.12.27.19.48.46;	author oreilly;	state Exp;
branches;
next	1.6;

1.6
date	99.12.16.00.22.14;	author oreilly;	state Exp;
branches;
next	1.5;

1.5
date	99.12.16.00.04.35;	author oreilly;	state Exp;
branches;
next	1.4;

1.4
date	99.12.15.23.53.22;	author oreilly;	state Exp;
branches;
next	1.3;

1.3
date	99.12.15.22.54.37;	author oreilly;	state Exp;
branches;
next	1.2;

1.2
date	99.12.15.00.21.48;	author pean;	state Exp;
branches;
next	1.1;

1.1
date	99.12.14.00.08.42;	author pean;	state Exp;
branches;
next	;


desc
@@


1.18
log
@Added DvlLog for the simulated Dvl.  This file is the same as for the
instrument, in directory /dvl, except the class name Dvl has been
replaced with SimulatedDvl.  In the next rev I'll fix this with
Makefile compiler directives so that there will be only one version,
in /dvl, that works for both.
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for Navigation
# Filename : Makefile
# Author   : Andrew Pearce
# Project  : 
# Version  : Version 1.0
# Created  : 12/06/99
# Modified : 12/06/99
# Archived :
##########################################################################
# Modification History:
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.17 2001/06/02 21:33:30 hthomas Exp $
#
##########################################################################

CC	    = cc
CCPP	    = cc
LD	    = cc
AR 	    = wlib
DEPEND_TOOL = makedepend

DEBUG 	    = -g
EXCEPTION_HANDLING = -WC,-xs

## OPTIMIZE = -4 -Os
OPTIMIZE = 

## MAP_OUTPUT = -S -ms -M
MAP_OUTPUT =

AUV_BIN_DIR = ../bin

CFLAGS	    = -c $(DEBUG) $(MAP_OUTPUT) $(OPTIMIZE) -D_QNX -DUNIX  
CPPFLAGS    = -c $(DEBUG) $(MAP_OUTPUT) $(OPTIMIZE) -D_QNX -DUNIX \
	         $(EXCEPTION_HANDLING)

INCLUDES    = -I.  \
	      -I.. \
	      -I../utils \
	      -I../framework \
	      -I../compass \
	      -I../DataLog \
	      -I../DynamicControl \
	      -I../LayeredControl \
	      -I../Navigation \
	      -I../taskIF \
	      -I../gps \
	      -I/usr/include           

LDFLAGS	    = -g
LIBPATH	    = /usr/lib:../lib

LIBS        =   ../gps/GpsLog.o \
		../gps/GpsUtils.o \
		../utils/utils.lib \
		../DataLog/dataLog.lib \
		../taskIF/taskInterfaces.lib \
		../LayeredControl/MissionClock.o \
		../framework/auvFramework.lib \
		/usr/local/lib/gctpc/geolib.a

SIMOBJS	    =	SimulationLog.o \
		Simulator.o \
		Simulator2.o \
		SimulatorInput.o \
		SimulatorOutput.o \
		SimulatorServer.o 

OBJS	    = 	SimulatedAhrs.o \
		SimulatedCompass.o \
		SimulatedCrossbow.o \
		SimulatedCtd.o \
		SimulatedDepthSensor.o \
		SimulatedDevice.o \
		SimulatedGps.o \
		SimulatedInclinometer.o \
		SimulatedRangeFinder.o \
		SimulatedTailCone.o \
		SimulatedLbl.o \
		SimulatedDvl.o \
		$(SIMOBJS)

TARGETS = 	simulator simCrossbow simDepthSensor \
		simAhrs simRangeFinder simTailCone simGps simLbl simDvl

all:		$(TARGETS)

simulator:  	 _simulator.o  $(SIMOBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _simulator.o $(SIMOBJS) $(LIBS) -o $@@

simCrossbow:  simCrossbow.o SimulatedCrossbow.o $(LIBS) 
	$(LD) $(LDFLAGS) simCrossbow.o SimulatedCrossbow.o $(LIBS) -o $@@

simDepthSensor:  simDepthSensor.o SimulatedDepthSensor.o $(LIBS) 
	$(LD) $(LDFLAGS) simDepthSensor.o SimulatedDepthSensor.o $(LIBS) -o $@@

simAhrs:  simAhrs.o SimulatedAhrs.o $(LIBS) 
	$(LD) $(LDFLAGS) simAhrs.o SimulatedAhrs.o $(LIBS) -o $@@

simRangeFinder:  simRangeFinder.o SimulatedRangeFinder.o $(LIBS) 
	$(LD) $(LDFLAGS) simRangeFinder.o SimulatedRangeFinder.o $(LIBS) -o $@@

simTailCone:  simTailCone.o SimulatedTailCone.o $(LIBS) 
	$(LD) $(LDFLAGS) simTailCone.o SimulatedTailCone.o $(LIBS) -o $@@

simGps:  simGps.o SimulatedGps.o $(LIBS)
	$(LD) $(LDFLAGS) simGps.o SimulatedGps.o $(LIBS) -o $@@

simLbl:  simLbl.o SimulatedLbl.o $(LIBS) 
	$(LD) $(LDFLAGS) simLbl.o SimulatedLbl.o $(LIBS) -o $@@

simDvl:	simDvl.o SimulatedDvl.o DvlLog.o $(LIBS) 
	$(LD) $(LDFLAGS) simDvl.o SimulatedDvl.o DvlLog.o $(LIBS) -o $@@


install:	$(TARGETS)
		cp -f $(TARGETS) 	$(AUV_BIN_DIR)/. 


##########################################################################
# Do not modify anything below this line unless absolutely necessary

.SUFFIXES:
.SUFFIXES:	.o .c .cc .d .idl


%.d: %.c
	    @@echo Generating dependencies for $?
	    $(DEPEND_TOOL) $(INCLUDES) $? -f $@@.tmp
	    @@mv $@@.tmp $@@

%.d: %.cc
	    @@echo Generating dependencies for $?
	    $(DEPEND_TOOL) $(INCLUDES) $? -f $@@.tmp
	    @@mv $@@.tmp $@@

%.o: %.c 
	    $(CC) $(CFLAGS) $(INCLUDES) $< -o $@@	
	    @@echo
%.o: %.cc
	    $(CCPP) $(CPPFLAGS) $(INCLUDES) $< -o $@@
	    @@echo

DEST	    = .

MAKEFILE    = Makefile

include       $(OBJS:.o=.d)

depend:	

clean:
	rm -f core *.o $(OBJS:.o=.d) *.lib *.yy *.tab.* $(TARGETS)

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

##########################################################################









@


1.17
log
@various changes; remove stale entries in root makefile, fixed file naming to allow for serving from windows, and fixed makefiles to avoid file linking/unlinking problem in makedepend when talking through samba to windows boxes
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.16 2001/04/06 23:10:39 rob Exp $
d114 2
a115 2
simDvl:	simDvl.o SimulatedDvl.o $(LIBS) 
	$(LD) $(LDFLAGS) simDvl.o SimulatedDvl.o $(LIBS) -o $@@
@


1.16
log
@Removed the $(OBJS) from the dependancy list of each of the targets,
and replaced it with only the necessary .o's. The problem with the
$(OBJS) was that whenever any of the simulated sensor taskes was
edited, everything was needlessly recompiled.  CVS:
----------------------------------------------------------------------
automatically CVS: CVS: Modified Files: CVS: Makefile CVS:
----------------------------------------------------------------------
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.15 2000/09/01 22:44:37 rob Exp $
d128 1
d131 2
a132 1
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@
d136 2
a137 1
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@ 
@


1.15
log
@Add Don's lbl simulation.  This includes an additional thread "simLbl".
Also added constant water current input to the simulation.cfg file,
and the logic to read it in and simulate it.
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.14 2000/04/07 17:52:12 oreilly Exp $
d64 7
d82 2
a83 6
		SimulationLog.o \
		Simulator.o \
		Simulator2.o \
		SimulatorInput.o \
		SimulatorOutput.o \
		SimulatorServer.o 
d86 1
a86 1
		simAhrs simRangeFinder simTailCone simGps simLbl
d90 2
a91 2
simulator:  	 _simulator.o  $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _simulator.o $(OBJS) $(LIBS) -o $@@
d93 2
a94 1
simCrossbow:  simCrossbow.o $(OBJS) $(LIBS) 
d96 2
a97 1
simDepthSensor:  simDepthSensor.o $(OBJS) $(LIBS) 
d99 2
a100 1
simAhrs:  simAhrs.o $(OBJS) $(LIBS) 
d102 2
a103 1
simRangeFinder:  simRangeFinder.o $(OBJS) $(LIBS) 
d105 2
a106 1
simTailCone:  simTailCone.o $(OBJS) $(LIBS) 
d108 2
a109 1
simGps:  simGps.o $(OBJS) $(LIBS) 
d111 5
a115 2
simLbl:  simLbl.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) simLbl.o $(OBJS) $(LIBS) -o $@@
@


1.14
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.12 2000/03/21 21:57:32 oreilly Exp $
d74 1
d83 1
a83 1
		simAhrs simRangeFinder simTailCone simGps
d102 2
d105 2
a106 1
install:
@


1.13
log
@Simulator now reads its initial location from the workSite.cfg file,
and converts it from lat/log (geodetic) coordinates to UTM.  This
simulator also calls the gctp package.
@
text
@d49 2
a50 2
	      -I/usr/include \
              -I/usr/local/src/gctpc/source
d55 3
a57 1
LIBS        =   ../utils/utils.lib \
d62 1
a62 1
		/usr/local/src/gctpc/source/geolib.a
@


1.12
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.11 2000/03/20 19:36:47 oreilly Exp $
d49 2
a50 1
	      -I/usr/include           
d59 2
a60 1
		../framework/auvFramework.lib
@


1.11
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.10 2000/03/14 18:10:59 oreilly Exp $
d22 1
a22 1
DEPEND_TOOL = /usr/altex/bin/makedepend
@


1.10
log
@Implementation of new TaskIF
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.9 2000/02/17 19:35:52 oreilly Exp $
d82 2
a83 1
simulator:  simulator.o $(OBJS) $(LIBS) 
d99 1
a99 7
		cp -f simulator 	$(AUV_BIN_DIR)/. 
		cp -f simCrossbow 	$(AUV_BIN_DIR)/. 
		cp -f simAhrs 		$(AUV_BIN_DIR)/. 
		cp -f simRangeFinder 	$(AUV_BIN_DIR)/. 
		cp -f simTailCone 	$(AUV_BIN_DIR)/. 
		cp -f simDepthSensor 	$(AUV_BIN_DIR)/. 
		cp -f simGps 		$(AUV_BIN_DIR)/. 
@


1.9
log
@Replaced simPSA916 and simParosci with simRangeFinder and simDepthSensor
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.8 2000/01/18 03:03:52 amarsh Exp $
d60 2
a61 1
OBJS	    = 	SimulatedCompass.o \
d66 1
a67 1
		SimulatedKvh.o \
d78 1
a78 1
		simKvh simRangeFinder simTailCone 
d88 1
a88 1
simKvh:  simKvh.o $(OBJS) $(LIBS) 
d94 1
d96 1
d100 1
a100 1
		cp -f simKvh 		$(AUV_BIN_DIR)/. 
d104 1
@


1.8
log
@Modified makefiles to also delete executables and libraries
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.7 1999/12/27 19:48:46 oreilly Exp $
d63 1
d67 1
a67 2
		SimulatedParosci.o \
		SimulatedPSA916.o \
d76 2
a77 2
TARGETS = 	simulator simCrossbow simParosci \
		simKvh simPSA916 simTailCone 
d85 1
a85 1
simParosci:  simParosci.o $(OBJS) $(LIBS) 
d89 1
a89 1
simPSA916:  simPSA916.o $(OBJS) $(LIBS) 
d98 1
a98 1
		cp -f simPSA916 	$(AUV_BIN_DIR)/. 
d100 1
a100 1
		cp -f simParosci 	$(AUV_BIN_DIR)/. 
@


1.7
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.6 1999/12/16 00:22:14 oreilly Exp $
d76 1
a76 1
all:		simulator simCrossbow simParosci \
d79 2
d133 1
a133 1
	rm -f core *.o $(OBJS:.o=.d) *.lib *.yy *.tab.* 
@


1.6
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.5 1999/12/16 00:04:35 oreilly Exp $
d131 1
a131 1
	rm -f core $(OBJS) $(OBJS:.o=.d) *.lib *.yy *.tab.* 
@


1.5
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.4 1999/12/15 23:53:22 oreilly Exp $
d66 1
d76 1
a76 1
all:		simulator simCompass simCrossbow simInclinometer \
a80 2
simCompass:  simCompass.o $(OBJS) $(LIBS) 

d83 1
a83 1
simInclinometer:  simInclinometer.o $(OBJS) $(LIBS) 
a93 1
		cp -f simCompass 	$(AUV_BIN_DIR)/. 
a94 1
		cp -f simInclinometer 	$(AUV_BIN_DIR)/. 
d98 1
@


1.4
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.3 1999/12/15 22:54:37 oreilly Exp $
d61 1
d65 1
d75 1
a75 1
all:		simulator simCompass simCrossbow simCtd simInclinometer \
a83 2
simCtd:  simCtd.o $(OBJS) $(LIBS) 

a96 1
		cp -f simCtd 		$(AUV_BIN_DIR)/. 
@


1.3
log
@Added target 'install'
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.2 1999/12/15 00:21:48 pean Exp $
d71 1
a71 2
		SimulatorServer.o \
		simulator.o \
d73 2
a74 1
all:		simulator
d76 1
a76 1
simulator:  $(OBJS) $(LIBS) 
d78 15
d94 8
a101 1
		cp -f simulator 		$(AUV_BIN_DIR)/. 
@


1.2
log
@Added SimulatedCTD
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.1 1999/12/14 00:08:42 pean Exp $
d33 2
d77 4
@


1.1
log
@Moved files to Sibulator subdirectory
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/kvhCompass/Makefile,v 1.1 1999/12/08 16:56:23 pean Exp $
d45 1
d53 3
d58 1
a58 2
OBJS	    = 	SimConfiguration.o \
		SimulatedCompass.o \
d62 1
d69 2
a70 1
		SimulatorServer.o
@
