@@ -11,10 +11,10 @@ include $(JULIAHOME)/Make.inc
11
11
# if you are adding a new target, it can help to copy an similar, existing target
12
12
#
13
13
# autoconf configure-driven scripts: llvm pcre arpack fftw unwind gmp mpfr patchelf uv
14
- # custom Makefile rules: openlibm Rmath-julia dsfmt suitesparse-wrapper suitesparse lapack openblas mojibake objconv
14
+ # custom Makefile rules: openlibm Rmath-julia dsfmt suitesparse-wrapper suitesparse lapack openblas utf8proc objconv
15
15
# CMake libs: libgit2
16
16
#
17
- # downloaded from git: llvm-svn, uv, libopenlibm, mojibake , openspecfun
17
+ # downloaded from git: llvm-svn, uv, libopenlibm, utf8proc , openspecfun
18
18
#
19
19
# there are rules in this file with the . replaced by a %
20
20
# this is some magic Makefile trick that tells make
@@ -150,8 +150,8 @@ ifeq ($(USE_SYSTEM_SUITESPARSE), 0)
150
150
STAGE2_DEPS += suitesparse
151
151
endif
152
152
153
- ifeq ($(USE_SYSTEM_MOJIBAKE ) , 0)
154
- STAGE2_DEPS += mojibake
153
+ ifeq ($(USE_SYSTEM_UTF8PROC ) , 0)
154
+ STAGE2_DEPS += utf8proc
155
155
endif
156
156
157
157
# Only compile standalone LAPACK if we are not using OpenBLAS.
@@ -183,7 +183,7 @@ install: $(addprefix install-, $(DEP_LIBS))
183
183
cleanall : $(addprefix clean-, $(DEP_LIBS ) )
184
184
distcleanall : $(addprefix distclean-, $(DEP_LIBS ) )
185
185
rm -rf $(build_prefix )
186
- getall : get-llvm get-uv get-pcre get-openlibm get-openspecfun get-dsfmt get-Rmath-julia get-openblas get-lapack get-fftw get-suitesparse get-arpack get-unwind get-osxunwind get-gmp get-mpfr get-patchelf get-mojibake get-virtualenv get-objconv get-libgit2
186
+ getall : get-llvm get-uv get-pcre get-openlibm get-openspecfun get-dsfmt get-Rmath-julia get-openblas get-lapack get-fftw get-suitesparse get-arpack get-unwind get-osxunwind get-gmp get-mpfr get-patchelf get-utf8proc get-virtualenv get-objconv get-libgit2
187
187
188
188
# # PATHS ##
189
189
# sort is used to remove potential duplicates
@@ -1344,47 +1344,47 @@ compile-fftw-double: $(FFTW_DOUBLE_OBJ_TARGET)
1344
1344
check-fftw-double : fftw-$(FFTW_VER ) -double/checked
1345
1345
install-fftw-double : $(FFTW_DOUBLE_OBJ_TARGET )
1346
1346
1347
- # # MOJIBAKE ##
1347
+ # # UTF8PROC ##
1348
1348
1349
- MOJIBAKE_SRC_TARGET = libmojibake/libmojibake .a
1350
- MOJIBAKE_OBJ_LIB = $(build_libdir ) /libmojibake .a
1351
- MOJIBAKE_OBJ_HEADER = $(build_includedir ) /mojibake .h
1352
- MOJIBAKE_OBJ_TARGET = $(MOJIBAKE_OBJ_LIB ) $(MOJIBAKE_OBJ_HEADER )
1349
+ UTF8PROC_SRC_TARGET = utf8proc/libutf8proc .a
1350
+ UTF8PROC_OBJ_LIB = $(build_libdir ) /libutf8proc .a
1351
+ UTF8PROC_OBJ_HEADER = $(build_includedir ) /utf8proc .h
1352
+ UTF8PROC_OBJ_TARGET = $(UTF8PROC_OBJ_LIB ) $(UTF8PROC_OBJ_HEADER )
1353
1353
1354
1354
1355
- libmojibake /Makefile :
1355
+ utf8proc /Makefile :
1356
1356
(cd .. && git submodule init && git submodule update)
1357
- ifeq (exists, $(shell [ -d libmojibake /.git ] && echo exists ) )
1358
- $(MOJIBAKE_SRC_TARGET ) : libmojibake /.git/HEAD
1357
+ ifeq (exists, $(shell [ -d utf8proc /.git ] && echo exists ) )
1358
+ $(UTF8PROC_SRC_TARGET ) : utf8proc /.git/HEAD
1359
1359
endif
1360
- ifeq (exists, $(shell [ -d $(JULIAHOME ) /.git/modules/deps/libmojibake ] && echo exists ) )
1361
- $(MOJIBAKE_SRC_TARGET ) : $(JULIAHOME ) /.git/modules/deps/libmojibake /HEAD
1360
+ ifeq (exists, $(shell [ -d $(JULIAHOME ) /.git/modules/deps/utf8proc ] && echo exists ) )
1361
+ $(UTF8PROC_SRC_TARGET ) : $(JULIAHOME ) /.git/modules/deps/utf8proc /HEAD
1362
1362
endif
1363
- $(MOJIBAKE_SRC_TARGET ) : libmojibake /Makefile
1364
- $(MAKE ) -C libmojibake cc=" $( CC) -O2 -std=c99 $( fPIC) -DMOJIBAKE_EXPORTS " AR=" $( AR) " libmojibake .a
1363
+ $(UTF8PROC_SRC_TARGET ) : utf8proc /Makefile
1364
+ $(MAKE ) -C utf8proc cc=" $( CC) -O2 -std=c99 $( fPIC) -DUTF8PROC_EXPORTS " AR=" $( AR) " libutf8proc .a
1365
1365
touch -c $@
1366
- libmojibake /checked : $(MOJIBAKE_SRC_TARGET )
1366
+ utf8proc /checked : $(UTF8PROC_SRC_TARGET )
1367
1367
ifeq ($(OS ) ,$(BUILD_OS ) )
1368
- -$(MAKE) -C libmojibake check
1368
+ -$(MAKE) -C utf8proc check
1369
1369
endif
1370
1370
echo 1 > $@
1371
1371
1372
- $(MOJIBAKE_OBJ_LIB ) : $(MOJIBAKE_SRC_TARGET )
1372
+ $(UTF8PROC_OBJ_LIB ) : $(UTF8PROC_SRC_TARGET )
1373
1373
cp -f $< $@
1374
1374
1375
- $(MOJIBAKE_OBJ_HEADER ) : libmojibake /Makefile
1376
- cp -f libmojibake/mojibake .h $@
1375
+ $(UTF8PROC_OBJ_HEADER ) : utf8proc /Makefile
1376
+ cp -f utf8proc/utf8proc .h $@
1377
1377
1378
- clean-mojibake :
1379
- -$(MAKE ) -C libmojibake clean
1380
- -rm -rf $(build_libdir ) /libmojibake .a $(build_includedir ) /mojibake .h
1381
- distclean-mojibake : clean-mojibake
1378
+ clean-utf8proc :
1379
+ -$(MAKE ) -C utf8proc clean
1380
+ -rm -rf $(build_libdir ) /libutf8proc .a $(build_includedir ) /utf8proc .h
1381
+ distclean-utf8proc : clean-utf8proc
1382
1382
1383
- get-mojibake : libmojibake /Makefile
1384
- configure-mojibake : get-mojibake
1385
- compile-mojibake : $(MOJIBAKE_SRC_TARGET )
1386
- check-mojibake : libmojibake /checked
1387
- install-mojibake : $(MOJIBAKE_OBJ_TARGET )
1383
+ get-utf8proc : utf8proc /Makefile
1384
+ configure-utf8proc : get-utf8proc
1385
+ compile-utf8proc : $(UTF8PROC_SRC_TARGET )
1386
+ check-utf8proc : utf8proc /checked
1387
+ install-utf8proc : $(UTF8PROC_OBJ_TARGET )
1388
1388
1389
1389
# # SUITESPARSE ##
1390
1390
0 commit comments