blob: ff8f3819b411e47de61854dfdd8556493bc49111 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
$NetBSD: patch-ab,v 1.1.1.1 2002/09/24 12:49:11 blymn Exp $
--- configs/config-netbsd.orig Mon Sep 23 15:26:33 2002
+++ configs/config-netbsd
@@ -0,0 +1,118 @@
+# bzflag
+# Copyright (c) 1993 - 2002 Tim Riker
+#
+# This package is free software; you can redistribute it and/or
+# modify it under the terms of the license found in the file
+# named LICENSE that should have accompanied this file.
+#
+# THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+#
+# configuration for generic netbsd
+#
+CONFIG = netbsd
+
+#
+# use XF86 vidmode extension (comment out to disable)
+#
+XF86VIDMODE_DEF = -DXF86VIDMODE_EXT
+XF86VIDMODE_LIB = -lXxf86vm
+
+#
+# use XInput extension for joystick support (comment out to disable)
+#
+JOYSTICK_DEF = -DXIJOYSTICK
+JOYSTICK_LIB = -lXi
+
+#
+# accumulate extension definitions and libs
+#
+XEXT_DEF = $(XF86VIDMODE_DEF) $(JOYSTICK_DEF)
+XEXT_LIB = $(XF86VIDMODE_LIB) $(JOYSTICK_LIB)
+
+#
+# install locations
+#
+INSTALL_DATA_DIR = $(X11PREFIX)/share/bzflag
+
+#
+# tools
+#
+AR = /usr/bin/ar cru
+CC = /usr/bin/gcc
+CXX = /usr/bin/g++
+CD = cd
+CP = /bin/cp
+LD = /usr/bin/ld
+MKDIR = /bin/mkdir
+NROFF = /usr/bin/nroff
+RM = /bin/rm -f
+RMR = $(RM) -r
+SHELL = /bin/sh
+ECHO = echo
+
+#
+# compiler definitions
+#
+PCDEFS = -D_BSD_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DHALF_RATE_AUDIO $(XEXT_DEF)
+PCXXDEFS = -D_BSD_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DHALF_RATE_AUDIO $(XEXT_DEF)
+
+#
+# compiler options
+#
+PCOPTS = -Wall -W -ansi $(ACOPTS)
+PCXXOPTS = -Wall -W -fno-exceptions -fno-rtti $(ACXXOPTS)
+COPT = -DNDEBUG -O2
+CXXOPT = -DNDEBUG -O2 -ffast-math -fomit-frame-pointer -fnonnull-objects \
+ -fexpensive-optimizations
+CDEBUG = -DDEBUG -g
+CXXDEBUG = -DDEBUG -g
+CWOFF =
+CXXWOFF =
+
+#
+# search paths
+#
+PCINCS = -I/usr/include -I$(X11BASE)/include
+PCXXINCS = -I/usr/include -I$(X11BASE)/include
+
+#
+# linker options
+#
+PLDOPTS = -L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib
+
+#
+# dirt
+#
+PDIRT = *.[eou] a.out core ar.tmp.*
+
+#
+# libraries
+#
+AUDIO_LIBS = \
+ $(NULL)
+
+DISPLAY_LIBS = \
+ $(NULL)
+
+GL_LIBS = \
+ -lGLU \
+ -lGL \
+ $(NULL)
+
+IMAGE_LIBS = \
+ $(NULL)
+
+NETWORK_LIBS = \
+ $(NULL)
+
+WINDOW_LIBS = \
+ $(XEXT_LIB) \
+ -lXext \
+ -lX11 \
+ -lossaudio \
+ -lm \
+ $(NULL)
+
|