23
23
mkdir -p ${TARGET_SRC_DIR}
24
24
fi
25
25
26
- cp code/CMakeLists.txt ${TARGET_BASE_DIR} /swoc
27
- (cd ${ATS} /${BASE_PATH} /swoc ; sed -i -e ' /^if (LIBSWOC_INSTALL)/,/^endif/d' CMakeLists.txt ; git add CMakeLists.txt)
28
-
29
26
cp code/src/* .cc ${TARGET_SRC_DIR}
30
27
(cd ${ATS} ; git add ${BASE_PATH} /swoc/CMakeLists.txt ; git add ${SRC_PATH} /* .cc)
31
28
@@ -48,82 +45,3 @@ cp code/include/swoc/*.h ${TARGET_INC_DIR}
48
45
cp code/include/swoc/ext/* .h ${TARGET_INC_DIR} /ext
49
46
cp code/include/swoc/ext/HashFNV.h ${TARGET_INC_DIR}
50
47
(cd ${ATS} ; git add ${INC_PATH} /* .h ; git add ${INC_PATH} /ext/* .h)
51
-
52
- # Build the source
53
- cat << 'TEXT ' > ${ATS}/${BASE_PATH}/swoc/Makefile.am
54
- # swoc Makefile.am
55
- #
56
- # Licensed to the Apache Software Foundation (ASF) under one
57
- # or more contributor license agreements. See the NOTICE file
58
- # distributed with this work for additional information
59
- # regarding copyright ownership. The ASF licenses this file
60
- # to you under the Apache License, Version 2.0 (the
61
- # "License"); you may not use this file except in compliance
62
- # with the License. You may obtain a copy of the License at
63
- #
64
- # http://www.apache.org/licenses/LICENSE-2.0
65
- #
66
- # Unless required by applicable law or agreed to in writing, software
67
- # distributed under the License is distributed on an "AS IS" BASIS,
68
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
69
- # See the License for the specific language governing permissions and
70
- # limitations under the License.
71
-
72
- lib_LTLIBRARIES = libtsswoc.la
73
-
74
- library_includedir=$(includedir)/swoc
75
-
76
- AM_CPPFLAGS += @SWOC_INCLUDES@
77
-
78
- libtsswoc_la_LDFLAGS = @AM_LDFLAGS@ -no-undefined -release 1.5.8
79
- libtsswoc_la_SOURCES = \
80
- src/ArenaWriter.cc src/bw_format.cc src/bw_ip_format.cc src/Errata.cc src/MemArena.cc src/RBTree.cc src/swoc_file.cc src/swoc_ip.cc src/TextView.cc src/string_view_util.cc
81
-
82
- if EXPORT_SWOC_HEADERS
83
- library_include_HEADERS = \
84
- include/swoc/ArenaWriter.h \
85
- include/swoc/BufferWriter.h \
86
- include/swoc/bwf_base.h \
87
- include/swoc/bwf_ex.h \
88
- include/swoc/bwf_fwd.h \
89
- include/swoc/bwf_ip.h \
90
- include/swoc/bwf_std.h \
91
- include/swoc/DiscreteRange.h \
92
- include/swoc/Errata.h \
93
- include/swoc/IntrusiveDList.h \
94
- include/swoc/IntrusiveHashMap.h \
95
- include/swoc/IPAddr.h \
96
- include/swoc/IPEndpoint.h \
97
- include/swoc/IPRange.h \
98
- include/swoc/IPSrv.h \
99
- include/swoc/Lexicon.h \
100
- include/swoc/MemArena.h \
101
- include/swoc/MemSpan.h \
102
- include/swoc/RBTree.h \
103
- include/swoc/Scalar.h \
104
- include/swoc/swoc_file.h \
105
- include/swoc/swoc_ip.h \
106
- include/swoc/swoc_meta.h \
107
- include/swoc/swoc_version.h\
108
- include/swoc/string_view_util.h \
109
- include/swoc/TextView.h \
110
- include/swoc/Vectray.h \
111
- include/swoc/HashFNV.h
112
- endif
113
-
114
- clean-local:
115
-
116
- clang-tidy-local: $(DIST_SOURCES)
117
- $(CXX_Clang_Tidy)
118
- TEXT
119
- (cd ${ATS} ; git add ${BASE_PATH} /swoc/Makefile.am)
120
-
121
- if ! grep -q swoc ${ATS} /configure.ac ; then
122
- sed -i -e ' s!lib/yamlcpp/Makefile!lib/swoc/Makefile\n &!' ${ATS} /configure.ac
123
- (cd ${ATS} ; git add configure.ac)
124
- fi
125
-
126
- if ! grep -q swoc ${ATS} /${BASE_PATH} /Makefile.am ; then
127
- sed -i -e ' /SUBDIRS =/s!$! swoc!' ${ATS} /${BASE_PATH} /Makefile.am
128
- (cd ${ATS} ; git add ${BASE_PATH} /Makefile.am)
129
- fi
0 commit comments