A hack for svr4/Makefile.in

John Hughes john at Calva.COM
Fri Mar 2 10:04:16 UTC 2001


To allow making the ioctlent.h file on UW7.

The problem is that some #defines spotted by ioctlent.sh are inside
#ifdefs.

I don't know how this rubbish could be automated.

Index: Makefile.in
===================================================================
RCS file: /cvsroot/strace/strace/svr4/Makefile.in,v
retrieving revision 1.2
diff -u -r1.2 Makefile.in
--- Makefile.in 1999/10/31 21:15:39     1.2
+++ Makefile.in 2001/03/02 09:59:16
@@ -27,7 +27,7 @@
        $(SHELL) $(srcdir)/ioctlent.sh $(includedir) >$@
 
 ioctlent.raw: ioctlent.c
-       $(CPP) ioctlent.c | sed 1,/xyzzy/d >$@
+       $(CPP) -DMERGE386 -DSTRPERF ioctlent.c | sed 1,/xyzzy/d >$@
 
 ioctlent.h: ioctlent.raw ioctlsort
        ./ioctlsort >$@

-- 
John Hughes <john at Calva.COM>, 
        CalvaEDI SA.                            Tel: +33-1-4313-3131
        66 rue du Moulin de la Pointe,          Fax: +33-1-4313-3139
        75013 PARIS.




More information about the Strace-devel mailing list