1# $FreeBSD$ 2 3LIBCXXRTDIR= ${.CURDIR}/../../contrib/libcxxrt 4HDRDIR= ${.CURDIR}/../../contrib/libc++/include 5SRCDIR= ${.CURDIR}/../../contrib/libc++/src 6CXXINCLUDEDIR= ${INCLUDEDIR}/c++/v${SHLIB_MAJOR} 7 8.PATH: ${SRCDIR} 9 10LIB= c++ 11SHLIB_MAJOR= 1 12 13SRCS+= algorithm.cpp\ 14 bind.cpp\ 15 chrono.cpp\ 16 condition_variable.cpp\ 17 debug.cpp\ 18 exception.cpp\ 19 future.cpp\ 20 hash.cpp\ 21 ios.cpp\ 22 iostream.cpp\ 23 locale.cpp\ 24 memory.cpp\ 25 mutex.cpp\ 26 new.cpp\ 27 random.cpp\ 28 regex.cpp\ 29 stdexcept.cpp\ 30 string.cpp\ 31 strstream.cpp\ 32 system_error.cpp\ 33 thread.cpp\ 34 typeinfo.cpp\ 35 utility.cpp\ 36 valarray.cpp 37 38WARNS= 0 39CXXFLAGS+= -I${HDRDIR} -I${LIBCXXRTDIR} -std=c++0x -nostdlib -DLIBCXXRT 40 41DPADD= ${LIBCXXRT} 42LDADD= -L${.OBJDIR}/../libcxxrt/ -lcxxrt 43LDFLAGS+= --verbose 44INCSGROUPS= STD EXT 45 46STD_HEADERS= __bit_reference\ 47 __config\ 48 __debug\ 49 __functional_03\ 50 __functional_base\ 51 __functional_base_03\ 52 __hash_table\ 53 __locale\ 54 __mutex_base\ 55 __split_buffer\ 56 __sso_allocator\ 57 __std_stream\ 58 __tree\ 59 __tuple\ 60 __tuple_03\ 61 algorithm\ 62 array\ 63 atomic\ 64 bitset\ 65 cassert\ 66 ccomplex\ 67 cctype\ 68 cerrno\ 69 cfenv\ 70 cfloat\ 71 chrono\ 72 cinttypes\ 73 ciso646\ 74 climits\ 75 clocale\ 76 cmath\ 77 codecvt\ 78 complex\ 79 complex.h\ 80 condition_variable\ 81 csetjmp\ 82 csignal\ 83 cstdarg\ 84 cstdbool\ 85 cstddef\ 86 cstdint\ 87 cstdio\ 88 cstdlib\ 89 cstring\ 90 ctgmath\ 91 ctime\ 92 cwchar\ 93 cwctype\ 94 deque\ 95 exception\ 96 forward_list\ 97 fstream\ 98 functional\ 99 future\ 100 initializer_list\ 101 iomanip\ 102 ios\ 103 iosfwd\ 104 iostream\ 105 istream\ 106 iterator\ 107 limits\ 108 list\ 109 locale\ 110 map\ 111 memory\ 112 mutex\ 113 new\ 114 numeric\ 115 ostream\ 116 queue\ 117 random\ 118 ratio\ 119 regex\ 120 scoped_allocator\ 121 set\ 122 sstream\ 123 stack\ 124 stdexcept\ 125 streambuf\ 126 string\ 127 strstream\ 128 system_error\ 129 tgmath.h\ 130 thread\ 131 tuple\ 132 type_traits\ 133 typeindex\ 134 typeinfo\ 135 unordered_map\ 136 unordered_set\ 137 utility\ 138 valarray\ 139 vector 140 141.for hdr in ${STD_HEADERS} 142STD+= ${HDRDIR}/${hdr} 143.endfor 144STDDIR= ${CXXINCLUDEDIR} 145 146EXT_HEADERS= __hash\ 147 hash_map\ 148 hash_set 149 150.for hdr in ${EXT_HEADERS} 151EXT+= ${HDRDIR}/ext/${hdr} 152.endfor 153EXTDIR= ${CXXINCLUDEDIR}/ext 154 155.include <bsd.lib.mk> 156