summaryrefslogtreecommitdiff
path: root/emulators/arnold/patches/patch-aa
blob: 5b2ad7b844ee338c159df5ee4bf2e0bbd2a48b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
$NetBSD: patch-aa,v 1.2 2005/11/03 21:40:13 rillig Exp $

--- src/Makefile.in.orig	Sat Jan 19 15:49:14 2002
+++ src/Makefile.in
@@ -25,7 +25,7 @@ SDLINC = @SDL_CFLAGS@
 SDLLIB = @SDL_LIBS@
 
 #-Wall for max warnings!
-CFLAGS = @CPPFLAGS@ @CFLAGS@ $(GTKINC) $(SDLINC) @DEFS@ $(X11INC) -I. -DUNIX -Wall -Wno-unused
+CFLAGS = @CPPFLAGS@ @CFLAGS@ $(GTKINC) $(SDLINC) @DEFS@ $(X11INC) -I. -DUNIX -Wall -Wno-unused -DSHAREDIR=\"${SHAREDIR}\"
 #-g3 -pg -dm -dp -a
 LFLAGS1 = @LDFLAGS@ @LIBS@ $(GTKLIB) $(SDLLIB) $(X11LIBS)
 #debug
@@ -55,9 +55,30 @@ IFACEGEN_O= ifacegen/ifacegen.o ifacegen
 UNIX_O= unix/main.o unix/host.o unix/global.o unix/settings.o \
 	unix/display.o unix/display_sdl.o unix/gtkui.o unix/sdlsound.o
 
+CPC_O2=	arnold.o asic.o audioevent.o bmp.o cpc.o \
+	crtc.o debugmain.o dirstuff.o dumpym.o fdc.o \
+	garray.o multface.o printer.o psgplay.o \
+	psg.o render.o render5.o scrsnap.o \
+	snapshot.o sampload.o spo256.o \
+	voc.o tzx.o wav.o westpha.o yiq.o \
+	debug.o z8536.o \
+	gdebug.o breakpt.o \
+	diskimg.o \
+	dsk.o extdsk.o \
+	iextdsk.o maketrk.o \
+	z80.o memdump.o \
+	riff.o snapv3.o expbuf.o \
+	cheatsys.o cpcdbg.o
+ 
+IFACEGEN_O2= ifacegen.o fnp.o romfn.o \
+	filetool.o
+ 
+UNIX_O2= main.o host.o global.o settings.o \
+	display.o display_sdl.o gtkui.o sdlsound.o
+ 
 arnold:  $(CPC_O) $(IFACEGEN_O) $(UNIX_O)
-	$(BIND) -o arnold $(LFLAGS1) $(CPC_O) $(IFACEGEN_O)	\
-	$(UNIX_O) $(LFLAGS2) 
+	$(BIND) -o arnold $(LFLAGS1) $(CPC_O2) $(IFACEGEN_O2)	\
+	$(UNIX_O2) $(LFLAGS2) 
 	mv arnold ..
 ctags:
 	ctags -R