head	1.36;
access;
symbols
	Hobson_Rock_14Dec2009:1.36
	HEAD_CTD_MERGE:1.23.0.4
	BEFORE_VCS_CHANGE:1.35.2.1
	Hobson_Rock_16Oct2009:1.36
	Hobson_Rock_29June2009:1.36
	Jun15_2009:1.36
	Apr_7_2009:1.36
	mar19_2009:1.36
	mar18_2009:1.36
	feb13_2009:1.36
	feb10-2009:1.36
	feb09-2009:1.36
	dec15_2008:1.36
	dec12_2008:1.36
	ST_10_5:1.35.2.1
	ST_10_4b:1.35.2.1
	ST_10_4:1.35.2.1
	ST_10_3:1.35.2.1
	ST10_HW:1.35.2.1
	ST_10_2:1.35.2.1
	ST_10_1:1.35.2.1
	ST_10_0:1.35.2.1
	AUTONOMY_BRANCH:1.35.0.2
	AUTONOMY:1.35
	AUTONOMY-2008_07_30:1.35
	TREX_ST_1_0:1.23
	RELEASE_27_April_2007_CTD_1:1.23.0.2
	Development_With_Wayne_060804:1.18
	Dev-27Jan2004:1.18
	Rel-15Dec2003:1.18
	Dev-2Dec2003:1.18
	Dev-1Dec2003:1.18
	Rel-26Nov2003:1.18
	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.36
date	2008.09.09.19.29.21;	author rob;	state Exp;
branches;
next	1.35;

1.35
date	2008.07.29.15.32.52;	author fpy;	state Exp;
branches
	1.35.2.1;
next	1.34;

1.34
date	2008.06.11.20.41.12;	author rob;	state Exp;
branches;
next	1.33;

1.33
date	2007.12.17.19.21.09;	author henthorn;	state Exp;
branches;
next	1.32;

1.32
date	2007.11.06.17.27.32;	author rob;	state Exp;
branches;
next	1.31;

1.31
date	2007.11.03.00.53.11;	author rob;	state Exp;
branches;
next	1.30;

1.30
date	2007.10.26.22.45.01;	author rob;	state Exp;
branches;
next	1.29;

1.29
date	2007.10.26.16.24.27;	author rob;	state Exp;
branches;
next	1.28;

1.28
date	2007.10.23.22.02.24;	author rob;	state Exp;
branches;
next	1.27;

1.27
date	2007.10.18.23.27.54;	author rob;	state Exp;
branches;
next	1.26;

1.26
date	2007.10.05.23.19.14;	author rob;	state Exp;
branches;
next	1.25;

1.25
date	2007.09.27.00.32.59;	author rob;	state Exp;
branches;
next	1.24;

1.24
date	2007.09.25.16.35.01;	author rob;	state Exp;
branches;
next	1.23;

1.23
date	2006.03.28.02.22.17;	author dorado;	state Exp;
branches;
next	1.22;

1.22
date	2005.12.08.03.28.47;	author rob;	state Exp;
branches;
next	1.21;

1.21
date	2005.12.06.17.41.55;	author rob;	state Exp;
branches;
next	1.20;

1.20
date	2004.12.18.00.27.01;	author henthorn;	state Exp;
branches;
next	1.19;

1.19
date	2004.09.28.19.10.42;	author rob;	state Exp;
branches;
next	1.18;

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	;

1.35.2.1
date	2008.07.30.16.53.14;	author fpy;	state Exp;
branches;
next	;


desc
@@


1.36
log
@Included GulperLog and GulperOutput from ../gulper so that the simulation logs.
@
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: /home/cvs/auv-qnx/auv/altex/onboard/Simulator/Makefile,v 1.35 2008/07/29 15:32:52 fpy 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../echoSounder \
	      -I../bluefinBatt \
	      -I../hydroscat \
	      -I../gulper \
	      -I../isus \
	      -I/usr/include           

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

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

#		../sonardyne/SonardyneLog.o \
#               ../gps/GpsLog.o \
#		../gps/GpsUtils.o \


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 \
		SimulatedEchoSounder.o \
		SimulatedTailCone.o \
		SimulatedLbl.o \
		SimulatedDvl.o \
		SimulatedKearfott.o \
		SimulatedUsbl.o \
		SimulatedBluefinBatt.o \
		SimulatedHydroscat.o \
		$(SIMOBJS)

