11######################################################################
22# To compile, type:
3- # make -f makefile_rti_connext_dds_linux
3+ # make -f makefile_rti_connext_micro_linux
44# To compile with the Debug option, use:
5- # make -f makefile_rti_connext_dds_linux DEBUG=1
5+ # make -f makefile_rti_connext_micro_linux DEBUG=1
66#
77# This makefile assumes that your build environment is already correctly
88# configured. (For example, the correct version of your compiler and
2121COMPILER_FLAGS = -m64
2222LINKER_FLAGS = -m64 -static-libgcc
2323
24- split_path_name = $(subst /rti_, , $(RTIMEHOME))
24+ product_name = $(notdir $(RTIMEHOME))
25+ product_name := $(subst _dds,,$(product_name))
2526
26- version_name = $(lastword $(split_path_name ))
27+ version_name = $(lastword $(product_name ))
2728common_name = "_shape_main_linux"
2829executable_name = $(version_name)$(common_name)
2930
@@ -44,7 +45,7 @@ COMPILER_FLAGS += -g -O0
4445LINKER_FLAGS += -g
4546LIBS = -L$(RTIMEHOME)/lib/$(RTIMEARCH) \
4647 -lrti_me_cppzd -lrti_me_netiosdmzd \
47- -lrti_me_discdpdez -lrti_me_ddsfilterzd -lrti_me_rhsmzd \
48+ -lrti_me_discdpdezd -lrti_me_ddsfilterzd -lrti_me_rhsmzd \
4849 -lrti_me_whsmzd -lrti_mezd -lrti_me_ddsxtypeszd $(SYSLIBS)
4950else
5051# This option strips the executable symbols
@@ -73,7 +74,7 @@ $(OBJDIR)/$(EXEC) : $(AUTOGENSOURCES) $(AUTOGENOBJS) $(OBJDIR)/shape_main.o
7374$(OBJDIR)/%.o : %.cxx
7475 $(COMPILER) $(COMPILER_FLAGS) -o $@ $(DEFINES) $(INCLUDES) -c $<
7576
76- shape_main.cxx : shape_configurator_rti_connext_dds .h
77+ shape_main.cxx : shape_configurator_rti_connext_micro .h
7778
7879# Generate type-specific sources
7980$(AUTOGENSOURCES) : $(CDRSOURCES)
0 commit comments