-
Notifications
You must be signed in to change notification settings - Fork 18
/
system.mk.in
93 lines (72 loc) · 2 KB
/
system.mk.in
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
# This is a generic system.mk file for
#
# Autoconfig done by: Kurt Siegl <[email protected]>
#
# Directories:
# LIBDIR - where the lib files will go (.sysdef, .motd, etc)
# XTREKDIR - root src dir
# XTREKOWNER - Owner of the game
XTREKDIR=@srcdir@
prefix=@prefix@
exec_prefix=@exec_prefix@
LIBDIR=@libdir@
BINDIR=@bindir@
SYSCONFDIR=@sysconfdir@
LOCALSTATEDIR=@localstatedir@
XTREKOWNER=@LOGNAME@
PORT=-DPORT=2592
# Some systems dont have install so you may need to use cp instead
# A script call install in the root dir is also provided but isn't
# very robust. To use this put the full path
SHELL=/bin/sh
INSTALL=@INSTALL@
INSTALLPROG=@INSTALL_PROGRAM@
INSTALLDATA=@INSTALL_DATA@
# Compiler:
# NOTE: many systems' /bin/cc may choke on much of the code in
# ntserv/ use with # caution!
CC=@CC@
CPP=@CPP@
CPPFLAGS=@CPPFLAGS@
LN=@LN_S@
LDFLAGS=@LDFLAGS@
#LINKFLAGS = -s -N
LINKFLAGS=@LDFLAGS@
# Compile in parallel
# PMAKE = &
# compile in parallel with gnu's parallel make!
# MAKE = gmake -j 8
@SET_MAKE@
# SysV defines:
# Use only -lm (EXTRALIBS) if you're not on SysV
EXTRALIBS=$(LINKFLAGS) @LIBS@
LIBCRYPT=@LIBCRYPT@
LIBCURSES=@LIBCURSES@
LIBTERMCAP=@LIBTERMCAP@
# Some systems need X11R5 in the include path
# Comment out if you don't need this
# EXTRAINCS=-I/usr/local/X11R5/include
# NETREK_INCLUDES = -I../ntserv -I@srcdir@/../ntserv
#
# Some systems don't have strdup() or random()
# Comment out if you have strdup() and random()
#STRDUPC = @srcdir@/strdup.c @srcdir@/random.c
#STRDUPO = strdup.o random.o
RANDOMO=@LIBOBJS@
# Location of X include files if not standard
# Use -I<path>
X11INCLUDE=@XINCLUDES@
# Name of X libraries (xsg only)
# Put -L<path> before library if non-standard location.
X11LIB=@XLIBSW@
# GNU MP stuff
GNUMP_INC=@GNUMPINC@
GNUMP_LIB=@GNUMPLIB@
# RSA stuff
RSA_FLAGS=@NORSA@-DRSA
RSA_OBJS=@NORSA@rsa_key.o
RSA_SRC=@NORSA@rsa_key.c
RSA_INCS=@NORSA@@MPINC@
RSA_LIB=@NORSA@@RSALIB@ @MPLIB@
EXTRAFLAGS=$(CPPFLAGS)
FLAGS=@CFLAGS@ -Wall $(EXTRAFLAGS) $(RSA_FLAGS)