TARGETS = 	simulator simCrossbow simDepthSensor simKearfott \
		simAhrs simRangeFinder simTailCone simGps simLbl simDvl \
		simUsbl simEchoSounder simBluefinBatt simHydroscat \
		simGulper simIsus simCtd

ifeq ($(AUTONOMY), 1)
# Specific configuration for AUTONOMY group
# this allow to alter the value of the different variables
# used by make when AUTONOMY variable has been set to 1
# on the calling shell  
-include ../autonomy.make # this file contains the general
                       # modifications we want to apply to
                       # all the modules 

# following line are more specific to this file 

# end of AUTONOMY specific
endif 

#
# Attempt to have make only install newer executables.
#INSTALLTARGETS =	$(addprefix $(AUV_BIN_DIR/), $(TARGETS))

all:		$(TARGETS)

#simulator:  	 _simulator.o  ../bluefinBatt/BluefinBattOutput.o $(SIMOBJS) $(LIBS) 
#
# Note: I don't think the above line works in general because THIS makefile
# will try to remake BluefinBattOutput.o.  This makefile may not have the
# right include list.  So, the setup below does it, except that it can't
# explictly check to see if BluefinBattOutput.o is up to date.  That is, if
# simulator needs to be remade, it will check BluefinBattOutput.o and
# correctly make it first, if necessary. If simulator is up to date, and
# BluefinBattOutput.o isn't, this make file doesn't know it and doesn't do
# anything.  
#
# The above problem is corrected below:
#
simulator:  	 _simulator.o  \
        ../bluefinBatt/BluefinBattLog.o $(SIMOBJS) $(LIBS) 
	@@echo " "
	@@echo "Checking  ../bluefinBatt/BluefinBattLog.o"
	@@echo " "
	@@cd ../bluefinBatt; \
	if \
	  make all; \
	then \
	  echo ""; \
	  echo "make succeeded"; \
	  echo ""; \
	else \
	  echo ""; \
	  echo "make failed";\
	  echo ""; \
	  exit; \
	fi; 
	$(LD) $(LDFLAGS) _simulator.o \
	../bluefinBatt/BluefinBattLog.o \
	$(SIMOBJS) $(LIBS) -o $@@ 

