Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix table of contents in the RTD generated stuff
[ric-plt/lib/rmr.git]
/
test
/
app_test
/
Makefile
diff --git
a/test/app_test/Makefile
b/test/app_test/Makefile
index
c15cdc4
..
019f3e2
100644
(file)
--- a/
test/app_test/Makefile
+++ b/
test/app_test/Makefile
@@
-1,4
+1,5
@@
-#==================================================================================
+#
+#=================================================================================
# Copyright (c) 2019 Nokia
# Copyright (c) 2018-2019 AT&T Intellectual Property.
#
# Copyright (c) 2019 Nokia
# Copyright (c) 2018-2019 AT&T Intellectual Property.
#
@@
-32,6
+33,8
@@
#.SHELLFLAGS = -e # hosed on some flavours so keep it off
SHELL ?= /bin/ksh
#.SHELLFLAGS = -e # hosed on some flavours so keep it off
SHELL ?= /bin/ksh
+ex_cflags = $(shell echo $$EX_CFLAGS )
+
build_path ?= ../../.build
header_path := $(shell find $(build_path) -name 'rmr.h' |head -1 | sed 's!/rmr/.*!!' )
build_path ?= ../../.build
header_path := $(shell find $(build_path) -name 'rmr.h' |head -1 | sed 's!/rmr/.*!!' )
@@
-44,10
+47,7
@@
LIBRARY_PATH = $(LD_LIBRARY_PATH)
.PHONY: all
.PHONY: all
-all: sender receiver caller mt_receiver
-
-receiver_nano: receiver.c
- gcc -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr -lnanomsg -lpthread -lm
+all: sender receiver caller mt_receiver v_sender ex_rts_receiver
receiver: receiver.c
gcc -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr_nng -lnng -lpthread -lm
receiver: receiver.c
gcc -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr_nng -lnng -lpthread -lm
@@
-58,8
+58,11
@@
mt_receiver: receiver.c
lreceiver: lreceiver.c
gcc -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr_nng -lnng -lpthread -lm
lreceiver: lreceiver.c
gcc -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr_nng -lnng -lpthread -lm
-sender_nano: sender.c
- gcc -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr -lnanomsg -lpthread -lm
+ex_rts_receiver: ex_rts_receiver.c
+ gcc $(ex_cflags) -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr_nng -lnng -lpthread -lm
+
+v_sender: v_sender.c
+ gcc -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr_nng -lnng -lpthread -lm
sender: sender.c
gcc -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr_nng -lnng -lpthread -lm
sender: sender.c
gcc -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr_nng -lnng -lpthread -lm
@@
-71,8
+74,6
@@
lcaller: lcaller.c
gcc -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr_nng -lnng -lpthread -lm
lsender: lsender.c
gcc -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr_nng -lnng -lpthread -lm
lsender: lsender.c
- gcc -I $${C_INCLUDE_PATH:-.} $< -g -o $@ -lrmr_nng -lnng -lpthread -lm
-
# clean removes intermediates; nuke removes everything that can be built
.PHONY: clean nuke
# clean removes intermediates; nuke removes everything that can be built
.PHONY: clean nuke
@@
-80,4
+81,4
@@
clean:
rm -f *.o
nuke: clean
rm -f *.o
nuke: clean
- rm -f sender
sender_nano receiver receiver_nano
caller mt_receiver
+ rm -f sender
receiver
caller mt_receiver