diff options
| author | markus <> | 2003-05-12 02:18:40 +0000 |
|---|---|---|
| committer | markus <> | 2003-05-12 02:18:40 +0000 |
| commit | d4fcd82bb7f6d603bd61e19a81ba97337b89dfca (patch) | |
| tree | d52e3a0f1f08f65ad283027e560e17ed0d720462 /src/lib/libcrypto/cast | |
| parent | 582bbd139cd2afd58d10dc051c5b0b989b441074 (diff) | |
| download | openbsd-d4fcd82bb7f6d603bd61e19a81ba97337b89dfca.tar.gz openbsd-d4fcd82bb7f6d603bd61e19a81ba97337b89dfca.tar.bz2 openbsd-d4fcd82bb7f6d603bd61e19a81ba97337b89dfca.zip | |
merge 0.9.7b with local changes; crank majors for libssl/libcrypto
Diffstat (limited to 'src/lib/libcrypto/cast')
| -rw-r--r-- | src/lib/libcrypto/cast/Makefile.ssl | 14 | ||||
| -rw-r--r-- | src/lib/libcrypto/cast/casttest.c | 4 |
2 files changed, 7 insertions, 11 deletions
diff --git a/src/lib/libcrypto/cast/Makefile.ssl b/src/lib/libcrypto/cast/Makefile.ssl index 2defbdd68a..2dc1c855ad 100644 --- a/src/lib/libcrypto/cast/Makefile.ssl +++ b/src/lib/libcrypto/cast/Makefile.ssl | |||
| @@ -52,14 +52,8 @@ lib: $(LIBOBJ) | |||
| 52 | @touch lib | 52 | @touch lib |
| 53 | 53 | ||
| 54 | # elf | 54 | # elf |
| 55 | asm/cx86-elf.o: asm/cx86unix.cpp | 55 | asm/cx86-elf.s: asm/cast-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
| 56 | $(CPP) -DELF -x c asm/cx86unix.cpp | as -o asm/cx86-elf.o | 56 | (cd asm; $(PERL) cast-586.pl elf $(CLAGS) $(PROCESSOR) > cx86-elf.s) |
| 57 | |||
| 58 | # solaris | ||
| 59 | asm/cx86-sol.o: asm/cx86unix.cpp | ||
| 60 | $(CC) -E -DSOL asm/cx86unix.cpp | sed 's/^#.*//' > asm/cx86-sol.s | ||
| 61 | as -o asm/cx86-sol.o asm/cx86-sol.s | ||
| 62 | rm -f asm/cx86-sol.s | ||
| 63 | 57 | ||
| 64 | # a.out | 58 | # a.out |
| 65 | asm/cx86-out.o: asm/cx86unix.cpp | 59 | asm/cx86-out.o: asm/cx86unix.cpp |
| @@ -97,14 +91,14 @@ lint: | |||
| 97 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 91 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
| 98 | 92 | ||
| 99 | depend: | 93 | depend: |
| 100 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 94 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
| 101 | 95 | ||
| 102 | dclean: | 96 | dclean: |
| 103 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 97 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
| 104 | mv -f Makefile.new $(MAKEFILE) | 98 | mv -f Makefile.new $(MAKEFILE) |
| 105 | 99 | ||
| 106 | clean: | 100 | clean: |
| 107 | rm -f asm/cx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 101 | rm -f asm/cx86unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
| 108 | 102 | ||
| 109 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 103 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
| 110 | 104 | ||
diff --git a/src/lib/libcrypto/cast/casttest.c b/src/lib/libcrypto/cast/casttest.c index 099e790886..83e5a16c73 100644 --- a/src/lib/libcrypto/cast/casttest.c +++ b/src/lib/libcrypto/cast/casttest.c | |||
| @@ -60,6 +60,8 @@ | |||
| 60 | #include <string.h> | 60 | #include <string.h> |
| 61 | #include <stdlib.h> | 61 | #include <stdlib.h> |
| 62 | 62 | ||
| 63 | #include "../e_os.h" | ||
| 64 | |||
| 63 | #ifdef OPENSSL_NO_CAST | 65 | #ifdef OPENSSL_NO_CAST |
| 64 | int main(int argc, char *argv[]) | 66 | int main(int argc, char *argv[]) |
| 65 | { | 67 | { |
| @@ -224,7 +226,7 @@ int main(int argc, char *argv[]) | |||
| 224 | } | 226 | } |
| 225 | #endif | 227 | #endif |
| 226 | 228 | ||
| 227 | exit(err); | 229 | EXIT(err); |
| 228 | return(err); | 230 | return(err); |
| 229 | } | 231 | } |
| 230 | #endif | 232 | #endif |
