head	1.5;
access;
symbols
	Hobson_Rock_14Dec2009:1.5
	HEAD_CTD_MERGE:1.1.0.4
	BEFORE_VCS_CHANGE:1.5.2.1
	Hobson_Rock_16Oct2009:1.5
	Hobson_Rock_29June2009:1.5
	Jun15_2009:1.5
	Apr_7_2009:1.5
	mar19_2009:1.5
	mar18_2009:1.5
	feb13_2009:1.5
	feb10-2009:1.5
	feb09-2009:1.5
	dec15_2008:1.5
	dec12_2008:1.5
	ST_10_5:1.5.2.1
	ST_10_4b:1.5.2.1
	ST_10_4:1.5.2.1
	ST_10_3:1.5.2.1
	ST10_HW:1.5.2.1
	ST_10_2:1.5
	ST_10_1:1.5
	ST_10_0:1.5
	AUTONOMY_BRANCH:1.5.0.2
	AUTONOMY:1.5
	AUTONOMY-2008_07_30:1.5
	TREX_ST_1_0:1.1
	RELEASE_27_April_2007_CTD_1:1.1.0.2
	Development_With_Wayne_060804:1.1
	Dev-27Jan2004:1.1
	Rel-15Dec2003:1.1
	Dev-2Dec2003:1.1
	Dev-1Dec2003:1.1
	Rel-26Nov2003:1.1;
locks; strict;
comment	@# @;


1.5
date	2008.07.29.15.32.52;	author fpy;	state Exp;
branches
	1.5.2.1;
next	1.4;

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

1.3
date	2007.10.26.17.20.45;	author rob;	state Exp;
branches;
next	1.2;

1.2
date	2007.10.05.18.34.40;	author henthorn;	state Exp;
branches;
next	1.1;

1.1
date	2003.02.20.22.53.07;	author henthorn;	state Exp;
branches;
next	;

1.5.2.1
date	2008.08.04.22.33.07;	author fpy;	state Exp;
branches;
next	;


desc
@@


1.5
log
@added global configuration file for make under autonomy
@
text
@##########################################################################
# Copyright 2003 MBARI                                             
##########################################################################
# Summary  : Makefile for Bluefin Battery driver and server
# Filename : Makefile
# Author   : Henthorn
# Project  : 
# Version  : Version 1.0
# Created  : 1/26/03
# Archived :
##########################################################################
# Modification History:
# $Header: 
#
##########################################################################

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

AUV_BIN_DIR = ../bin

DEBUG 	    = -g
EXCEPTION_HANDLING = -WC,-xs

## OPTIMIZE = -4 -Os
OPTIMIZE = 

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

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

# The other non-battery items in the include list below are because
# BluefinBattLog.h has to include Simulator.h, which in turn includes a bunch
# of other stuff, which therefore must also be included here.
INCLUDES    = 	-I.  \
	        -I.. \
	      	-I../utils \
	      	-I../framework  \
		-I../LayeredControl \
		-I../taskIF \
		-I../Simulator \
		-I../hydroscat \
		-I../isus \
		-I../DataLog 

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

LIBS        =   ../utils/utils.lib \
		../framework/auvFramework.lib \
		../DataLog/dataLog.lib \
		../taskIF/taskInterfaces.lib

OBJS	    =	BluefinBatt.o \
		BluefinBattOutput.o \
		BluefinBattLog.o \
		BluefinBattServer.o

TARGETS =	bluefinBattDriver \
		bluefinBattTest \
		bluefinBattServer

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 

all:		$(TARGETS)

bluefinBattDriver:	_bluefinBattDriver.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _bluefinBattDriver.o $(OBJS) $(LIBS) -o $@@

bluefinBattServer:	_bluefinBattServer.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _bluefinBattServer.o $(OBJS) $(LIBS) -o $@@

bluefinBattTest:	_bluefinBattTest.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _bluefinBattTest.o $(OBJS) $(LIBS) -o $@@

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

%.o: %.cc
	    $(CCPP) $(CPPFLAGS) $(INCLUDES) $< -o $@@

DEST	    = .

MAKEFILE    = Makefile

include       $(OBJS:.o=.d)

depend:	

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

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

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









# DO NOT DELETE THIS LINE -- make depend depends on it.
@


1.5.2.1
log
@compiled version on saumon
@
text
@d41 1
a41 1
INCLUDES    = 	-I/usr/include \
@


1.4
log
@Had to add more "includes" because BluefinBattLog.h has to include Simulator.h,
which in turn includes a bunch of other stuff, which therefore must also be
included here.
@
text
@d69 14
@


1.3
log
@Had to add -I ../hydroscat to the INCLUDE list since Simulator.h includes it.
@
text
@d38 3
d49 1
@


1.2
log
@Adding server capability
@
text
@d45 1
@


1.1
log
@Initial checkin of Bluefin Battery Driver material
@
text
@d57 2
a58 2
		BluefinBattLog.o
#		BluefinBattServer.o \
d61 2
a62 2
		bluefinBattTest
#		bluefinBattServer
@

