]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
fix-lwp-includes-again-20040803
authorJim Rees <rees@umich.edu>
Tue, 3 Aug 2004 15:45:49 +0000 (15:45 +0000)
committerJim Rees <rees@umich.edu>
Tue, 3 Aug 2004 15:45:49 +0000 (15:45 +0000)
Fix lwp includes AGAIN.

src/lwp/Makefile.in
src/lwp/lwp_elf.h
src/lwp/process.i386.s

index 07c3a8aa9fe450665e1acfb24042dad31542ddac..bbc8a859adffe62db3ca18b04f6ec93a2863cdb0 100644 (file)
@@ -32,6 +32,7 @@ process.s:
        # This is required so sgi_64+ does not try to build this file.
 
 process.o      : process.s process.i386.s process.c
+       # Making process.o for $(SYS_NAME)
        @case "$(SYS_NAME)" in \
        pmax_he1) \
                $(CCOBJ) ${LWP_DBG} ${LWP_OPTMZ} -c -I${TOP_INCDIR} process.s;; \
@@ -50,7 +51,6 @@ process.o     : process.s process.i386.s process.c
        *_darwin* ) \
                $(CC) ${LWP_DBG} ${LWP_OPTMZ} -c ${XCFLAGS} -I${TOP_INCDIR} ${srcdir}/process.s;; \
        i386_*bsd*) \
-               echo foo ; \
                cp ${srcdir}/process.i386.s process.S ; \
                ${CCOBJ} -E -I${srcdir} -I${TOP_INCDIR} process.S >process.ss ; \
                ${AS} process.ss -o process.o ;  \
index 2770823807dd2bb1e1466f43bbce18cbc261f704..f304ecb90349e7327e5652307081761a3974f80b 100644 (file)
  */
 
 /*
- * For common usage of elf platforms
+ * This file is mis-named. It is used by both a.out and elf platforms.
+ * It either adds the leading underscore or not as needed.
  *
  * $Id$
  */
-#include <afs/param.h>
 
 #ifndef _C_LABEL
 #if !defined(SYSV) && !defined(__ELF__) && !defined(AFS_SUN5_ENV)
index 951ca0d56001838792779a066b1cf7b593ba6ac8..c3969c507c4839ad9c03497abe8c10fb3795c9a6 100644 (file)
@@ -16,6 +16,8 @@
  * "ojala que es correcto!"
  */
 
+#define IGNORE_STDS_H  1
+#include <afs/param.h>
 #include <lwp_elf.h>
 
        .file "process.s"