026320c642
Commented patch and regenerated distinfo.
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
$NetBSD: patch-aa,v 1.4 2012/12/27 06:04:19 othyro Exp $
|
|
|
|
Fix CXXFLAGS, LDFLAGS, and install stage.
|
|
|
|
--- Makefile.orig 2004-07-03 16:52:25.000000000 +0000
|
|
+++ Makefile
|
|
@@ -1,23 +1,24 @@
|
|
-CC = gcc
|
|
-CFLAGS = -DUSE_GTK `gtk-config --cflags` -O3 -mcpu=athlon \
|
|
+#CC = gcc
|
|
+CFLAGS += -DUSE_GTK `gtk-config --cflags` \
|
|
-ffast-math -funroll-loops -fomit-frame-pointer
|
|
#CFLAGS = -DUSE_GTK `gtk-config --cflags` -g -fPIC
|
|
-CXX = g++
|
|
-CXXFLAGS = $(CFLAGS)
|
|
-LD = g++
|
|
-LDFLAGS =
|
|
+#CXX = g++
|
|
+#CXXFLAGS = $(CFLAGS)
|
|
+#LD = g++
|
|
+#LDFLAGS =
|
|
|
|
TARGET = mupen64_hle_rsp_azimer.so
|
|
OBJECTS = main.o disasm.o jpeg.o ucode1.o ucode2.o ucode3.o ucode3mp3.o
|
|
|
|
-all: $(TARGET) instruction
|
|
+all: $(TARGET)
|
|
|
|
$(TARGET): $(OBJECTS)
|
|
- $(LD) -shared -Wl,-Bsymbolic `gtk-config --libs` $(LDFLAGS) -o $@ $(OBJECTS)
|
|
+ $(CC) -shared -Wl,-Bsymbolic `gtk-config --libs` $(LDFLAGS) -o $@ $(OBJECTS)
|
|
strip --strip-all $@
|
|
|
|
-instruction:
|
|
- $(warning please copy $(TARGET) in the plugins/ folder of the emulator)
|
|
+install:
|
|
+ $(BSD_INSTALL_DATA) mupen64_hle_rsp_azimer.so \
|
|
+ ${DESTDIR}$(PREFIX)/share/mupen64-base/plugins
|
|
|
|
#.o: .c
|
|
# $(CC) $(CFLAGS) -o $@ $<
|