RTI Secure Wan Transport  Version 6.0.1
 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.
# RTI grants Licensee a license to use, modify, compile, and create
# derivative works of the software solely for use with RTI Connext DDS.
# Licensee may redistribute copies of the software provided that all such
# copies are subject to this license. The software is provided "as is",
# with no warranty of any type, including any warranty for fitness for
# any purpose. RTI is under no obligation to maintain or support the
# software. RTI shall not be liable for any incidental or consequential
# damages arising out of the use or inability to use the software.
#
#
# This makefile was automatically generated by rtiddsgen.
#
#
# 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.
######################################################################
SOURCE_DIR =
TARGET_ARCH=sparcSol2.10gcc3.4.2
# If undefined in the environment default NDDSHOME to install dir
ifndef NDDSHOME
NDDSHOME := /home/build3/rti/waveworks/ndds601/connextdds/ndds.4.1
endif
JAVA_PATH = java
JAVAC_PATH = javac
JAVA_SOURCES = $(SOURCE_DIR)./HelloWorld.java $(SOURCE_DIR)./HelloWorldSeq.java $(SOURCE_DIR)./HelloWorldTypeSupport.java $(SOURCE_DIR)./HelloWorldTypeCode.java $(SOURCE_DIR)./HelloWorldDataReader.java $(SOURCE_DIR)./HelloWorldDataWriter.java $(SOURCE_DIR)./HelloWorldSubscriber.java $(SOURCE_DIR)./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 6.0.1 Copyright © Sun Nov 17 2019 Real-Time Innovations, Inc