######################################################################
# makefile_Message_sparcSol2.10gcc3.4.2
#
# (c) Copyright, Real-Time Innovations, 2007. All rights reserved.
# No duplications, whole or partial, manual or electronic, may be made
# without express written permission. Any such copies, or
# revisions thereof, must display this notice unaltered.
# This code contains trade secrets of Real-Time Innovations, Inc.
#
#
# This makefile was automatically generated by rtiddsgen.
#
# To compile, type:
# gmake -f makefile_Message_sparcSol2.10gcc3.4.2
#
# Note: This makefile is only meant to build our example applications and
# may require alterations to build on your system.
#
# Make sure that javac and java are in your path.
######################################################################
JAVA_PATH = java
JAVAC_PATH = javac
JAVA_SOURCES = ./MSG_MAX_LENGTH.java ./DateTime.java ./DateTimeSeq.java ./DateTimeTypeSupport.java ./DateTimeTypeCode.java ./DateTimeHelper.java ./DateTimeHolder.java ./Message.java ./MessageSeq.java ./MessageTypeSupport.java\
./MessageTypeCode.java ./MessageDataReader.java ./MessageDataWriter.java ./MessageSubscriber.java ./MessagePublisher.java ./MessageHelper.java ./MessageHolder.java ./MessageReceiverImpl.java ./MessageDDSPublisher.java ./MessageDDSSubscriber.java ./MessageApp.java
CLASS_FILES = $(JAVA_SOURCES:%.java=%.class)
RTI_CLASSPATH := $(NDDSHOME)/lib/java/nddsjava.jar:$(JAC_ORB)/lib/jacorb.jar:$(JAC_ORB)/lib/avalon-framework-4.1.5.jar:$(JAC_ORB)/lib/logkit-1.2.jar
%.class : %.java
$(JAVAC_PATH) -classpath .:$(RTI_CLASSPATH) $<
all: $(CLASS_FILES)
#
# Convenient way to run the java programs
#
export LD_LIBRARY_PATH := $(NDDSHOME)/lib/sparcSol2.10gcc3.4.2:/usr/lib/lwp:$(LD_LIBRARY_PATH)
MessagePublisher: ./MessagePublisher.class
$(JAVA_PATH) -classpath ".:$(RTI_CLASSPATH)" -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton MessagePublisher $(ARGS)
MessageSubscriber: ./MessageSubscriber.class
$(JAVA_PATH) -classpath ".:$(RTI_CLASSPATH)" -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton MessageSubscriber $(ARGS)
MessageApp: ./MessageApp.class
$(JAVA_PATH) -classpath ".:$(RTI_CLASSPATH)" -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton MessageApp $(ARGS)