Skip to contentSkip to conversation

cluster dlm/lib/Makefile gfs2/edit/Makefile gf ...

Cluster-devel [email protected] 1 participant 1 message Aug 21, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: fabbione at sourceware.org 2007-08-21 04:46:44

Modified files:

	dlm/lib        : Makefile 
	gfs2/edit      : Makefile 
	gfs2/mount     : Makefile 
	gfs2/quota     : Makefile 
	gfs2/tool      : Makefile 

group/dlm_controld: Makefile
group/gfs_controld: Makefile

Log message:
Allow the full cluster suite to build using external kernel source.

Also remove the use of -idirafter that with some old versions of gcc does not behave as we expect.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/lib/Makefile.diff?cvsroot=cluster&r1=1.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/Makefile.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/mount/Makefile.diff?cvsroot=cluster&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/quota/Makefile.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/tool/Makefile.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/dlm_controld/Makefile.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/Makefile.diff?cvsroot=cluster&r1=1.12&r2=1.13

dlm/lib/Makefile +1 -0
@@ -22,6 +22,7 @@
 CFLAGS += -g -O2 
 CFLAGS += -I.
 CFLAGS += -I${incdir}
+CFLAGS += -I$(KERNEL_SRC)/include
 
 LDFLAGS += -lpthread 
 
gfs2/edit/Makefile +1 -0
@@ -22,6 +22,7 @@
 CFLAGS += -DHELPER_PROGRAM -D_FILE_OFFSET_BITS=64 -DGFS2_RELEASE_NAME=\"${RELEASE}\"
 CFLAGS += -ggdb 
 CFLAGS += -I${ncursesincdir}
+CFLAGS += -I${KERNEL_SRC}/fs/gfs2/ -I${KERNEL_SRC}/include/
 CFLAGS += -I../include -I../libgfs2
 CFLAGS += -I${incdir}
 
gfs2/mount/Makefile +1 -0
@@ -27,6 +27,7 @@
 CFLAGS += -DGFS2_RELEASE_NAME=\"${RELEASE}\" -D_GNU_SOURCE
 CFLAGS += -O2
 CFLAGS += -I${gfskincdir}
+CFLAGS += -I${KERNEL_SRC}/fs/gfs2/ -I${KERNEL_SRC}/include/
 CFLAGS += -I../include
 CFLAGS += -I${incdir}
 
gfs2/quota/Makefile +1 -0
@@ -22,6 +22,7 @@
 CFLAGS += -DHELPER_PROGRAM -D_FILE_OFFSET_BITS=64
 CFLAGS += -D_GNU_SOURCE -DGFS2_RELEASE_NAME=\"${RELEASE}\"
 CFLAGS += -O2
+CFLAGS += -I${KERNEL_SRC}/fs/gfs2/ -I${KERNEL_SRC}/include/
 CFLAGS += -I../include -I../libgfs2/
 CFLAGS += -I${incdir}
 
gfs2/tool/Makefile +1 -0
@@ -27,6 +27,7 @@
 
 CFLAGS += -D_FILE_OFFSET_BITS=64 -DGFS2_RELEASE_NAME=\"${RELEASE}\"
 CFLAGS += -O2 -Wall
+CFLAGS += -I${KERNEL_SRC}/fs/gfs2/ -I${KERNEL_SRC}/include/
 CFLAGS += -I../include
 CFLAGS += -I${incdir}
 
group/dlm_controld/Makefile +1 -1
@@ -22,7 +22,7 @@
 
 CFLAGS += -g 
 CFLAGS += -I${ccsincdir} -I${cmanincdir} -I${dlmincdir} -I${openaisincdir}
-CFLAGS += -idirafter ${KERNEL_SRC}/include/linux
+CFLAGS += -I${KERNEL_SRC}/include/
 CFLAGS += -I../../group/lib/ -I../include/
 CFLAGS += -I${incdir}
 
group/gfs_controld/Makefile +1 -1
@@ -23,7 +23,7 @@
 
 CFLAGS += -g -O2
 CFLAGS += -I${ccsincdir} -I${cmanincdir} -I${openaisincdir}
-CFLAGS += -idirafter ${KERNEL_SRC}/include/linux
+CFLAGS += -I${KERNEL_SRC}/include/
 CFLAGS += -I../include/ -I../lib/
 CFLAGS += -I${incdir}