Rombobjörn

summaryrefslogtreecommitdiff
path: root/testsuite/sources/dual_library/Makefile
diff options
context:
space:
mode:
authorBjörn Persson <bjorn@rombobjörn.se>2016-01-18 11:59:31 +0100
committerBjörn Persson <bjorn@rombobjörn.se>2016-01-18 11:59:31 +0100
commitdae4f47f2b80c7ea7b1df0f713efe79a8a50c69f (patch)
tree9e92367d9bbca2a61b4b9f2f0240fab0fe2cbd70 /testsuite/sources/dual_library/Makefile
parentc108be85bf27d40d9b1c45d4de14185dc902b763 (diff)
Added Library_Type to help with building libraries as shared or static.
Diffstat (limited to 'testsuite/sources/dual_library/Makefile')
-rw-r--r--testsuite/sources/dual_library/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/sources/dual_library/Makefile b/testsuite/sources/dual_library/Makefile
new file mode 100644
index 0000000..aa57d84
--- /dev/null
+++ b/testsuite/sources/dual_library/Makefile
@@ -0,0 +1,20 @@
+# part of Comfignat's testsuite
+# Copyright 2016 B. Persson, Bjorn@Rombobeorn.se
+#
+# This material is provided as is, with absolutely no warranty expressed
+# or implied. Any use is at your own risk.
+#
+# Permission is hereby granted to use or copy this testsuite
+# for any purpose, provided the above notices are retained on all copies.
+# Permission to modify the code and to distribute modified code is granted,
+# provided the above notices are retained, and a notice that the code was
+# modified is included with the above copyright notice.
+
+
+include comfignat.mk
+
+usage_GPRs = testcase.gpr
+
+base: build_testcase.gpr
+ ${build_GPR} -margs -XLIBRARY_TYPE=dynamic
+ ${build_GPR} -margs -XLIBRARY_TYPE=static