This patch fixes the xget and libxcpu makefile so they now correctly
include the spfs headers.

-  
Hugh Greenberg
Los Alamos National Laboratory, CCS-1
Email: [EMAIL PROTECTED]
Phone: (505) 665-6471

Index: libxcpu/Makefile
===================================================================
--- libxcpu/Makefile	(revision 749)
+++ libxcpu/Makefile	(working copy)
@@ -1,8 +1,8 @@
 SYSNAME:=${shell uname}
 SYSNAME!=uname
 LIBELFINC=/opt/local/include
-HFILES=../include/libxcpu.h xcpuimpl.h ../include/xcpu.h
-CFLAGS=-Wall -g -I ../include -I$(LIBELFINC)
+HFILES=../include/libxcpu.h xcpuimpl.h ../include/xcpu.h ../spfs/include/spclient.h ../spfs/include/spfs.h
+CFLAGS=-Wall -g -I ../include -I$(LIBELFINC) -I../spfs/include
 
 ifeq ($(LIBELF),1)
 	CFLAGS+=-DXP_LDD
Index: xget/Makefile
===================================================================
--- xget/Makefile	(revision 749)
+++ xget/Makefile	(working copy)
@@ -2,7 +2,7 @@
 SYSNAME!=uname
 INCDIR=../include
 SPFSDIR=../spfs
-CFLAGS=-Wall -g -I $(INCDIR) -I$(SPFSDIR) -DSYSNAME=$(SYSNAME)
+CFLAGS=-Wall -g -I $(INCDIR) -I$(SPFSDIR)/include -DSYSNAME=$(SYSNAME)
 LFLAGS=-L. -L../libstrutil -lstrutil -L$(SPFSDIR)/libspclient -lspclient -L$(SPFSDIR)/libspfs -lspfs -lm
 HFILES=$(SPFSDIR)/include/spfs.h $(SPFSDIR)/include/spclient.h $(INCDIR)/xcpu.h $(INCDIR)/strutil.h xget.h
 

Reply via email to