head	1.3;
access;
symbols
	Hobson_Rock_14Dec2009:1.3
	HEAD_CTD_MERGE:1.2.0.4
	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
	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
	RELEASE_27_April_2007_CTD_1:1.2.0.2
	Development_With_Wayne_060804:1.2
	Dev-27Jan2004:1.2
	Rel-15Dec2003:1.2
	Dev-2Dec2003:1.2
	Dev-1Dec2003:1.2
	Rel-26Nov2003:1.2;
locks; strict;
comment	@# @;


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

1.2
date	2003.11.20.16.51.41;	author dorado;	state Exp;
branches;
next	1.1;

1.1
date	2003.11.20.04.09.54;	author dorado;	state Exp;
branches;
next	;


desc
@@


1.3
log
@added global configuration file for make under autonomy
@
text
@##########################################################################
# Copyright (c) 1999 MBARI                              
# MBARI Proprietary Information. All rights reserved.   
##########################################################################
# Summary  : Makefile for building complete vehicle code tree
# 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/newTailCone/Makefile,v 1.2 2003/11/20 16:51:41 dorado 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.  \
	      -Iutils \
	      -Iframework \
	      -IDataLog \
	      -ItaskIF \
	      -I/usr/include           

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

DIRS	    =   PicServoDLL \
		TailconeGUI

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:		
		for subdir in $(DIRS); do \
		  cd $$subdir; \
		  if \
		    make all; \
		  then \
		    echo "make succeeded";\
		  else \
		    echo "make failed";\
		    exit; \
		  fi; \
		  cd ..; \
		done
		@@echo "That's all folks!"

clean:
		for subdir in $(DIRS); do \
		  (cd $$subdir; make clean; echo ; cd ..); \
		done
		rm -f core $(OBJS) $(OBJS:.o=.d) *.lib *.yy *.tab.* 


update:
		for subdir in $(DIRS); do \
		  (cd $$subdir; cvs update; echo ; cd ..); \
		done

commit:
		for subdir in $(DIRS); do \
		  (cd $$subdir; cvs commit; echo ; cd ..); \
		done

install:
		for subdir in $(DIRS); do \
		  cd $$subdir; \
		  make install AUV_BIN_DIR=../../bin; \
		  echo; \
		  cd ..; \
		done

install_target:
		cp bin/* //1/home/dorado1/auv/altex/onboard/bin

release:
		for subdir in $(DIRS); do \
		  cd $$subdir; \
		  make install AUV_BIN_DIR=$(AUV_BIN_DIR); \
		  echo; \
		  cd ..; \
		done

##########################################################################
# 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 $@@

%.d: %.cc
	    @@echo Generating dependencies for $?
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@ 

%.o: %.c 
	    @@$(CC) $(CFLAGS) $(INCLUDES) $< -o $@@	
	    @@echo
%.o: %.cc
	    @@$(CCPP) $(CPPFLAGS) $(INCLUDES) $< -o $@@
	    @@echo

DEST	    = .

MAKEFILE    = Makefile

depend:	

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


1.2
log
@sib: fixed install line
@
text
@d15 1
a15 1
# $Header: /data/altex/Master/auv/altex/onboard/newTailCone/Makefile,v 1.1 2003/11/20 04:09:54 dorado Exp $
d51 14
@


1.1
log
@sib: finally a Makefile for the newTailCone stuff.
@
text
@d15 1
a15 1
# $Header: /data/altex/Master/auv/altex/onboard/Makefile,v 1.68 2003/02/21 00:23:23 henthorn Exp $
d25 1
a25 1
AUV_BIN_DIR = ../bin
d87 1
a87 1
		  make install; \
@

