head	1.3;
access;
symbols
	Hobson_Rock_14Dec2009:1.3
	HEAD_CTD_MERGE:1.3.4.2.0.2
	BEFORE_VCS_CHANGE:1.3
	Hobson_Rock_16Oct2009:1.3
	Hobson_Rock_29June2009:1.3
	Jun15_2009:1.3
	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
	RELEASE_27_April_2007_CTD_1:1.3.0.4
	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.2;
locks; strict;
comment	@# @;


1.3
date	2008.07.29.15.32.52;	author fpy;	state Exp;
branches
	1.3.4.1;
next	1.2;

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

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

1.3.4.1
date	2008.07.29.15.32.52;	author hthomas;	state dead;
branches;
next	1.3.4.2;

1.3.4.2
date	2008.10.06.22.46.16;	author hthomas;	state Exp;
branches;
next	;


desc
@@


1.3
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/adaptiveSampler/Makefile,v 1.2 2007/03/30 22:13:38 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/usr/include           

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

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


OBJS	    =	AdaptiveSampler.o \
		AdaptiveSamplerServer.o \
		AdaptiveSamplerLog.o \
		AdaptiveSamplerOutput.o

TARGETS =	adaptiveSamplerDriver \
		adaptiveSamplerServer \
		adaptiveSamplerTest

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)


adaptiveSamplerDriver:  _adaptiveSamplerDriver.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _adaptiveSamplerDriver.o $(OBJS) $(LIBS) -o $@@

adaptiveSamplerServer:  _adaptiveSamplerServer.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _adaptiveSamplerServer.o $(OBJS) $(LIBS) -o $@@

adaptiveSamplerTest:  _adaptiveSamplerTest.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _adaptiveSamplerTest.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.4.1
log
@file Makefile was added on branch RELEASE_27_April_2007_CTD_1 on 2008-10-06 22:46:16 +0000
@
text
@d1 145
@


1.3.4.2
log
@initial checkin
@
text
@a0 145
##########################################################################
# 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/adaptiveSampler/Makefile,v 1.3 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../taskIF \
	      -I../DataLog \
	      -I../LayeredControl \
	      -I/usr/include           

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

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


OBJS	    =	AdaptiveSampler.o \
		AdaptiveSamplerServer.o \
		AdaptiveSamplerLog.o \
		AdaptiveSamplerOutput.o

TARGETS =	adaptiveSamplerDriver \
		adaptiveSamplerServer \
		adaptiveSamplerTest

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)


adaptiveSamplerDriver:  _adaptiveSamplerDriver.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _adaptiveSamplerDriver.o $(OBJS) $(LIBS) -o $@@

adaptiveSamplerServer:  _adaptiveSamplerServer.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _adaptiveSamplerServer.o $(OBJS) $(LIBS) -o $@@

adaptiveSamplerTest:  _adaptiveSamplerTest.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _adaptiveSamplerTest.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.2
log
@Continued development.  Logging and a configuration file have been added.
The logic has been corrected.
@
text
@d14 1
a14 1
# $Header: /data/altex/Master/auv/altex/onboard/adaptiveSampler/Makefile,v 1.1 2007/03/22 20:24:29 rob Exp $
d65 14
@


1.1
log
@Initial development of an adaptive sampling driver/server.  This pair will track
which gulpers are armed and available through the ArmTheGulper behavior.  The
driver will fire a gulper when when the desired conditions are met, by writing
to the GulperIF.

At this point the driver is an empty shell that compiles.  In addition to simple
thresholding, this driver will serve as an entry point for more sophisticated
adaptive sampling algorithms such as clustering.
@
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 $
d62 3
a64 1
TARGETS =	adaptiveSamplerDriver adaptiveSamplerServer 
d75 3
d79 1
a79 1
		cp -f $(TARGETS)	$(AUV_BIN_DIR)/. 
@

