# Tove-style makefile template for individual modules. Take this and
# fill in filenames for your module - in normal case it should be enough
# to just fill in ARTARGET and OBJS.
#
# Author: Juhana Räsänen


TARGET = sftest

OBJS = demo.o

SUBDIRS = $(TOVESRC)/sf $(TOVESRC)/pf

ALL_SUBDIRS = $(SUBDIRS)

MODULEFILES = $(TOVESRC)/sf/sf.a $(TOVESRC)/pf/pf.a

# include a Rules file
include $(TOVESRC)/Rules.Make

# Do make in all subdirs, link the executable
$(TARGET) : $(OBJS)
	for i in $(SUBDIRS); do make -C $$i; done
	$(CC) $(CCFLAGS) $(INC_DIRS) -o $(TARGET) $(OBJS) $(MODULEFILES) $(ORBLIB) $(NAMELIB)

# Make clean in all subdirs and in top level
# ('make clean' clears only top level)
deepclean:
	for i in $(ALL_SUBDIRS); do $(MAKE) -C $$i clean; done
	rm -rf *~ *.o $(TARGET)


# Make dependencies in all subdirs and in top level
# ('make dep' make dependencies only in top level)
deepdep:
	for i in $(ALL_SUBDIRS); do $(MAKE) -C $$i dep; done
	makedepend -Y $(INC_DIRS) $(DEFS) *.cpp 2> /dev/null

# Dependencies are below. The line next to this is used by makedepend, so
# DO NOT DELETE

demo.o: /home/vmp/src/sf/fifoscheduler.h /usr/local/include/OB/CORBA.h
demo.o: /usr/local/include/OB/Basic.h /usr/local/include/OB/Config.h
demo.o: /usr/local/include/JTC/JTC.h /usr/local/include/JTC/Thread.h
demo.o: /usr/local/include/JTC/Types.h /usr/local/include/JTC/Config.h
demo.o: /usr/local/include/JTC/Mutex.h /usr/local/include/JTC/Sync.h
demo.o: /usr/local/include/JTC/Event.h /usr/local/include/JTC/Cond.h
demo.o: /usr/local/include/JTC/ThreadGroup.h /usr/local/include/JTC/Monitor.h
demo.o: /usr/local/include/JTC/Exception.h /usr/local/include/JTC/Runnable.h
demo.o: /usr/local/include/JTC/MonitorT.h /usr/local/include/JTC/TSS.h
demo.o: /usr/local/include/OB/Except.h /usr/local/include/OB/Template.h
demo.o: /usr/local/include/OB/Declarations.h /usr/local/include/OB/Any.h
demo.o: /usr/local/include/OB/TCKind.h /usr/local/include/OB/TypeCode.h
demo.o: /usr/local/include/OB/Environment.h /usr/local/include/OB/Context.h
demo.o: /usr/local/include/OB/NamedValue.h /usr/local/include/OB/Principal.h
demo.o: /usr/local/include/OB/IOP.h /usr/local/include/OB/Object.h
demo.o: /usr/local/include/OB/Policy.h /usr/local/include/OB/IntRep.h
demo.o: /usr/local/include/OB/IntRepMember.h /usr/local/include/OB/ORB.h
demo.o: /usr/local/include/OB/Object_skel.h /usr/local/include/OB/ImplRep.h
demo.o: /usr/local/include/OB/BOA.h /usr/local/include/OB/DII.h
demo.o: /usr/local/include/OB/DSI.h /usr/local/include/OB/Current.h
demo.o: /usr/local/include/OB/DynAny.h /usr/local/include/OB/Util.h
demo.o: /usr/local/include/OB/Reactor.h /home/vmp/src/sf/scheduler.h
demo.o: /home/vmp/src/sf/exception.h /home/vmp/src/pf/types.h
demo.o: /home/vmp/src/sf/schedulerhandle.h /home/vmp/src/sf/otime.h
demo.o: /home/vmp/src/sf/schedulerhandle.h /home/vmp/src/sf/task.h
demo.o: /home/vmp/src/sf/otime.h /home/vmp/src/pf/debug.h
demo.o: /home/vmp/src/pf/state.h /home/vmp/src/pf/protocol.h
demo.o: /home/vmp/src/pf/types.h /home/vmp/src/pf/transp.h
demo.o: /home/vmp/src/pf/conduit.h /home/vmp/src/pf/messenge.h
demo.o: /home/vmp/src/pf/storage.h /home/vmp/src/pf/frame.h
demo.o: /home/vmp/src/pf/exception.h /home/vmp/src/pf/bitstring.h
demo.o: /home/vmp/src/pf/ie.h /home/vmp/src/pf/conduit.h
demo.o: /home/vmp/src/pf/timers.h /home/vmp/src/pf/timer.h
