head	1.8;
access;
symbols
	OctansJune5:1.8
	Ver3-0:1.7
	Ver2-4:1.7
	Ver2-3-2:1.7
	Ver2-3:1.7
	Ver2-2:1.7
	Ver2-1:1.7
	Ver1-11:1.7
	Ver1-10:1.7
	Ver1-9:1.6
	Ver1-8:1.5
	Ver1-7:1.5
	Ver1-6:1.5
	Ver1-5:1.5
	Ver1-4-1:1.4
	Ver1-4:1.4
	Ver1-3:1.4
	Ver1-2:1.4
	Ver1-1:1.4
	Validate1:1.4
	OdysseyMatch2:1.3;
locks; strict;
comment	@# @;


1.8
date	2001.06.02.21.33.23;	author hthomas;	state Exp;
branches;
next	1.7;

1.7
date	2000.03.21.21.57.28;	author oreilly;	state Exp;
branches;
next	1.6;

1.6
date	2000.03.20.19.36.14;	author oreilly;	state Exp;
branches;
next	1.5;

1.5
date	2000.01.18.03.03.50;	author amarsh;	state Exp;
branches;
next	1.4;

1.4
date	99.12.27.19.47.49;	author oreilly;	state Exp;
branches;
next	1.3;

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

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

1.1
date	99.12.14.00.16.44;	author pean;	state Exp;
branches;
next	;


desc
@@


1.8
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 External Communications
# 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/ExternalComms/Makefile,v 1.7 2000/03/21 21:57:28 oreilly 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../SystemInterfaces \
	      -I/usr/include           

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

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


OBJS	    =	ExternalComms.o \
		ExternalCommsServer.o \
		ExternalMessage.o 


TARGETS = 	externalComms externalCommsServer

all:		$(TARGETS)

externalComms:  _externalComms.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _externalComms.o $(OBJS) $(LIBS) -o $@@

externalCommsServer:  _externalCommsServer.o $(OBJS) $(LIBS) 
	$(LD) $(LDFLAGS) _externalCommsServer.o $(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 $@@	
	    @@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.7
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/ExternalComms/Makefile,v 1.6 2000/03/20 19:36:14 oreilly Exp $
d82 2
a83 1
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@
d87 2
a88 1
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@ 
@


1.6
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /home/cvs/auv/altex/onboard/ExternalComms/Makefile,v 1.5 2000/03/01 20:02:27 marsh Exp $
d72 1
a72 2
		cp -f externalComms 		$(AUV_BIN_DIR)/. 
		cp -f externalCommsServer	$(AUV_BIN_DIR)/. 
@


1.5
log
@Modified makefiles to also delete executables and libraries
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/ExternalComms/Makefile,v 1.4 1999/12/27 19:47:49 oreilly Exp $
d22 1
a22 1
DEPEND_TOOL = /usr/altex/bin/makedepend
d52 2
a53 1
		../framework/auvFramework.lib
d65 2
a66 2
externalComms:  externalComms.o $(OBJS) \
	../SystemInterfaces/SystemInterfaces.o $(LIBS) 
d68 2
a69 2
externalCommsServer:  externalCommsServer.o $(OBJS) \
	../SystemInterfaces/SystemInterfaces.o $(LIBS) $(LIBS) 
@


1.4
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/ExternalComms/Makefile,v 1.3 1999/12/15 22:54:17 oreilly Exp $
d60 3
a62 1
all:		externalComms externalCommsServer
d104 1
a104 1
	rm -f core *.o $(OBJS:.o=.d) *.lib *.yy *.tab.* 
@


1.3
log
@Added target 'install'
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/ExternalComms/Makefile,v 1.2 1999/12/15 20:38:09 oreilly Exp $
d102 1
a102 1
	rm -f core $(OBJS) $(OBJS:.o=.d) *.lib *.yy *.tab.* 
@


1.2
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/ExternalComms/Makefile,v 1.1 1999/12/14 00:16:44 pean Exp $
d33 2
d67 4
@


1.1
log
@Moved files to ExternalComms subdirectory
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/kvhCompass/Makefile,v 1.1 1999/12/08 16:56:23 pean Exp $
d49 1
d58 7
a64 1
all:		$(OBJS)
@
