RTI Secure Wan Transport  Version 6.0.0
 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.
######################################################################
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/ndds600/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.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc