Build on MacOS.

This commit is contained in:
Ben Laurie 2013-10-20 21:54:46 +01:00
parent b45e874d7c
commit 6311681236
4 changed files with 9 additions and 5 deletions

View file

@ -5,4 +5,6 @@ BRANCH=`git rev-parse --abbrev-ref HEAD`
./Configure $@ no-symlinks
make files
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

View file

@ -2,4 +2,6 @@
BRANCH=`git rev-parse --abbrev-ref HEAD`
make -f makefile.$BRANCH $@
MAKE=make
which bsdmake > /dev/null && MAKE=bsdmake
$MAKE -f makefile.$BRANCH $@

View file

@ -1,4 +1,4 @@
#!/usr/local/bin/perl
#!/usr/bin/env perl
# A bit of an evil hack but it post processes the file ../MINFO which
# is generated by `make files` in the top directory.
# This script outputs one mega makefile that has no shell stuff or any
@ -669,7 +669,7 @@ RANLIB=$ranlib
MKDIR=$mkdir
MKLIB=$bin_dir$mklib
MLFLAGS=$mlflags
ASM=$bin_dir$asm
#ASM=$bin_dir$asm
# FIPS validated module and support file locations

View file

@ -138,7 +138,7 @@ sub special_compile_target
{
return << "EOF";
\$(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
}
return undef;