bitkeeper revision 1.1159.223.42 (41f77751X73w7_t6jI0dgGV6N-Bweg)

More build system fixes and tweaks.
This commit is contained in:
kaf24@scramble.cl.cam.ac.uk committed 2005-01-26 10:56:17 +00:00
1 parent f92899900f
commit 71e256b6ed
6 files changed
+18 -11

No files matched your search

+14 -3
View File
@@ -11,7 +11,7 @@ INSTALL_DIR := $(INSTALL) -d -m0755
INSTALL_DATA := $(INSTALL) -m0644
INSTALL_PROG := $(INSTALL) -m0755
KERNELS ?= linux-2.6-xen0 linux-2.6-xenU linux-2.4-xen0 linux-2.4-xenU netbsd-2.0-xenU
KERNELS ?= *2.6*
# linux-2.4-xen0 linux-2.4-xenU netbsd-2.0-xenU
# You may use wildcards in the above e.g. KERNELS=*2.4*
@@ -146,9 +146,20 @@ help:
@echo ' with extreme care!)'
# Use this target with extreme care!
uninstall: DESTDIR=
uninstall: D=$(DESTDIR)
uninstall:
cp -a /etc/xen /etc/xen.old && rm -rf /etc/xen
rm -rf "/usr/lib/python2.?/site-packages/xen* /usr/lib/libxc* /usr/lib/python2.?/site-packages/Xc*"
[ ! -d $(D)/etc/xen ] || mv -f $(D)/etc/xen $(D)/etc/xen.old
rm -rf $(D)/etc/init.d/xend*
rm -rf $(D)/usr/lib/libxc* $(D)/usr/lib/libxutil*
rm -rf $(D)/usr/lib/python/xen $(D)/usr/include/xen
rm -rf $(D)/usr/include/xcs_proto.h $(D)/usr/include/xc.h
rm -rf $(D)/usr/sbin/xcs $(D)/usr/sbin/xcsdump $(D)/usr/sbin/xen*
rm -rf $(D)/usr/sbin/netfix
rm -rf $(D)/usr/sbin/xfrd $(D)/usr/sbin/xm $(D)/var/lib/xen
rm -rf $(D)/usr/share/doc/xen $(D)/usr/man/man*/xentrace*
rm -rf $(D)/usr/bin/xen* $(D)/usr/bin/miniterm
rm -rf $(D)/boot/*xen*
# Legacy targets for compatibility
linux24:
+2 -2
View File
@@ -69,8 +69,8 @@ install: all
$(INSTALL_DIR) $(DESTDIR)/usr/lib
$(INSTALL_DIR) $(DESTDIR)/usr/include
$(INSTALL_PROG) $(LIB) $(DESTDIR)/usr/lib
ln -sf $(LIB_NAME).so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib/$(LIB_NAME).so.$(MAJOR)
ln -sf $(LIB_NAME).so.$(MAJOR) $(DESTDIR)/usr/lib/$(LIB_NAME).so
ln -sf libxc.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib/libxc.so.$(MAJOR)
ln -sf libxc.so.$(MAJOR) $(DESTDIR)/usr/lib/libxc.so
$(INSTALL_DATA) xc.h $(DESTDIR)/usr/include
clean:
-1
View File
@@ -61,7 +61,6 @@ CFLAGS += -Wno-trigraphs
CFLAGS += -Wno-unused-function
CFLAGS += -Wno-unused-parameter
CFLAGS += -g
CFLAGS += -O2
CFLAGS += -fno-strict-aliasing
CFLAGS += -fno-common
-1
View File
@@ -42,7 +42,6 @@ INCLUDES += -I$(GC_INCLUDE)
CPPFLAGS += -D USE_GC
#----------------------------------------------------------------------------
CFLAGS += -g
CFLAGS += -Wall
CFLAGS += $(INCLUDES) $(LIBS)
+1 -1
View File
@@ -2,7 +2,7 @@ XEN_ROOT=../..
include $(XEN_ROOT)/tools/Make.defs
CC = gcc
CFLAGS = -Wall -Werror -g
CFLAGS = -Wall -Werror -O3 -fno-strict-aliasing
CFLAGS += -I $(XEN_XC)
CFLAGS += -I $(XEN_LIBXC)
+1 -3
View File
@@ -36,9 +36,7 @@ endif
CC := gcc
CFLAGS += -g
CFLAGS += -Wall
CFLAGS += -Werror
CFLAGS += -Wall -Werror -O3 -fno-strict-aliasing
CFLAGS += $(INCLUDES)
# Make gcc generate dependencies.
CFLAGS += -Wp,-MD,.$(@F).d
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.