diff options
author | Andy Polyakov <appro@openssl.org> | 2003-01-03 17:37:53 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2003-01-03 17:37:53 +0000 |
commit | 3cc9a89dda7165f9363f06db3559c5dea043bb73 (patch) | |
tree | 0920468b8b2b0a951d32107856055d6007ff6875 /crypto/cast | |
parent | 46a0d4fbcb7577dd97e223e90d0a34044d4595d6 (diff) |
Unified targets for ELF assembler modules. Tested on Linux, Solaris and
FreeBSD. Goal is to extend support even to SCO5, UnixWare/OpenUnix...
Diffstat (limited to 'crypto/cast')
-rw-r--r-- | crypto/cast/Makefile.ssl | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/crypto/cast/Makefile.ssl b/crypto/cast/Makefile.ssl index c18d86845e..70c47bf8e6 100644 --- a/crypto/cast/Makefile.ssl +++ b/crypto/cast/Makefile.ssl @@ -52,14 +52,8 @@ lib: $(LIBOBJ) @touch lib # elf -asm/cx86-elf.o: asm/cx86unix.cpp - $(CPP) -DELF -x c asm/cx86unix.cpp | as -o asm/cx86-elf.o - -# solaris -asm/cx86-sol.o: asm/cx86unix.cpp - $(CC) -E -DSOL asm/cx86unix.cpp | sed 's/^#.*//' > asm/cx86-sol.s - as -o asm/cx86-sol.o asm/cx86-sol.s - rm -f asm/cx86-sol.s +asm/cx86-elf.s: asm/cast-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl + (cd asm; $(PERL) cast-586.pl elf $(CLAGS) $(PROCESSOR) > cx86-elf.s) # a.out asm/cx86-out.o: asm/cx86unix.cpp @@ -104,7 +98,7 @@ dclean: mv -f Makefile.new $(MAKEFILE) clean: - rm -f asm/cx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff + rm -f asm/cx86unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff # DO NOT DELETE THIS LINE -- make depend depends on it. |