Enhanced support for IA-64 Linux and HP-UX (as well as better support for
[openssl.git] / crypto / bn / Makefile.ssl
index 19db2b5275b9456bf72c808bf901f184afe017cf..30dd88863cf369e36eb6006f68f201736dbae093 100644 (file)
@@ -124,6 +124,18 @@ asm/sparcv8plus-gcc27.o: asm/sparcv8plus.S
        $(CC) $(ASFLAGS) -E asm/sparcv8plus.S | \
                /usr/ccs/bin/as -xarch=v8plus - -o asm/sparcv8plus-gcc27.o
 
+
+asm/ia64.o:    asm/ia64.S
+
+# Some compiler drivers (most notably HP-UX and Intel C++) don't
+# understand .S extension:-( I wish I could pipe output from cc -E,
+# but it's too compiler driver/ABI dependent to cover with a single
+# rule...      <appro@fy.chalmers.se>
+asm/ia64-cpp.o:        asm/ia64.S
+       $(CC) $(ASFLAGS) -E asm/ia64.S > /tmp/ia64.$$$$.s &&    \
+       $(CC) $(ASFLAGS) -c -o asm/ia64-cpp.o /tmp/ia64.$$$$.s; \
+       rm -f /tmp/ia64.$$$$.s
+
 files:
        $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO