[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building outside the sourcetree
From: |
Marco Gerards |
Subject: |
Building outside the sourcetree |
Date: |
21 Sep 2003 16:44:06 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Hi,
Here is a patch to make it possible to build l4-hurd outside the
sourcetree. I've tested this with building inside and outside the
sourcetree, but I haven't used the produced binaries yet. I'm not an
automake guru so testing before applying might be wise.
I've included the changelog entries, are these required for future
l4-hurd patches?
Marcus, do you want me to send patches to l4-hurd next time or should
I use savannah?
Thanks,
Marco
Laden:
2003-09-21 Marco Gerards <address@hidden>
* Makefile.am (AM_CPPFLAGS): Include $(top_builddir)/include.
libhurd-cap:
2003-09-21 Marco Gerards <address@hidden>
* Makefile.am (AM_CPPFLAGS): Use top_builddir instead of
top_srcdir.
libhurd-ihash:
2003-09-21 Marco Gerards <address@hidden>
* Makefile.am (AM_CPPFLAGS): Use top_builddir instead of
top_srcdir.
physmem:
2003-09-21 Marco Gerards <address@hidden>
* Makefile.am (AM_CPPFLAGS): Include $(top_builddir)/include.
wortel:
2003-09-21 Marco Gerards <address@hidden>
* Makefile.am (AM_CPPFLAGS): Include $(top_builddir)/include.
? aclocal.m4
? config.h.in
? configure
Index: laden/Makefile.am
===================================================================
RCS file: /cvsroot/hurd/hurd-l4/laden/Makefile.am,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile.am
--- laden/Makefile.am 19 Sep 2003 17:49:59 -0000 1.7
+++ laden/Makefile.am 21 Sep 2003 13:59:53 -0000
@@ -18,6 +18,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+AM_CPPFLAGS = -I$(top_builddir)/include
+
if ARCH_IA32
ARCH_SOURCES = multiboot.h ia32-crt0.S ia32-cmain.c \
ia32-output.c output-vga.c output-serial.c ia32-shutdown.c
Index: libhurd-cap/Makefile.am
===================================================================
RCS file: /cvsroot/hurd/hurd-l4/libhurd-cap/Makefile.am,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile.am
--- libhurd-cap/Makefile.am 15 Sep 2003 18:12:07 -0000 1.1
+++ libhurd-cap/Makefile.am 21 Sep 2003 13:59:53 -0000
@@ -24,5 +24,5 @@ lib_LIBRARIES = libhurd-cap.a
includehurddir = $(includedir)/hurd
includehurd_HEADERS = cap.h
-AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(top_builddir)/include
libhurd_cap_a_SOURCES = cap.h cap.c cap-user.c #cap-move.c
Index: libhurd-ihash/Makefile.am
===================================================================
RCS file: /cvsroot/hurd/hurd-l4/libhurd-ihash/Makefile.am,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile.am
--- libhurd-ihash/Makefile.am 8 Sep 2003 21:15:53 -0000 1.2
+++ libhurd-ihash/Makefile.am 21 Sep 2003 13:59:53 -0000
@@ -24,6 +24,6 @@ lib_LIBRARIES = libhurd-ihash.a
includehurddir = $(includedir)/hurd
includehurd_HEADERS = ihash.h
-AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(top_builddir)/include
AM_CFLAGS = -std=gnu99
libhurd_ihash_a_SOURCES = ihash.h ihash.c
Index: physmem/Makefile.am
===================================================================
RCS file: /cvsroot/hurd/hurd-l4/physmem/Makefile.am,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile.am
--- physmem/Makefile.am 19 Sep 2003 18:33:30 -0000 1.6
+++ physmem/Makefile.am 21 Sep 2003 13:59:54 -0000
@@ -18,6 +18,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+AM_CPPFLAGS = -I$(top_builddir)/include
+
if ARCH_IA32
ARCH_SOURCES = ia32-crt0.S ia32-cmain.c
endif
Index: wortel/Makefile.am
===================================================================
RCS file: /cvsroot/hurd/hurd-l4/wortel/Makefile.am,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile.am
--- wortel/Makefile.am 19 Sep 2003 18:33:30 -0000 1.9
+++ wortel/Makefile.am 21 Sep 2003 13:59:54 -0000
@@ -18,6 +18,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+AM_CPPFLAGS = -I$(top_builddir)/include
+
if ARCH_IA32
ARCH_SOURCES = multiboot.h ia32-crt0.S ia32-cmain.c \
ia32-output.c output-vga.c output-serial.c ia32-shutdown.c
- Building outside the sourcetree,
Marco Gerards <=