2006-05-06 20:09:53 +02:00
|
|
|
$NetBSD: patch-aj,v 1.5 2006/05/06 18:09:53 xtraeme Exp $
|
2004-11-09 14:05:33 +01:00
|
|
|
|
2006-05-06 20:09:53 +02:00
|
|
|
--- Makefile.target.orig 2006-05-06 19:30:04.000000000 +0200
|
|
|
|
+++ Makefile.target 2006-05-06 19:31:21.000000000 +0200
|
|
|
|
@@ -17,9 +17,9 @@
|
2004-11-09 14:05:33 +01:00
|
|
|
VPATH+=:$(SRC_PATH)/linux-user
|
|
|
|
DEFINES+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ARCH)
|
|
|
|
endif
|
|
|
|
-CFLAGS=-Wall -O2 -g -fno-strict-aliasing
|
|
|
|
+#CFLAGS=-Wall -O2 -g -fno-strict-aliasing
|
2005-05-03 13:18:47 +02:00
|
|
|
#CFLAGS+=-Werror
|
|
|
|
-LDFLAGS=-g
|
2004-11-09 14:05:33 +01:00
|
|
|
+#LDFLAGS=-g
|
|
|
|
LIBS=
|
|
|
|
HELPER_CFLAGS=$(CFLAGS)
|
|
|
|
DYNGEN=../dyngen$(EXESUF)
|
2006-05-06 20:09:53 +02:00
|
|
|
@@ -411,6 +411,9 @@
|
2005-05-25 20:04:57 +02:00
|
|
|
sdlaudio.o: sdlaudio.c
|
|
|
|
$(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<
|
|
|
|
|
|
|
|
+vl.o: vl.c
|
|
|
|
+ $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<
|
|
|
|
+
|
|
|
|
depend: $(SRCS)
|
|
|
|
$(CC) -MM $(CFLAGS) $(DEFINES) $^ 1>.depend
|
|
|
|
|
2006-05-06 20:09:53 +02:00
|
|
|
@@ -492,7 +495,7 @@
|
2004-11-09 14:05:33 +01:00
|
|
|
|
|
|
|
install: all
|
|
|
|
ifneq ($(PROGS),)
|
2006-05-06 20:09:53 +02:00
|
|
|
- $(INSTALL) -m 755 -s $(PROGS) "$(DESTDIR)$(bindir)"
|
2004-11-09 14:05:33 +01:00
|
|
|
+ $(BSD_INSTALL_PROGRAM) $(PROGS) "$(bindir)"
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(wildcard .depend),)
|