simCtd: simCtd.o SimulatedCtd.o $(LIBS)
	$(LD) $(LDFLAGS) simCtd.o SimulatedCtd.o $(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 PSA916Log.o $(LIBS) 
	$(LD) $(LDFLAGS) simRangeFinder.o SimulatedRangeFinder.o PSA916Log.o \
        $(LIBS) -o $@@

# This one uses the flight code version of EchoSounderLog.cc.  It doesn't
# require a mostly duplicated simulation version of the log object, under the
# same name, as does the PSA and the dvl.
simEchoSounder:  simEchoSounder.o SimulatedEchoSounder.o \
                 ../echoSounder/EchoSounderLog.o $(LIBS) 
	@@echo " "
	@@echo "Checking  ../echoSounder/EchoSounderLog.o"
	@@echo " "
	@@cd ../echoSounder; \
	if \
	  make all; \
	then \
	  echo ""; \
	  echo "make succeeded";\
	  echo ""; \
	else \
	  echo ""; \
	  echo "make failed";\
	  echo ""; \
	  exit; \
	fi; 
	$(LD) $(LDFLAGS) simEchoSounder.o SimulatedEchoSounder.o \
	../echoSounder/EchoSounderLog.o \
        $(LIBS) -o $@@

#
# Tricky!  The rule below overrides the suffix rule, preventing THIS makefile
# from trying to make EchoSounderLog.o, but letting us use it as a dependency
# above.  The commands immediately following the above dependencies then
# explictly remakes it using the correct makefile in ../echoSounder.
#
EchoSounderLog.o: EchoSounderLog.cc
	true

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

simGps:  simGps.o SimulatedGps.o ../gps/GpsLog.o ../gps/GpsUtils.o $(LIBS)
	@@echo " "
	@@echo "Checking  ../gps/GpsLog.o"
	@@echo "Checking  ../gps/GpsUtils.o"
	@@echo " "
	@@cd ../gps; \
	if \
	  make all; \
	then \
	  echo ""; \
	  echo "make succeeded";\
	  echo ""; \
	else \
	  echo ""; \
	  echo "make failed";\
	  echo ""; \
	  exit; \
	fi; 
	$(LD) $(LDFLAGS) simGps.o SimulatedGps.o \
        ../gps/GpsLog.o ../gps/GpsUtils.o $(LIBS) -o $@@

# Override the suffix rule and prevent THIS makefile from doing it.
GpsLog.o: GpsLog.cc
	true

# Override the suffix rule and prevent THIS makefile from doing it.
GpsUtils.o: GpsUtils.cc
	true

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 $@@

simKearfott:	simKearfott.o SimulatedKearfott.o $(LIBS) 
	$(LD) $(LDFLAGS) simKearfott.o SimulatedKearfott.o $(LIBS) -o $@@

simUsbl: simUsbl.o SimulatedUsbl.o \
         ../sonardyne/SonardyneLog.o $(LIBS) 
	@@echo " "
	@@echo "Checking  ../sonardyne/SonardyneLog.o"
	@@echo " "
	@@cd ../sonardyne; \
	if \
	  make all; \
	then \
	  echo ""; \
	  echo "make succeeded";\
	  echo ""; \
	else \
	  echo ""; \
	  echo "make failed";\
	  echo ""; \
	  exit; \
	fi; 
	$(LD) $(LDFLAGS) simUsbl.o SimulatedUsbl.o ../sonardyne/SonardyneLog.o \
	$(LIBS) -o $@@

# Override the suffix rule and prevent THIS makefile from doing it.
SonardyneLog.o: SonardyneLog.cc
	true

simBluefinBatt:	simBluefinBatt.o SimulatedBluefinBatt.o $(LIBS) 
	$(LD) $(LDFLAGS) simBluefinBatt.o SimulatedBluefinBatt.o $(LIBS) -o $@@

simHydroscat:	simHydroscat.o SimulatedHydroscat.o $(LIBS) 
	$(LD) $(LDFLAGS) simHydroscat.o SimulatedHydroscat.o $(LIBS) -o $@@

simGulper:  simGulper.o SimulatedGulperServer.o \
		../gulper/GulperLog.o ../gulper/GulperOutput.o $(LIBS) 
	@@echo " "
	@@echo "Checking  ../gulper/GulperLog.o and ../gulper/GulperOutput.o"
	@@echo " "
	@@cd ../gulper; \
	if \
	  make all; \
	then \
	  echo ""; \
	  echo "make succeeded";\
	  echo ""; \
	else \
	  echo ""; \
	  echo "make failed";\
	  echo ""; \
	  exit; \
	fi; 
	$(LD) $(LDFLAGS) simGulper.o SimulatedGulperServer.o \
	../gulper/GulperLog.o ../gulper/GulperOutput.o \
        $(LIBS) -o $@@

# Removed the following from the above:
#                 ../gulper/GulperOutput.o 
#	@@echo "Checking  ../gulper/GulperOutput.o"
#	../gulper/GulperOutput.o \

# Override the suffix rule and prevent THIS makefile from doing it.

GulperLog.o: GulperLog.cc
	true

GulperOutput.o: GulperOutput.cc
	true

simIsus:  simIsus.o SimulatedIsus.o \
                 ../isus/IsusLog.o $(LIBS) 
	@@echo " "
	@@echo "Checking  ../isus/IsusLog.o"
	@@echo " "
	@@cd ../isus; \
	if \
	  make all; \
	then \
	  echo ""; \
	  echo "make succeeded";\
	  echo ""; \
	else \
	  echo ""; \
	  echo "make failed";\
	  echo ""; \
	  exit; \
	fi; 
	$(LD) $(LDFLAGS) simIsus.o SimulatedIsus.o \
	../isus/IsusLog.o \
        $(LIBS) -o $@@

# Override the suffix rule and prevent THIS makefile from doing it.
IsusLog.o: IsusLog.cc
	true

install:	$(TARGETS)
		cp -fnv $(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

#
# Attempt to have make only install newer executables.
#$(AUV_BIN_DIR)/%:% 
#	cp $@@ $(AUV_BIN_DIR)/$@@


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.35
log
@added global configuration file for make under autonomy
@
text
@d14 1
a14 1
# $Header: /home/cvs/auv-qnx/auv/altex/onboard/Simulator/Makefile,v 1.34 2008/06/11 20:41:12 rob Exp $
d280 2
a281 1
simGulper:  simGulper.o SimulatedGulperServer.o ../gulper/GulperLog.o $(LIBS) 
d283 1
a283 1
	@@echo "Checking  ../gulper/GulperLog.o"
d299 1
a299 1
	../gulper/GulperLog.o \
@


1.35.2.1
log
@small patches to allow project compilation
@
text
@d14 1
a14 1
# $Header: /home/cvs/auv-qnx/auv/altex/onboard/Simulator/Makefile,v 1.35 2008/07/29 15:32:52 fpy Exp $
d39 2
a40 1
INCLUDES    = -I/usr/include \
d50 6
a55 1
	      -I../isus
@


1.34
log
@Hans has advised that the simulated instrument IF's will protect against
asnychronous data requests from State Publisher.  Consequently, I've removed
the shared memory interface from SimulatedBluefinBatt, SimulatedHydroscat,
and SimulatedIsus, and also the _semTail->wait()s that protected
SimulatedTailcone. I've also removed the dependancies and inclusions of
BluefinBattOutput, etc. from the Makefile.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.33 2007/12/17 19:21:09 henthorn Exp $
d102 14
@


1.33
log
@Make target simCtd
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.32 2007/11/06 17:27:32 rob Exp $
d123 1
a123 1
        ../bluefinBatt/BluefinBattOutput.o $(SIMOBJS) $(LIBS) 
a124 1
	@@echo "Checking  ../bluefinBatt/BluefinBattOutput.o"
d140 1
a140 33
	@@echo " "
	@@echo "Checking  ../hydroscat/HydroscatOutput.o"
	@@echo " "
	@@cd ../hydroscat; \
	if \
	  make all; \
	then \
	  echo ""; \
	  echo "make succeeded";\
	  echo ""; \
	else \
	  echo ""; \
	  echo "make failed";\
	  echo ""; \
	  exit; \
	fi; 
	@@echo " "
	@@echo "Checking  ../isus/IsusOutput.o"
	@@echo " "
	@@cd ../isus; \
	if \
	  make all; \
	then \
	  echo ""; \
	  echo "make succeeded";\
	  echo ""; \
	else \
	  echo ""; \
	  echo "make failed";\
	  echo ""; \
	  exit; \
	fi; 
	$(LD) $(LDFLAGS) _simulator.o ../bluefinBatt/BluefinBattOutput.o \
a141 2
	../hydroscat/HydroscatOutput.o \
	../isus/IsusOutput.o \
a142 8
#
# Tricky!  The rule below overrides the suffix rule, preventing THIS makefile
# from trying to make BluefinBattOutput.o, but letting us use it as a dependency
# above.  The commands immediately following the above dependencies then
# explictly remake it using the correct makefile in ../bluefinbatt.
#
BluefinBattOutout.o: BluefinBattOutout.cc
	true
d185 6
a190 1
# Override the suffix rule and prevent THIS makefile from doing it.
d260 2
a261 47
simBluefinBatt:	simBluefinBatt.o SimulatedBluefinBatt.o \
                ../bluefinBatt/BluefinBattOutput.o $(LIBS) 
	@@echo " "
	@@echo "Checking  ../bluefinBatt/BluefinBattOutput.o"
	@@echo " "
	@@cd ../bluefinBatt; \
	if \
	  make all; \
	then \
	  echo ""; \
	  echo "make succeeded";\
	  echo ""; \
	else \
	  echo ""; \
	  echo "make failed";\
	  echo ""; \
	  exit; \
	fi; 
	$(LD) $(LDFLAGS) simBluefinBatt.o SimulatedBluefinBatt.o \
	../bluefinBatt/BluefinBattOutput.o \
	$(LIBS) -o $@@

# Override the suffix rule and prevent THIS makefile from doing it.
BluefinBattOutput.o: BluefinBattOutout.cc
	true

simHydroscat:	simHydroscat.o SimulatedHydroscat.o \
                ../hydroscat/HydroscatOutput.o $(LIBS) 
	@@echo " "
	@@echo "Checking  ../hydroscat/HydroscatOutput.o"
	@@echo " "
	@@cd ../hydroscat; \
	if \
	  make all; \
	then \
	  echo ""; \
	  echo "make succeeded";\
	  echo ""; \
	else \
	  echo ""; \
	  echo "make failed";\
	  echo ""; \
	  exit; \
	fi; 
	$(LD) $(LDFLAGS) simHydroscat.o SimulatedHydroscat.o \
	../hydroscat/HydroscatOutput.o \
	$(LIBS) -o $@@
d263 2
a264 3
# Override the suffix rule and prevent THIS makefile from doing it.
HydroscatOutput.o: HydroscatOutput.cc
	true
d266 1
a266 3
simGulper:  simGulper.o SimulatedGulperServer.o \
                 ../gulper/GulperLog.o \
                 ../gulper/GulperOutput.o $(LIBS) 
a268 1
	@@echo "Checking  ../gulper/GulperOutput.o"
a284 1
	../gulper/GulperOutput.o \
d287 5
d293 1
d301 1
a301 2
                 ../isus/IsusLog.o \
                 ../isus/IsusOutput.o $(LIBS) 
a303 1
	@@echo "Checking  ../isus/IsusOutput.o"
a319 1
	../isus/IsusOutput.o \
a323 3
	true

IsusOutput.o: IsusOutput.cc
@


1.32
log
@Added simulated Isus.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.31 2007/11/03 00:53:11 rob Exp $
d101 1
a101 1
		simGulper simIsus
d186 3
@


1.31
log
@Added simulated gulper.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.30 2007/10/26 22:45:01 rob Exp $
d54 1
d101 1
a101 1
		simGulper
d157 16
d176 1
d377 32
@


1.30
log
@Added code to correctly link in object files from other directories.  This
makefile now explicitly checks each .o to see if it is out of date, and if
so, remakes it using the other makefile in the corresponding directory, then
cd's back to Simulator and links it in there.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.29 2007/10/26 16:24:27 rob Exp $
d53 1
d99 2
a100 1
		simUsbl simEchoSounder simBluefinBatt simHydroscat
d117 3
a119 1
# anything.
d327 32
@


1.29
log
@Added simulation of the Hydroscat sensor.  The snorm values are placeholders,
and for this checkin are proportional to depth, simply so that they change
value.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.28 2007/10/23 22:02:24 rob Exp $
d58 1
a58 3
LIBS        =   ../gps/GpsLog.o \
		../gps/GpsUtils.o \
		../utils/utils.lib \
a62 1
		../sonardyne/SonardyneLog.o \
d65 5
d117 2
a118 1
simulator:  	 _simulator.o  $(SIMOBJS) $(LIBS) 
d121 15
d137 3
a139 1
	cd ../bluefinBatt; \
d143 1
d145 1
d147 1
d149 1
d151 1
a151 2
	fi; \
	cd ../Simulator; 
d155 1
a155 2
	$(SIMOBJS) $(LIBS) -o $@@

d157 4
a160 1
#       Couldn't get it to check the hydroscat directory as well.
d162 2
a163 12
# 	@@echo " " ;
# 	@@echo "Checking  ../hydroscat/HydroscatOutput.o" ;
# 	@@echo " " ;
# 	cd ../hydroscat; 
# 	if \
# 	  make all; \
# 	then \
# 	  echo "make succeeded";\
# 	else \
# 	  echo "make failed";\
# 	  exit; \
# 	fi; 
d181 2
a182 1
simEchoSounder:  simEchoSounder.o SimulatedEchoSounder.o $(LIBS) 
d186 1
a186 1
	cd ../echoSounder; \
d190 1
d192 1
d194 1
d196 1
d198 1
a198 2
	fi; \
	cd ../Simulator; 
d203 4
d210 28
a237 2
simGps:  simGps.o SimulatedGps.o $(LIBS)
	$(LD) $(LDFLAGS) simGps.o SimulatedGps.o $(LIBS) -o $@@
d248 2
a249 1
simUsbl:	simUsbl.o SimulatedUsbl.o $(LIBS) 
d253 1
a253 1
	cd ../sonardyne; \
d257 1
d259 1
d261 1
d263 1
d265 1
a265 2
	fi; \
	cd ../Simulator; 
d269 6
a274 1
simBluefinBatt:	simBluefinBatt.o SimulatedBluefinBatt.o $(LIBS) 
d278 1
a278 1
	cd ../bluefinBatt; \
d282 1
d284 1
d286 1
d288 1
d290 1
a290 2
	fi; \
	cd ../Simulator; 
d295 6
a300 1
simHydroscat:	simHydroscat.o SimulatedHydroscat.o $(LIBS) 
d304 1
a304 1
	cd ../hydroscat; \
d308 1
d310 1
d312 1
d314 1
d316 1
a316 2
	fi; \
	cd ../Simulator; 
d321 3
@


1.28
log
@Added battery log and semaphore protection for State Publisher battery output
reads.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.27 2007/10/18 23:27:54 rob Exp $
d52 1
d91 1
d96 1
a96 1
		simUsbl simEchoSounder simBluefinBatt
d131 1
d134 16
d232 18
@


1.27
log
@Added a battery simulation, which computes energy remaining, consequent
voltage drop, and current.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.26 2007/10/05 23:19:14 rob Exp $
d128 1
d198 13
@


1.26
log
@Added a comment.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.25 2007/09/27 00:32:59 rob Exp $
d51 1
d89 1
d94 1
a94 1
		simUsbl simEchoSounder
d102 11
d114 15
a128 1
	$(LD) $(LDFLAGS) _simulator.o $(SIMOBJS) $(LIBS) -o $@@
d146 14
a159 5
simEchoSounder:  simEchoSounder.o SimulatedEchoSounder.o \
	../echoSounder/EchoSounderLog.o $(LIBS) 
	@@echo
	@@echo Warning: Linking in ../EchoSounderLog.o and assuming it is up to date.
	@@echo
d179 14
a192 1
simUsbl:	simUsbl.o SimulatedUsbl.o ../sonardyne/SonardyneLog.o $(LIBS) 
d194 5
@


1.25
log
@Added a warning because simEchoSounder depends on a .o in a different
directory.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.24 2007/09/25 16:35:01 rob Exp $
d121 1
@


1.24
log
@Created the simulated Imagenex echo sounder.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.23 2006/03/28 02:22:17 dorado Exp $
d121 2
@


1.23
log
@Added dependency on ../sonardyne/SonardyneLog.cc.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.22 2005/12/08 03:28:47 rob Exp $
d50 1
d82 1
d92 1
a92 1
		simUsbl
d114 9
@


1.22
log
@Added a simulated Usbl.  Also finally found a way to use SonardyneLog.cc,
rather than making a simulated version.  Added ../sonardyne/SonardyneLog.o in
the Makefile LIBS section since the simulator now depends on it.  Without
this, a compilation the Simulator directory will not pick up changes to
SonardyneLog.cc, and the code will inexplicably crash when you try to run it.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.21 2005/12/06 17:41:55 rob Exp $
d129 3
a131 2
simUsbl:	simUsbl.o SimulatedUsbl.o $(LIBS) 
	$(LD) $(LDFLAGS) simUsbl.o SimulatedUsbl.o $(LIBS) -o $@@
@


1.21
log
@Added a simulated Usbl.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.20 2004/12/18 00:27:01 henthorn Exp $
d62 1
d130 1
a130 2
	$(LD) $(LDFLAGS) simUsbl.o SimulatedUsbl.o ../sonardyne/SonardyneLog.o \
	$(LIBS) -o $@@
@


1.20
log
@Adding SimulatedKearfott class and simKearfott process
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.19 2004/09/28 19:10:42 rob Exp $
d53 1
a53 1
LIBPATH	    = /usr/lib:../lib
d84 1
d88 2
a89 1
		simAhrs simRangeFinder simTailCone simGps simLbl simDvl
d127 4
@


1.19
log
@Added PSA916Log to the SimulatedRangeFinder.  Also attempted to have make
only copy newer executables, but that didn't work.  The code is commented
out.  We finally achieved this by adding -fnv to the cp command, so the copy
itself checks the dates and only copies the newer ones.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/Simulator/Makefile,v 1.18 2001/06/02 22:42:20 rob Exp $
d83 1
d86 1
a86 1
TARGETS = 	simulator simCrossbow simDepthSensor \
d122 3
@


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
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Simulator/Makefile,v 1.17 2001/06/02 21:33:30 hthomas Exp $
d88 4
d106 3
a108 2
simRangeFinder:  simRangeFinder.o SimulatedRangeFinder.o $(LIBS) 
	$(LD) $(LDFLAGS) simRangeFinder.o SimulatedRangeFinder.o $(LIBS) -o $@@
d124 1
a124 1
		cp -f $(TARGETS) 	$(AUV_BIN_DIR)/. 
d150 6
@


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
@
