summaryrefslogtreecommitdiffstats
path: root/cpp/sca/samples/RestCalculator
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpp/sca/samples/RestCalculator/Makefile.am23
-rw-r--r--cpp/sca/samples/RestCalculator/httpserver/Makefile.am6
-rw-r--r--cpp/sca/samples/RestCalculator/sample.calculator.restclient/Makefile.am23
-rw-r--r--cpp/sca/samples/RestCalculator/sample.calculator/Makefile.am22
4 files changed, 74 insertions, 0 deletions
diff --git a/cpp/sca/samples/RestCalculator/Makefile.am b/cpp/sca/samples/RestCalculator/Makefile.am
new file mode 100644
index 0000000000..e3b215ad90
--- /dev/null
+++ b/cpp/sca/samples/RestCalculator/Makefile.am
@@ -0,0 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+deploydir=$(prefix)/RestCalculator/deploy
+SUBDIRS = sample.calculator sample.calculator.restclient httpserver
+
+EXTRA_DIST = *.composite README.html
+deploy_DATA = *.composite
+
diff --git a/cpp/sca/samples/RestCalculator/httpserver/Makefile.am b/cpp/sca/samples/RestCalculator/httpserver/Makefile.am
new file mode 100644
index 0000000000..f9412183dc
--- /dev/null
+++ b/cpp/sca/samples/RestCalculator/httpserver/Makefile.am
@@ -0,0 +1,6 @@
+deploydir=$(prefix)/RestCalculator/deploy
+serverdir=$(deploydir)/httpserver
+
+server_SCRIPTS = startserver.sh stopserver.sh
+EXTRA_DIST = startserver.sh stopserver.sh conf htdocs
+nobase_server_DATA = conf/httpd.conf conf/mime.types htdocs/index.html
diff --git a/cpp/sca/samples/RestCalculator/sample.calculator.restclient/Makefile.am b/cpp/sca/samples/RestCalculator/sample.calculator.restclient/Makefile.am
new file mode 100644
index 0000000000..5eee4677b8
--- /dev/null
+++ b/cpp/sca/samples/RestCalculator/sample.calculator.restclient/Makefile.am
@@ -0,0 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+deploydir=$(prefix)/RestCalculator/deploy
+restclientdir=$(deploydir)/sample.calculator.restclient
+
+restclient_DATA = *.rb *.composite
+restclient_SCRIPTS = runrestclient.sh
+EXTRA_DIST = runrestclient.sh *.rb *.composite
diff --git a/cpp/sca/samples/RestCalculator/sample.calculator/Makefile.am b/cpp/sca/samples/RestCalculator/sample.calculator/Makefile.am
new file mode 100644
index 0000000000..b715fe2424
--- /dev/null
+++ b/cpp/sca/samples/RestCalculator/sample.calculator/Makefile.am
@@ -0,0 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+deploydir=$(prefix)/RestCalculator/deploy
+compositedir=$(deploydir)/sample.calculator
+
+composite_DATA = *.composite *.rb
+EXTRA_DIST = *.composite *.rb