47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
|
$OpenBSD: patch-Makefile,v 1.1.1.1 2005/03/07 16:41:28 todd Exp $
|
||
|
--- Makefile.orig Thu Feb 10 15:48:51 2005
|
||
|
+++ Makefile Sun Feb 27 17:18:43 2005
|
||
|
@@ -1,10 +1,10 @@
|
||
|
-include config-host.mak
|
||
|
|
||
|
-CFLAGS=-Wall -O2 -g -fno-strict-aliasing
|
||
|
+#CFLAGS=-Wall -O2 -g -fno-strict-aliasing
|
||
|
ifdef CONFIG_DARWIN
|
||
|
CFLAGS+= -mdynamic-no-pic
|
||
|
endif
|
||
|
-LDFLAGS=-g
|
||
|
+#LDFLAGS=-g
|
||
|
LIBS=
|
||
|
DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||
|
TOOLS=qemu-img$(EXESUF)
|
||
|
@@ -50,21 +50,19 @@ ar de en-us fi fr-be hr
|
||
|
common de-ch es fo fr-ca hu ja mk nl-be pt sl tr
|
||
|
|
||
|
install: all
|
||
|
- mkdir -p "$(bindir)"
|
||
|
- install -m 755 -s $(TOOLS) "$(bindir)"
|
||
|
- mkdir -p "$(datadir)"
|
||
|
+ mkdir -p $(PREFIX)/share/qemu
|
||
|
+ install -m 755 -s $(TOOLS) $(PREFIX)/bin
|
||
|
install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin \
|
||
|
pc-bios/vgabios-cirrus.bin \
|
||
|
pc-bios/ppc_rom.bin \
|
||
|
pc-bios/proll.elf \
|
||
|
- pc-bios/linux_boot.bin "$(datadir)"
|
||
|
- mkdir -p "$(docdir)"
|
||
|
- install -m 644 qemu-doc.html qemu-tech.html "$(docdir)"
|
||
|
+ pc-bios/linux_boot.bin $(PREFIX)/share/qemu
|
||
|
+ mkdir -p $(PREFIX)/share/doc/qemu
|
||
|
+ install -m 644 qemu-doc.html qemu-tech.html $(PREFIX)/share/doc/qemu
|
||
|
ifndef CONFIG_WIN32
|
||
|
- mkdir -p "$(mandir)/man1"
|
||
|
- install qemu.1 qemu-img.1 "$(mandir)/man1"
|
||
|
- mkdir -p "$(datadir)/keymaps"
|
||
|
- install -m 644 $(addprefix keymaps/,$(KEYMAPS)) "$(datadir)/keymaps"
|
||
|
+ install qemu.1 qemu-img.1 $(PREFIX)/man/man1
|
||
|
+ mkdir -p $(PREFIX)/share/qemu/keymaps
|
||
|
+ install -m 644 $(addprefix keymaps/,$(KEYMAPS)) $(PREFIX)/share/qemu/keymaps
|
||
|
endif
|
||
|
for d in $(TARGET_DIRS); do \
|
||
|
$(MAKE) -C $$d $@ || exit 1 ; \
|