From mboxrd@z Thu Jan 1 00:00:00 1970 From: fabbione@sourceware.org Date: 21 Aug 2007 04:46:45 -0000 Subject: [Cluster-devel] cluster dlm/lib/Makefile gfs2/edit/Makefile gf ... Message-ID: <20070821044645.13067.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --- cluster/dlm/lib/Makefile 2007/06/01 09:45:31 1.20 +++ cluster/dlm/lib/Makefile 2007/08/21 04:46:43 1.21 @@ -22,6 +22,7 @@ CFLAGS += -g -O2 CFLAGS += -I. CFLAGS += -I${incdir} +CFLAGS += -I$(KERNEL_SRC)/include LDFLAGS += -lpthread --- cluster/gfs2/edit/Makefile 2007/06/26 01:25:32 1.9 +++ cluster/gfs2/edit/Makefile 2007/08/21 04:46:43 1.10 @@ -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} --- cluster/gfs2/mount/Makefile 2007/08/20 14:36:16 1.15 +++ cluster/gfs2/mount/Makefile 2007/08/21 04:46:43 1.16 @@ -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} --- cluster/gfs2/quota/Makefile 2007/06/01 09:45:34 1.10 +++ cluster/gfs2/quota/Makefile 2007/08/21 04:46:43 1.11 @@ -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} --- cluster/gfs2/tool/Makefile 2007/06/01 09:45:34 1.9 +++ cluster/gfs2/tool/Makefile 2007/08/21 04:46:43 1.10 @@ -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} --- cluster/group/dlm_controld/Makefile 2007/08/09 09:37:36 1.10 +++ cluster/group/dlm_controld/Makefile 2007/08/21 04:46:43 1.11 @@ -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} --- cluster/group/gfs_controld/Makefile 2007/08/09 09:37:36 1.12 +++ cluster/group/gfs_controld/Makefile 2007/08/21 04:46:44 1.13 @@ -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}