Enable building libcpp as shared library
[helenos.git] / uspace / lib / cpp / Makefile
blob06c640e123ac33efb952c973f813a95ffadeef9a
2 # Copyright (c) 2018 Jaroslav Jindrak
3 # All rights reserved.
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
7 # are met:
9 # - Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer.
11 # - Redistributions in binary form must reproduce the above copyright
12 # notice, this list of conditions and the following disclaimer in the
13 # documentation and/or other materials provided with the distribution.
14 # - The name of the author may not be used to endorse or promote products
15 # derived from this software without specific prior written permission.
17 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 USPACE_PREFIX = ../..
30 ROOT_PATH = $(USPACE_PREFIX)/..
32 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
34 LIBRARY = libcpp
35 SOVERSION = 0.0
37 -include $(CONFIG_MAKEFILE)
39 SOURCES = \
40 src/condition_variable.cpp \
41 src/exception.cpp \
42 src/future.cpp \
43 src/iomanip.cpp \
44 src/ios.cpp \
45 src/iostream.cpp \
46 src/locale.cpp \
47 src/mutex.cpp \
48 src/new.cpp \
49 src/shared_mutex.cpp \
50 src/stdexcept.cpp \
51 src/string.cpp \
52 src/system_error.cpp \
53 src/thread.cpp \
54 src/typeindex.cpp \
55 src/typeinfo.cpp \
56 src/__bits/runtime.cpp \
57 src/__bits/trycatch.cpp \
58 src/__bits/unwind.cpp \
59 src/__bits/test/algorithm.cpp \
60 src/__bits/test/adaptors.cpp \
61 src/__bits/test/array.cpp \
62 src/__bits/test/bitset.cpp \
63 src/__bits/test/deque.cpp \
64 src/__bits/test/functional.cpp \
65 src/__bits/test/list.cpp \
66 src/__bits/test/map.cpp \
67 src/__bits/test/memory.cpp \
68 src/__bits/test/mock.cpp \
69 src/__bits/test/numeric.cpp \
70 src/__bits/test/ratio.cpp \
71 src/__bits/test/set.cpp \
72 src/__bits/test/string.cpp \
73 src/__bits/test/test.cpp \
74 src/__bits/test/tuple.cpp \
75 src/__bits/test/unordered_map.cpp \
76 src/__bits/test/unordered_set.cpp \
77 src/__bits/test/vector.cpp
79 include $(USPACE_PREFIX)/Makefile.common