head	1.5;
access;
symbols
	Hobson_Rock_14Dec2009:1.5
	HEAD_CTD_MERGE:1.4.0.4
	BEFORE_VCS_CHANGE:1.5
	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
	ST_10_4b:1.5
	ST_10_4:1.5
	ST_10_3:1.5
	ST10_HW:1.5
	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.4
	RELEASE_27_April_2007_CTD_1:1.4.0.2;
locks; strict;
comment	@# @;


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

1.4
date	2006.03.14.02.34.28;	author hthomas_local;	state Exp;
branches;
next	1.3;

1.3
date	2006.03.14.02.30.38;	author hthomas_local;	state Exp;
branches;
next	1.2;

1.2
date	2005.11.02.14.13.52;	author hthomas;	state Exp;
branches;
next	1.1;

1.1
date	2005.11.02.14.12.21;	author hthomas;	state Exp;
branches;
next	;


desc
@@


1.5
log
@added global configuration file for make under autonomy
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for Kearfott
# Filename : Makefile
# Author   : Hans Thomas
# Project  : 
# Version  : Version 1.0
# Created  : 12/06/99
# Modified : 12/06/99
# Archived :
##########################################################################
# Modification History:
# $Header: /home/cvs/auv-qnx/auv/altex/onboard/iridium/Makefile,v 1.4 2006/03/14 02:34:28 hthomas_local Exp $
#
##########################################################################

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)

INCLUDES    = 	-I.  \
	      	-I../utils \
	      	-I../framework  \
		-I../taskIF \
		-I../DataLog \
		-I../ahrs \
		-I../gps \
		-I../bluefinBatt \
	      	-I/usr/include \
		-I..

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

LIBS        =   ../utils/utils.lib \
		../framework/auvFramework.lib \
		../taskIF/taskInterfaces.lib \
		../bluefinBatt/BluefinBattOutput.o

OBJS	=	IridiumDriver.o _iridiumDriver.o

TARGETS =	iridiumDriver

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)

iridiumDriver:	$(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) $(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



depend:	

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

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

include       $(OBJS:.o=.d)
##########################################################################









@


1.4
log
@added support for sending out battery state in SBD
@
text
@d14 1
a14 1
# $Header: /data0/altex/Master/auv/altex/onboard/iridium/Makefile,v 1.3 2006/03/14 02:30:38 hthomas_local Exp $
d61 14
@


1.3
log
@added support for sending out battery state in SBD
@
text
@d14 1
a14 1
# $Header: /data0/altex/Master/auv/altex/onboard/iridium/Makefile,v 1.2 2005/11/02 14:13:52 hthomas Exp $
d56 1
@


1.2
log
@fixed unix control m's
@
text
@d14 1
a14 1
# $Header: /data0/altex/Master/auv/altex/onboard/iridium/Makefile,v 1.1 2005/11/02 14:12:21 hthomas Exp $
d46 1
@


1.1
log
@initial checkin
@
text
@d1 117
a117 117
##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for Kearfott
# Filename : Makefile
# Author   : Hans Thomas
# Project  : 
# Version  : Version 1.0
# Created  : 12/06/99
# Modified : 12/06/99
# Archived :
##########################################################################
# Modification History:
# $Header: /data0/altex/Master/auv/altex/onboard/kearfott/Makefile,v 1.7 2004/01/28 00:39:03 rob Exp $
#
##########################################################################

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)

INCLUDES    = 	-I.  \
	      	-I../utils \
	      	-I../framework  \
		-I../taskIF \
		-I../DataLog \
		-I../ahrs \
		-I../gps \
	      	-I/usr/include \
		-I..

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

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

OBJS	=	IridiumDriver.o _iridiumDriver.o

TARGETS =	iridiumDriver

all:		$(TARGETS)

iridiumDriver:	$(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) $(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



depend:	

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

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

include       $(OBJS:.o=.d)
##########################################################################









@

