Skip to contentSkip to conversation

cluster/gfs/gfs_grow Makefile main.c

Cluster-devel [email protected] 1 participant 1 message Jul 10, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2006-07-10 23:34:18

Modified files:
gfs/gfs_grow : Makefile main.c

Log message:
Changes necessary due to removal of iddev parts (replaced by libvolume_id). Also incorporated libgfs for common functions.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/gfs_grow/Makefile.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/gfs_grow/main.c.diff?cvsroot=cluster&r1=1.3&r2=1.4

gfs/gfs_grow/Makefile +3 -3
@@ -22,7 +22,7 @@
 CFLAGS+= -DHELPER_PROGRAM -D_FILE_OFFSET_BITS=64 \
 	-DGFS_RELEASE_NAME=\"${RELEASE}\"
 
-INCLUDE= -I${top_srcdir}/include -I${top_srcdir}/config -I${gfskincdir} -I${iddevincdir} -I${incdir}
+INCLUDE= -I${top_srcdir}/include -I${top_srcdir}/config -I${top_srcdir}/libgfs -I${gfskincdir} -I${incdir}
 
 ifneq (${KERNEL_SRC}, )
 # Use the kernel tree if patched, otherwise, look where cluster headers
@@ -34,8 +34,8 @@
 INCLUDE += -I${incdir}
 endif
 
-LDFLAGS+= -L${iddevlibdir} -L${libdir}
-LOADLIBS+= -liddev
+LDFLAGS+= -L${libdir} -L${top_srcdir}/libgfs
+LOADLIBS+= -lgfs
 
 all: ${TARGET}
 
gfs/gfs_grow/main.c +2 -3
@@ -26,10 +26,9 @@
 
 #include <linux/gfs_ondisk.h>
 #define __user
-#include <linux/gfs_ioctl.h>
+#include "gfs_ioctl.h"
 #include "osi_list.h"
-typedef uint64_t uint64;
-#include "iddev.h"
+#include "libgfs.h"
 
 #include "copyright.cf"