提交 63116812 编写于 作者: B Ben Laurie

Build on MacOS.

上级 b45e874d
...@@ -5,4 +5,6 @@ BRANCH=`git rev-parse --abbrev-ref HEAD` ...@@ -5,4 +5,6 @@ BRANCH=`git rev-parse --abbrev-ref HEAD`
./Configure $@ no-symlinks ./Configure $@ no-symlinks
make files make files
util/mk1mf.pl OUT=out.$BRANCH TMP=tmp.$BRANCH INC=inc.$BRANCH copy > makefile.$BRANCH util/mk1mf.pl OUT=out.$BRANCH TMP=tmp.$BRANCH INC=inc.$BRANCH copy > makefile.$BRANCH
make -f makefile.$BRANCH init MAKE=make
which bsdmake > /dev/null && MAKE=bsdmake
$MAKE -f makefile.$BRANCH init
...@@ -2,4 +2,6 @@ ...@@ -2,4 +2,6 @@
BRANCH=`git rev-parse --abbrev-ref HEAD` BRANCH=`git rev-parse --abbrev-ref HEAD`
make -f makefile.$BRANCH $@ MAKE=make
which bsdmake > /dev/null && MAKE=bsdmake
$MAKE -f makefile.$BRANCH $@
#!/usr/local/bin/perl #!/usr/bin/env perl
# A bit of an evil hack but it post processes the file ../MINFO which # A bit of an evil hack but it post processes the file ../MINFO which
# is generated by `make files` in the top directory. # is generated by `make files` in the top directory.
# This script outputs one mega makefile that has no shell stuff or any # This script outputs one mega makefile that has no shell stuff or any
...@@ -669,7 +669,7 @@ RANLIB=$ranlib ...@@ -669,7 +669,7 @@ RANLIB=$ranlib
MKDIR=$mkdir MKDIR=$mkdir
MKLIB=$bin_dir$mklib MKLIB=$bin_dir$mklib
MLFLAGS=$mlflags MLFLAGS=$mlflags
ASM=$bin_dir$asm #ASM=$bin_dir$asm
# FIPS validated module and support file locations # FIPS validated module and support file locations
......
...@@ -138,7 +138,7 @@ sub special_compile_target ...@@ -138,7 +138,7 @@ sub special_compile_target
{ {
return << "EOF"; return << "EOF";
\$(TMP_D)/x86_64-gcc.o: crypto/bn/asm/x86_64-gcc.c \$(TMP_D)/x86_64-gcc.o: crypto/bn/asm/x86_64-gcc.c
\$(CC) \$(CFLAGS) -c -o \$@ crypto/bn/asm/x86_64-gcc.c \$(CC) \$(LIB_CFLAGS) -c -o \$@ crypto/bn/asm/x86_64-gcc.c
EOF EOF
} }
return undef; return undef;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册