#----------------------------------------------------------------------------
#	%W%	%G%
#
#	Makefile for the simple DEV reader/writer test file
#       for serial devices
#----------------------------------------------------------------------------

#----------------------------------------------------------------------------
#	Local macros
#----------------------------------------------------------------------------

BIN   = reader

FILES   = reader\
          tty_io

LSRC   = $(addsuffix .cpp,$(FILES))
LOBJ    = $(addsuffix .o,$(FILES))
SHOBJ   = $(addsuffix .so,$(FILES))

LDLIBS= $(addprefix .shobj/,$(SHOBJ)) 
 
VLDLIBS = $(LDLIBS:%=%$(VAR))

BUILD = $(VBIN)

INSTALL =

#----------------------------------------------------------------------------
#	Include macros and targets
#----------------------------------------------------------------------------

include		$(WRAPPER_ROOT)/include/makeinclude/wrapper_macros.GNU
include		$(WRAPPER_ROOT)/include/makeinclude/macros.GNU
include		$(WRAPPER_ROOT)/include/makeinclude/rules.common.GNU
include		$(WRAPPER_ROOT)/include/makeinclude/rules.nonested.GNU
include         $(WRAPPER_ROOT)/include/makeinclude/rules.lib.GNU
include		$(WRAPPER_ROOT)/include/makeinclude/rules.bin.GNU
include		$(WRAPPER_ROOT)/include/makeinclude/rules.local.GNU

#----------------------------------------------------------------------------
#	Local targets
#----------------------------------------------------------------------------

#----------------------------------------------------------------------------
#	Dependencies
#----------------------------------------------------------------------------
# DO NOT DELETE THIS LINE -- g++dep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.

.obj/reader.o .shobj/reader.so: reader.cpp \
 $(WRAPPER_ROOT)/ace/Log_Msg.h \
 $(WRAPPER_ROOT)/ace/Log_Record.h \
 $(WRAPPER_ROOT)/ace/ACE.h \
 $(WRAPPER_ROOT)/ace/OS.h \
 $(WRAPPER_ROOT)/ace/Time_Value.h \
 $(WRAPPER_ROOT)/ace/config.h \
 $(WRAPPER_ROOT)/ace/Trace.h \
 $(WRAPPER_ROOT)/ace/Log_Priority.h \
 $(WRAPPER_ROOT)/ace/Log_Record.i \
 $(WRAPPER_ROOT)/ace/Synch.h \
 $(WRAPPER_ROOT)/ace/Synch_T.h \
 $(WRAPPER_ROOT)/ace/DEV_Addr.h \
 $(WRAPPER_ROOT)/ace/Addr.h \
 $(WRAPPER_ROOT)/ace/DEV_Connector.h \
 $(WRAPPER_ROOT)/ace/DEV_IO.h \
 $(WRAPPER_ROOT)/ace/DEV.h \
 $(WRAPPER_ROOT)/ace/IO_SAP.h \
 $(WRAPPER_ROOT)/ace/IO_SAP.i \
 $(WRAPPER_ROOT)/ace/DEV.i \
 $(WRAPPER_ROOT)/ace/Str_Buf.h \
 $(WRAPPER_ROOT)/ace/DEV_IO.i \
 $(WRAPPER_ROOT)/ace/DEV_Connector.i \
 tty_io.h
.obj/tty_io.o .shobj/tty_io.so: tty_io.cpp tty_io.h \
 $(WRAPPER_ROOT)/ace/Log_Msg.h \
 $(WRAPPER_ROOT)/ace/Log_Record.h \
 $(WRAPPER_ROOT)/ace/ACE.h \
 $(WRAPPER_ROOT)/ace/OS.h \
 $(WRAPPER_ROOT)/ace/Time_Value.h \
 $(WRAPPER_ROOT)/ace/config.h \
 $(WRAPPER_ROOT)/ace/Trace.h \
 $(WRAPPER_ROOT)/ace/Log_Priority.h \
 $(WRAPPER_ROOT)/ace/Log_Record.i \
 $(WRAPPER_ROOT)/ace/Synch.h \
 $(WRAPPER_ROOT)/ace/Synch_T.h \
 $(WRAPPER_ROOT)/ace/DEV_Addr.h \
 $(WRAPPER_ROOT)/ace/Addr.h \
 $(WRAPPER_ROOT)/ace/DEV_Connector.h \
 $(WRAPPER_ROOT)/ace/DEV_IO.h \
 $(WRAPPER_ROOT)/ace/DEV.h \
 $(WRAPPER_ROOT)/ace/IO_SAP.h \
 $(WRAPPER_ROOT)/ace/IO_SAP.i \
 $(WRAPPER_ROOT)/ace/DEV.i \
 $(WRAPPER_ROOT)/ace/Str_Buf.h \
 $(WRAPPER_ROOT)/ace/DEV_IO.i \
 $(WRAPPER_ROOT)/ace/DEV_Connector.i

# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
