summaryrefslogtreecommitdiffstats
path: root/games/bzflag/files/config-sys
blob: acfee53f5402e6ceb66e8958f89a103b0b67759a (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
# bzflag
# Copyright 1993-1999, Chris Schoeneman
#
# 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 linux
#
CONFIG	= linux

#
# use XF86 vidmode extension (comment out to disable)
#
XF86VIDMODE_DEF = -DXF86VIDMODE_EXT
XF86VIDMODE_LIB = -lXxf86vm

#
# install locations
#
INSTALL_DATA_DIR = ${PORTPREFIX}/share/bzflag/data

#
# 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   = $(XF86VIDMODE_DEF)
PCXXDEFS = $(XF86VIDMODE_DEF)

#
# compiler options
#
PCOPTS   = -Wall -W -ansi $(ACOPTS)
PCXXOPTS = -Wall -W -fno-exceptions -fno-rtti $(ACXXOPTS)
COPT     = -DNDEBUG ${PORTCFLAGS}
CXXOPT   = -DNDEBUG ${PORTCXXFLAGS} -ffast-math -fomit-frame-pointer \
	-fnonnull-objects -fexpensive-optimizations
CDEBUG   = -DDEBUG -g
CXXDEBUG = -DDEBUG -g
CWOFF    =
CXXWOFF  =

#
# search paths
#
PCINCS   = -I/usr/include -I/usr/X11R6/include
PCXXINCS = -I/usr/include -I/usr/X11R6/include

#
# linker options
#
PLDOPTS  = -L${X11BASE}/lib

#
# dirt
#
PDIRT    = *.[eou] a.out core ar.tmp.*

#
# libraries
#
AUDIO_LIBS =				\
	$(NULL)

DISPLAY_LIBS =				\
	$(XF86VIDMODE_LIB)		\
	$(NULL)

GL_LIBS =				\
	-lGLU				\
	-lGL				\
	$(NULL)

IMAGE_LIBS =				\
	$(NULL)

NETWORK_LIBS =				\
	$(NULL)

WINDOW_LIBS =				\
	-lXext				\
	-lX11				\
	$(NULL)

OpenPOWER on IntegriCloud