head	1.5;
access;
symbols
	Hobson_Rock_14Dec2009:1.5
	BEFORE_VCS_CHANGE:1.3
	Hobson_Rock_16Oct2009:1.5
	Hobson_Rock_29June2009:1.4
	Jun15_2009:1.4
	Apr_7_2009:1.3
	mar19_2009:1.3
	mar18_2009:1.3
	feb13_2009:1.3
	feb10-2009:1.3
	feb09-2009:1.3
	dec15_2008:1.3
	dec12_2008:1.3
	ST_10_5:1.3
	ST_10_4b:1.3
	ST_10_4:1.3
	ST_10_3:1.3
	ST10_HW:1.3
	ST_10_2:1.3
	ST_10_1:1.3
	ST_10_0:1.3
	AUTONOMY_BRANCH:1.3.0.2
	AUTONOMY:1.3
	AUTONOMY-2008_07_30:1.3
	TREX_ST_1_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2009.10.08.21.40.47;	author rob;	state Exp;
branches;
next	1.4;

1.4
date	2009.06.11.00.51.46;	author rob;	state Exp;
branches;
next	1.3;

1.3
date	2008.07.29.15.32.53;	author fpy;	state Exp;
branches;
next	1.2;

1.2
date	2008.06.10.20.04.22;	author rob;	state Exp;
branches;
next	1.1;

1.1
date	2007.06.15.22.48.36;	author rob;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Edited to work with Debbie's October 2009 release.
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for Drop Weight Driver
# 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/terrainAid/Makefile,v 1.4 2009/06/11 00:51:46 rob 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../taskIF \
	      -I../DataLog \
	      -I../LayeredControl \
	      -I../terrainNav \
	      -I/usr/include \
	      -I/usr/local/include \
              -I../stlport \
	      -I/usr/local/include/newmat
#	      -I/usr/watcom/10.6/usr/include \

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

LIBS        =   ../utils/utils.lib \
		../taskIF/taskInterfaces.lib \
		../DataLog/dataLog.lib \
		../framework/auvFramework.lib \
		/usr/local/lib/libnetcdf.a \
		/usr/local/lib/libnewmat.a \
		/usr/local/lib/gctpc/geolib.a


OBJS	    =	TerrainAidDriver.o \
		TerrainAidLog.o \
		TerrainAidOutput.o 

TARGETS =	terrainAidDriver \
		terrainAidServer \
		terrainAidTest

all:		$(OBJS) $(TARGETS)


terrainAidDriver:  _terrainAidDriver.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _terrainAidDriver.o \
	../terrainNav/qnx/TerrainNav.o \
	../terrainNav/qnx/TerrainMap.o \
	../terrainNav/qnx/mapio.o \
	../terrainNav/qnx/myOutput.o \
	../terrainNav/qnx/TNavFilter.o \
	../terrainNav/qnx/TNavPointMassFilter.o \
	../terrainNav/qnx/TNavParticleFilter.o \
	../terrainNav/qnx/structDefs.o \
	../terrainNav/qnx/sensCalcs.o \
	../terrainNav/qnx/matrixArrayCalcs.o \
	$(OBJS) -L/usr/local/lib $(LIBS) -o $@@

#TerrainNav.o:	TerrainNav.cpp
#	true
#TerrainMap.o:	TerrainMap.cpp
#	true

terrainAidServer:  _terrainAidServer.o TerrainAidServer.o TerrainAidOutput.o $(LIBS) 
	$(LD) $(LDFLAGS) _terrainAidServer.o TerrainAidServer.o \
	TerrainAidOutput.o $(LIBS) -o $@@

terrainAidTest:  _terrainAidTest.o $(LIBS) 
	$(LD) $(LDFLAGS) _terrainAidTest.o $(LIBS) -o $@@

install:
		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

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.4
log
@First cut with the latest release containing TNavFilter and
TNavPointMassFilter.
@
text
@d14 1
a14 1
# $Header: /home/cvs/auv-qnx/auv/altex/onboard/terrainAid/Makefile,v 1.3 2008/07/29 15:32:53 fpy Exp $
d84 1
@


1.3
log
@added global configuration file for make under autonomy
@
text
@d14 1
a14 1
# $Header: /home/cvs/auv-qnx/auv/altex/onboard/terrainAid/Makefile,v 1.2 2008/06/10 20:04:22 rob Exp $
a72 14
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 

d80 1
d82 5
a86 1
	../terrainNav/qnx/mapio.o \
@


1.2
log
@TerrainAidDriver acts as an interface to D. Meduna's terrain navigation code
in onboard/terrainNav.

The server is only a framework and doesn't do anything yet; the driver is
designed, up to this point, to be run stand-alone, and only generate a log
file.

The executable terrainAid can take an argument -test which subsitutes a
constant location and constant dvl beam lengths.  This is necessary for
on-vehicle cpu-load tests so that TerrainNav thinks it is within the map, and
thinks has valid dvl beams.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/terrainAid/Makefile,v 1.1 2007/06/15 22:48:36 rob Exp $
d72 14
@


1.1
log
@First commit of the Terrain-Aided navigation code.  Right now this is mostly
empty. NetCDF code is under construction.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/adaptiveSampler/Makefile,v 1.2 2007/03/30 22:13:38 rob Exp $
d46 1
d48 4
a51 1
	      -I/usr/local/include
d54 1
a54 1
LIBPATH	    = /usr/lib:../lib
d60 3
a62 1
		/usr/local/lib/libnetcdf.a
d67 1
a67 2
		TerrainAidOutput.o
#		TerrainAidServer.o \
d77 15
a91 1
	$(LD) $(LDFLAGS) _terrainAidDriver.o $(OBJS) $(LIBS) -o $@@
d93 2
a94 5
terrainAidServer:  _terrainAidServer.o TerrainAidServer.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _terrainAidServer.o TerrainAidServer.o $(OBJS) $(LIBS) -o $@@

terrainAidTest:  _terrainAidTest.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _terrainAidTest.o $(OBJS) $(LIBS) -o $@@
a114 1

@

