equal
deleted
inserted
replaced
28 # Except as contained in this notice, the name of a copyright holder |
28 # Except as contained in this notice, the name of a copyright holder |
29 # shall not be used in advertising or otherwise to promote the sale, use |
29 # shall not be used in advertising or otherwise to promote the sale, use |
30 # or other dealings in this Software without prior written authorization |
30 # or other dealings in this Software without prior written authorization |
31 # of the copyright holder. |
31 # of the copyright holder. |
32 # |
32 # |
33 # @(#)Makefile 1.32 07/02/15 |
33 # @(#)Makefile 1.33 07/02/21 |
34 # |
34 # |
35 |
35 |
36 PWD:sh=pwd |
36 PWD:sh=pwd |
37 TOP=$(PWD)/../.. |
37 TOP=$(PWD)/../.. |
38 |
38 |
218 |
218 |
219 install_gen: $(XORGSERVER_BIN) |
219 install_gen: $(XORGSERVER_BIN) |
220 (cd $(SOURCE_DIR) ; $(BUILD_ENV) $(MAKE) $(MFLAGS) -e install \ |
220 (cd $(SOURCE_DIR) ; $(BUILD_ENV) $(MAKE) $(MFLAGS) -e install \ |
221 DESTDIR=$(PROTODIR) CPPROG="cp -p" \ |
221 DESTDIR=$(PROTODIR) CPPROG="cp -p" \ |
222 pkgconfigdir=/usr/lib/$(ARCHLIBSUBDIR)/pkgconfig ) |
222 pkgconfigdir=/usr/lib/$(ARCHLIBSUBDIR)/pkgconfig ) |
223 sed 's%#define XF86DRI 1%/* #define XF86DRI 1 */%' $(SOURCE_DIR)/include/xorg-server.h > $(PROTODIR)$(X11_INCLUDES_DIR)/xorg/xorg-server.h |
223 sed -e 's%#define XF86DRI 1%/* #define XF86DRI 1 */%' \ |
|
224 -e 's%^.* _XSERVER64 .*$$%#include <sys/isa_defs.h>\ |
|
225 #ifdef _LP64\ |
|
226 #define _XSERVER64 1\ |
|
227 #endif%' \ |
|
228 $(SOURCE_DIR)/include/xorg-server.h > $(PROTODIR)$(X11_INCLUDES_DIR)/xorg/xorg-server.h |
224 mkdir -p $(PROTODIR)$(X11_DOC_DIR) |
229 mkdir -p $(PROTODIR)$(X11_DOC_DIR) |
225 cp -p $(SOURCE_DIR)/hw/xfree86/doc/README.* $(PROTODIR)$(X11_DOC_DIR)/ |
230 cp -p $(SOURCE_DIR)/hw/xfree86/doc/README.* $(PROTODIR)$(X11_DOC_DIR)/ |
226 |
231 |
227 $(BUILD_DIR)/mapfile-Xorg-externs: $(XORGSERVER_BIN) |
232 $(BUILD_DIR)/mapfile-Xorg-externs: $(XORGSERVER_BIN) |
228 -rm -f $@ |
233 -rm -f $@ |