head	1.4;
access;
symbols
	Hobson_Rock_14Dec2009:1.4
	HEAD_CTD_MERGE:1.1.2.1.0.2
	BEFORE_VCS_CHANGE:1.4
	Hobson_Rock_16Oct2009:1.4
	Hobson_Rock_29June2009:1.4
	Jun15_2009:1.4
	Apr_7_2009:1.4
	mar19_2009:1.4
	mar18_2009:1.4
	feb13_2009:1.4
	feb10-2009:1.4
	feb09-2009:1.4
	dec15_2008:1.4
	dec12_2008:1.4
	ST_10_5:1.4
	ST_10_4b:1.4
	ST_10_4:1.4
	ST_10_3:1.4
	ST10_HW:1.4
	ST_10_2:1.4
	ST_10_1:1.4
	ST_10_0:1.4
	AUTONOMY_BRANCH:1.4.0.2
	AUTONOMY:1.4
	AUTONOMY-2008_07_30:1.4
	TREX_ST_1_0:1.2
	RELEASE_27_April_2007_CTD_1:1.1.0.2;
locks; strict;
comment	@# @;


1.4
date	2008.07.29.15.32.52;	author fpy;	state Exp;
branches;
next	1.3;

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

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

1.1
date	2007.03.06.19.40.20;	author dorado;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2008.11.19.23.04.36;	author hthomas;	state Exp;
branches;
next	;


desc
@@


1.4
log
@added global configuration file for make under autonomy
@
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/gulper/Makefile,v 1.3 2007/11/03 00:52:10 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../Simulator \
	      -I../Navigation \
	      -I/usr/include           

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

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


OBJS	    =	Gulper.o \
		GulperServer.o \
		GulperLog.o \
		GulperOutput.o

TARGETS =	gulperDriver gulperServer 

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:		$(OBJS) $(TARGETS)


gulperDriver:  _gulperDriver.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _gulperDriver.o $(OBJS) $(LIBS) -o $@@

gulperServer:  _gulperServer.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _gulperServer.o $(OBJS) $(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.3
log
@The log now works with the simulator as well.  I opened an IF to navigation
so that the code logs the lat/lon of the firing event.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/gulper/Makefile,v 1.2 2007/04/05 00:17:17 rob Exp $
d65 14
@


1.2
log
@Added -fnv to the install.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/gulper/Makefile,v 1.1 2007/03/06 19:40:20 dorado Exp $
d46 2
@


1.1
log
@initial checkin
@
text
@d14 1
a14 1
# $Header: /data0/altex/Master/auv/altex/onboard/DropWeight/Makefile,v 1.10 2004/11/02 22:30:28 rob Exp $
d45 1
d74 1
a74 1
		cp -f $(TARGETS)	$(AUV_BIN_DIR)/. 
@


1.1.2.1
log
@Rob:  Added gulper state to the server, and also added logging.
@
text
@d14 1
a14 1
# $Header: /home/cvs/auv-qnx/auv/altex/onboard/gulper/Makefile,v 1.4 2008/07/29 15:32:52 fpy Exp $
a44 3
	      -I../LayeredControl \
	      -I../Simulator \
	      -I../Navigation \
a62 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 

d73 1
a73 1
		cp -fnv $(TARGETS)	$(AUV_BIN_DIR)/. 
@


