File: Jamsettings

package info (click to toggle)
floater 1.4.12-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 3,772 kB
  • ctags: 1,743
  • sloc: ansic: 23,203; sh: 2,715; tcl: 891; makefile: 85; csh: 6
file content (134 lines) | stat: -rw-r--r-- 4,794 bytes parent folder | download
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
124
125
126
127
128
129
130
131
132
133
134
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2
#
# The contents of this file are subject to the Mozilla Public License Version 
# 1.1 (the "License"); you may not use this file except in compliance with 
# the License. You may obtain a copy of the License at 
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Floater Bridge Network.
#
# The Initial Developer of the Original Code is
# Geoff Pike  <pike@EECS.Berkeley.EDU>.
# Portions created by the Initial Developer are Copyright (C) 1996--2003
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#    Lex Spoon <lex@cc.gatech.edu>
#
# Alternatively, the contents of this file may be used under the terms
# of either the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable instead
# of those above. If you wish to allow use of your version of this file
# only under the terms of the GPL, and not to allow others to use your
# version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the
# notice and other provisions required by the GPL. If you do not delete
# the provisions above, a recipient may use your version of this file
# under the terms of either the MPL or the GPL.
# ***** END LICENSE BLOCK *****


### This file holds all Jam settings that are passed in via autoconf


# version of Floater being compiled
VERSION = 1.4.12 ;

# directory with the source tree
TOP = /home/lex/debian/floater/floater-1.4.12 ;

# Default top-level directories in which to install architecture-
# specific files (exec_prefix) and machine-independent files such as
# scripts (prefix).  The values specified here may be overridden at
# configure-time with the --exec-prefix and --prefix options to the
# "configure" script.

prefix =	/usr ;
exec_prefix =	${prefix} ;
bindir =        ${exec_prefix}/bin ;
libdir =        ${exec_prefix}/lib ;



# Path for the platform independent scripts:
# XXX this should be share, not lib.  And it should come
# from autoconf, anyway.  Where is this used, anyway?
FLOATER_LIBRARY		= $(prefix)/lib/floater$(VERSION) ;


# XXX this should be cleared up as well....  where is it used, and is it still
# supperted in that use even?
FLOATER_SRC_DIR = /home/lex/debian/floater/floater-1.4.12 ;

# other source directories
artdir = /home/lex/debian/floater/floater-1.4.12/art ;
tcldir = /home/lex/debian/floater/floater-1.4.12/tclcode ;


# include paths and libraries passed in from autoconf
TCL_INCLUDES = -I/usr/include/tcl8.4 ;
TCL_LIB = -ltcl8.4 ;
TK_INCLUDES = -I/usr/include/tcl8.4 ;
TK_LIB = -ltk8.4 ;

CURSES_INCLUDES =  ;
CURSES_LIB = -lncurses ;

X11_INCLUDES = -I/usr/X11R6/include ;
X11_LIBS = -L/usr/X11R6/lib -lX11 ;

EXTRA_LIBS =   -lnsl -ldl ;


# summary of the above include paths and libraries
INCLUDES = $(CURSES_INCLUDES) $(TCL_INCLUDES) $(TK_INCLUDES)
	$(X11_INCLUDES) -I$(TOP)/common -I$(artdir)  ;

LIBS = $(TK_LIB) $(TCL_LIB) $(X11_LIB) $(CURSES_LIB)
	$(EXTRA_LIBS) -lm  ;



# compile-time options:
#   TCL_IN_C: If true, instead of reading the Tcl files that are part of
#	Floater at run time, they are formatted into C and compiled.
#       (XXX turning this off probably does not work nowadays)
#   USER_TCL: If true, users can execute Tcl commands (by doing "tcl ...").
#   BEEPONJOIN: If true, beep every time a new user joins.
#       XXX BEEPONJOIN should be a preference, not a compile-time
#       setting
#   MS_WINDOWS: If true, assume the binary will run on some
#       flavor of MS Windows.  XXX this is not exactly an option; it should be in DEFS
OPTION_SWITCHES = -DTCL_IN_C=1 -DUSER_TCL=1 -DBEEPONJOIN ; 


# compilers and compiler options
CC = gcc ;
LINK = gcc ;
CPP = gcc -x c -E ;    # XXX should come from autoconf
CPPFLAGS = $(OPTION_SWITCHES)
           -DVERSION=$(VERSION)
           -DFLOATER_LIBRARY=\"$(FLOATER_LIBRARY)\"
           -DSRC_DIR=\"$(FLOATER_SRC_DIR)\"
           -DPACKAGE_NAME=\"Floater\" -DPACKAGE_TARNAME=\"floater\" -DPACKAGE_VERSION=\"1.4.12\" -DPACKAGE_STRING=\"Floater\ 1.4.12\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRING_H=1  ;


CCFLAGS = $(INCLUDES) $(CPPFLAGS) -g -O2 ;

LINKFLAGS =  ;


WINDRES =  ;


# whether we are compiling for windows
windows = no ;

# whether we are compiling the servers
ENABLE_SERVER = no ;