RTI Secure Wan Transport  Version 5.2.3
 All Data Structures Functions Variables Typedefs Enumerations Groups Pages
example_makefile

[$(HOME)/rti_workspace//examples/connext_dds/java/hello_world_dtls/example_makefile]

######################################################################
# makefile_HelloWorld_sparcSol2.10gcc3.4.2
#
# (c) Copyright, Real-Time Innovations, 2012. 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_HelloWorld_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.
######################################################################
TARGET_ARCH=sparcSol2.10gcc3.4.2
# If undefined in the environment default NDDSHOME to install dir
ifndef NDDSHOME
NDDSHOME := /home/build/rti/waveworks/ndds523/ndds.4.1
endif
JAVA_PATH = java
JAVAC_PATH = javac
JAVA_SOURCES = ./HelloWorld.java ./HelloWorldSeq.java ./HelloWorldTypeSupport.java ./HelloWorldTypeCode.java ./HelloWorldDataReader.java ./HelloWorldDataWriter.java ./HelloWorldSubscriber.java ./HelloWorldPublisher.java
CLASS_FILES = $(JAVA_SOURCES:%.java=%.class)
RTI_CLASSPATH := $(NDDSHOME)/lib/java/nddsjava.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)
HelloWorldPublisher: ./HelloWorldPublisher.class
$(JAVA_PATH) -classpath ".:$(RTI_CLASSPATH)" HelloWorldPublisher $(ARGS)
HelloWorldSubscriber: ./HelloWorldSubscriber.class
$(JAVA_PATH) -classpath ".:$(RTI_CLASSPATH)" HelloWorldSubscriber $(ARGS)

RTI Secure Wan Transport Version 5.2.3 Copyright © Wed Apr 27 2016 Real-Time Innovations, Inc