File tree 10 files changed +74
-6
lines changed
ReadAndStoreData/TwitterSmackdown
KMeansClusteringControlSignalSample
10 files changed +74
-6
lines changed Original file line number Diff line number Diff line change 23
23
# end_generated_IBM_copyright_prolog
24
24
.PHONY : all distributed clean
25
25
26
- SPLC_FLAGS = -a -t $(STREAMS_INSTALL ) /toolkits/com.ibm.streamsx.json:$(STREAMS_INSTALL ) /toolkits/com.ibm.streams.cep:$(STREAMS_INSTALL ) /toolkits/com.ibm.streamsx.messagehub
26
+ SPLC_FLAGS = -a -t $(STREAMS_INSTALL ) /toolkits/com.ibm.streamsx.json:$(STREAMS_INSTALL ) /toolkits/com.ibm.streams.cep:$(STREAMS_INSTALL ) /toolkits/com.ibm.streamsx.messagehub
27
+ ifdef STREAMS_BUILDSERVICE
28
+ SPLC_FLAGS = -a -t ../toolkits:$(STREAMS_INSTALL ) /toolkits
29
+ endif
27
30
SPLC = $(STREAMS_INSTALL ) /bin/sc
28
31
29
32
SPL_CMD_ARGS ?=
30
- SPL_DATA_DIR ?= --data-directory ./data
31
33
SPL_MAIN_COMPOSITE_MHUB = application::SensorMonitorMain_NoMHub
32
34
SPL_MAIN_COMPOSITE_PUBLISH_MHUB = application::PublishData
33
35
SPL_MAIN_COMPOSITE_SIMPLE = application::SensorMonitorMain
34
36
35
37
all : distributed
36
38
37
39
distributed :
38
- $(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE_MHUB ) $(SPL_DATA_DIR ) $( SPL_CMD_ARGS )
39
- $(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE_SIMPLE ) $(SPL_DATA_DIR ) $( SPL_CMD_ARGS )
40
- $(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE_PUBLISH_MHUB ) $(SPL_DATA_DIR ) $( SPL_CMD_ARGS )
40
+ $(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE_MHUB ) $(SPL_CMD_ARGS )
41
+ $(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE_SIMPLE ) $(SPL_CMD_ARGS )
42
+ $(SPLC ) $(SPLC_FLAGS ) -M $(SPL_MAIN_COMPOSITE_PUBLISH_MHUB ) $(SPL_CMD_ARGS )
41
43
42
44
clean :
43
45
$(SPLC ) $(SPLC_FLAGS ) -C -M $(SPL_MAIN_COMPOSITE_SIMPLE )
Original file line number Diff line number Diff line change 24
24
.PHONY : all clean
25
25
26
26
SPLC = $(STREAMS_INSTALL ) /bin/sc
27
- SPLC_FLAGS = -a -t $(STREAMS_INSTALL ) /toolkits/com.ibm.streamsx.inet
27
+ SPL_PATH = $(STREAMS_INSTALL ) /toolkits/com.ibm.streamsx.inet
28
+ ifdef STREAMS_BUILDSERVICE
29
+ SPL_PATH = ../toolkits:$(STREAMS_INSTALL ) /toolkits
30
+ endif
28
31
SAMPLE_TWITTERSTREAM = sample::TwitterStream
29
32
SAMPLE_SMACKDOWN = sample::Smackdown
30
33
SPL_DATA_DIR ?= /tmp
31
34
SPL_CMD_ARGS ?=
35
+ SPLC_FLAGS = -a -t $(SPL_PATH )
32
36
33
37
all : distributed
34
38
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ ifeq ($(STREAMS_STUDIO_BUILDING), 1)
10
10
SPLC = $(STREAMS_STUDIO_SC_PATH )
11
11
SPL_PATH = $(STREAMS_STUDIO_SPL_PATH )
12
12
OUTPUT_DIR = $(STREAMS_STUDIO_OUTPUT_DIRECTORY )
13
+ else ifdef STREAMS_BUILDSERVICE
14
+ $(info Building using buildservice)
15
+ ifeq ($(STREAMS_INSTALL),)
16
+ $(error error : environment variable STREAMS_INSTALL has to be set)
17
+ endif
18
+ SPLC = $(STREAMS_INSTALL ) /bin/sc
19
+ SPL_PATH = ../toolkits:$(STREAMS_INSTALL ) /toolkits
13
20
else
14
21
# Building outside of Streams Studio...
15
22
ifeq ($(STREAMS_INSTALL),)
Original file line number Diff line number Diff line change @@ -12,6 +12,19 @@ ifeq ($(STREAMS_STUDIO_BUILDING), 1)
12
12
SPLC = $(STREAMS_STUDIO_SC_PATH )
13
13
SPL_PATH = $(STREAMS_STUDIO_SPL_PATH )
14
14
OUTPUT_DIR = $(STREAMS_STUDIO_OUTPUT_DIRECTORY )
15
+ SPLC_OUT1 = $(OUTPUT_DIR )
16
+ SPLC_OUT2 = $(OUTPUT_DIR )
17
+ SPLC_OUT3 = $(OUTPUT_DIR )
18
+ else ifdef STREAMS_BUILDSERVICE
19
+ $(info Building using buildservice)
20
+ ifeq ($(STREAMS_INSTALL),)
21
+ $(error error : environment variable STREAMS_INSTALL has to be set)
22
+ endif
23
+ SPLC = $(STREAMS_INSTALL ) /bin/sc
24
+ SPL_PATH = ../toolkits:$(STREAMS_INSTALL ) /toolkits
25
+ SPLC_OUT1 = $(OUTPUT_DIR )
26
+ SPLC_OUT2 = $(OUTPUT_DIR )
27
+ SPLC_OUT3 = $(OUTPUT_DIR )
15
28
else
16
29
# Building outside of Streams Studio...
17
30
ifeq ($(STREAMS_INSTALL),)
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ ifeq ($(STREAMS_STUDIO_BUILDING), 1)
10
10
SPLC = $(STREAMS_STUDIO_SC_PATH )
11
11
SPL_PATH = $(STREAMS_STUDIO_SPL_PATH )
12
12
OUTPUT_DIR = $(STREAMS_STUDIO_OUTPUT_DIRECTORY )
13
+ else ifdef STREAMS_BUILDSERVICE
14
+ $(info Building using buildservice)
15
+ ifeq ($(STREAMS_INSTALL),)
16
+ $(error error : environment variable STREAMS_INSTALL has to be set)
17
+ endif
18
+ SPLC = $(STREAMS_INSTALL ) /bin/sc
19
+ SPL_PATH = ../toolkits:$(STREAMS_INSTALL ) /toolkits
13
20
else
14
21
# Building outside of Streams Studio...
15
22
ifeq ($(STREAMS_INSTALL),)
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ ifeq ($(STREAMS_STUDIO_BUILDING), 1)
10
10
SPLC = $(STREAMS_STUDIO_SC_PATH )
11
11
SPL_PATH = $(STREAMS_STUDIO_SPL_PATH )
12
12
OUTPUT_DIR = $(STREAMS_STUDIO_OUTPUT_DIRECTORY )
13
+ else ifdef STREAMS_BUILDSERVICE
14
+ $(info Building using buildservice)
15
+ ifeq ($(STREAMS_INSTALL),)
16
+ $(error error : environment variable STREAMS_INSTALL has to be set)
17
+ endif
18
+ SPLC = $(STREAMS_INSTALL ) /bin/sc
19
+ SPL_PATH = ../toolkits:$(STREAMS_INSTALL ) /toolkits
13
20
else
14
21
# Building outside of Streams Studio...
15
22
ifeq ($(STREAMS_INSTALL),)
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ ifeq ($(STREAMS_STUDIO_BUILDING), 1)
10
10
SPLC = $(STREAMS_STUDIO_SC_PATH )
11
11
SPL_PATH = $(STREAMS_STUDIO_SPL_PATH )
12
12
OUTPUT_DIR = $(STREAMS_STUDIO_OUTPUT_DIRECTORY )
13
+ else ifdef STREAMS_BUILDSERVICE
14
+ $(info Building using buildservice)
15
+ ifeq ($(STREAMS_INSTALL),)
16
+ $(error error : environment variable STREAMS_INSTALL has to be set)
17
+ endif
18
+ SPLC = $(STREAMS_INSTALL ) /bin/sc
19
+ SPL_PATH = ../toolkits:$(STREAMS_INSTALL ) /toolkits
13
20
else
14
21
# Building outside of Streams Studio...
15
22
ifeq ($(STREAMS_INSTALL),)
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ ifeq ($(STREAMS_STUDIO_BUILDING), 1)
10
10
SPLC = $(STREAMS_STUDIO_SC_PATH )
11
11
SPL_PATH = $(STREAMS_STUDIO_SPL_PATH )
12
12
OUTPUT_DIR = $(STREAMS_STUDIO_OUTPUT_DIRECTORY )
13
+ else ifdef STREAMS_BUILDSERVICE
14
+ $(info Building using buildservice)
15
+ ifeq ($(STREAMS_INSTALL),)
16
+ $(error error : environment variable STREAMS_INSTALL has to be set)
17
+ endif
18
+ SPLC = $(STREAMS_INSTALL ) /bin/sc
19
+ SPL_PATH = ../toolkits:$(STREAMS_INSTALL ) /toolkits
13
20
else
14
21
# Building outside of Streams Studio...
15
22
ifeq ($(STREAMS_INSTALL),)
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ ifeq ($(STREAMS_STUDIO_BUILDING), 1)
10
10
SPLC = $(STREAMS_STUDIO_SC_PATH )
11
11
SPL_PATH = $(STREAMS_STUDIO_SPL_PATH )
12
12
OUTPUT_DIR = $(STREAMS_STUDIO_OUTPUT_DIRECTORY )
13
+ else ifdef STREAMS_BUILDSERVICE
14
+ $(info Building using buildservice)
15
+ ifeq ($(STREAMS_INSTALL),)
16
+ $(error error : environment variable STREAMS_INSTALL has to be set)
17
+ endif
18
+ SPLC = $(STREAMS_INSTALL ) /bin/sc
19
+ SPL_PATH = ../toolkits:$(STREAMS_INSTALL ) /toolkits
13
20
else
14
21
# Building outside of Streams Studio...
15
22
ifeq ($(STREAMS_INSTALL),)
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ ifeq ($(STREAMS_STUDIO_BUILDING), 1)
10
10
SPLC = $(STREAMS_STUDIO_SC_PATH )
11
11
SPL_PATH = $(STREAMS_STUDIO_SPL_PATH )
12
12
OUTPUT_DIR = $(STREAMS_STUDIO_OUTPUT_DIRECTORY )
13
+ else ifdef STREAMS_BUILDSERVICE
14
+ $(info Building using buildservice)
15
+ ifeq ($(STREAMS_INSTALL),)
16
+ $(error error : environment variable STREAMS_INSTALL has to be set)
17
+ endif
18
+ SPLC = $(STREAMS_INSTALL ) /bin/sc
19
+ SPL_PATH = ../toolkits:$(STREAMS_INSTALL ) /toolkits
13
20
else
14
21
# Building outside of Streams Studio...
15
22
ifeq ($(STREAMS_INSTALL),)
You can’t perform that action at this time.
0 commit comments