head	1.4;
access;
symbols
	OctansJune5:1.4
	Ver3-0:1.3
	Ver2-4:1.3
	Ver2-3-2:1.3
	Ver2-3:1.3
	Ver2-2:1.3
	Ver2-1:1.3
	Ver1-11:1.3
	Ver1-10:1.3
	Ver1-9:1.2
	Ver1-8:1.1;
locks; strict;
comment	@# @;


1.4
date	2001.06.02.21.33.49;	author hthomas;	state Exp;
branches;
next	1.3;

1.3
date	2000.03.21.21.58.51;	author oreilly;	state Exp;
branches;
next	1.2;

1.2
date	2000.03.20.20.44.13;	author oreilly;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.23.00.48.19;	author oreilly;	state Exp;
branches;
next	;


desc
@@


1.4
log
@various changes; remove stale entries in root makefile, fixed file naming to allow for serving from windows, and fixed makefiles to avoid file linking/unlinking problem in makedepend when talking through samba to windows boxes
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for CTD Driver
# Filename : Makefile
# Author   : Andrew Pearce
# Project  : 
# Version  : Version 1.0
# Created  : 12/06/99
# Modified : 12/06/99
# Archived :
##########################################################################
# Modification History:
# $Header: /usr/local/cvs/auv/altex/onboard/seabird/Makefile,v 1.3 2000/03/21 21:58:51 oreilly 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../ \
	      -I../utils \
	      -I../framework \
	      -I../system \
	      -I../taskIF \
	      -I../DataLog \
	      -I../Simulator \
	      -I/usr/include           

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

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

OBJS	    =	SeabirdServer.o \
		SeabirdOutput.o \
		Seabird.o \
		SeabirdLog.o

TARGETS =	seabirdServer \
		seabirdDriver \
		seabirdTest		

all:		$(TARGETS)


seabirdServer:	_seabirdServer.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _seabirdServer.o $(OBJS) $(LIBS) -o $@@

seabirdDriver:	_seabirdDriver.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _seabirdDriver.o $(OBJS) $(LIBS) -o $@@

seabirdTest:	seabirdTest.o $(OBJS) $(LIBS)


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 $@@	
	    @@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
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/seabird/Makefile,v 1.2 2000/03/20 20:44:13 oreilly Exp $
d89 2
a90 2
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@

d93 2
a94 1
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@ 
@


1.2
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/seabird/Makefile,v 1.1 2000/02/23 00:48:19 oreilly Exp $
d22 1
a22 1
DEPEND_TOOL = /usr/altex/bin/makedepend
@


1.1
log
@Replaces CTD stuff
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/ctd/Makefile,v 1.11 2000/01/18 03:03:53 amarsh Exp $
d69 2
a70 1
seabirdServer:	seabirdServer.o $(OBJS) $(LIBS)
d72 3
a76 1
seabirdDriver:	seabirdDriver.o $(OBJS) $(LIBS)
d79 1
a79 3
		cp -f seabirdDriver		$(AUV_BIN_DIR)/. 
		cp -f seabirdServer 	        $(AUV_BIN_DIR)/. 
		cp -f seabirdTest		$(AUV_BIN_DIR)/.
@
