1# Config-Makefile for Husky-packages
2# automatically generated by HuskyPnt
3
4##############################################################################
5#PART 1: DIRECTORIES AND FILENAMES
6#You always need to change these to match your preferences
7##############################################################################
8
9# Where libraries (both .a and .so files) should be placed
10# You should take care that this directory is listed in the LD_LIBRARY_PATH
11# environment variable (if necessary, modify your /etc/profile file).
12LIBDIR=$libdir$
13
14# Where the programs should be placed.
15BINDIR=$bindir$
16
17# Where manual pages should be placed.
18MANDIR=$mandir$
19
20# Where include files should be placed (don't worry, no files will be over-
21# written, Husky will use it's own subdirectories below this directory):
22INCDIR=$incdir$
23
24# The fidoconfig config file will be in this DIRECTORY:
25CFGDIR=$cfgdir$
26
27# IF you have a working texinfo installation (consisting of the "makeinfo"
28# and "install-info" program), you should uncomment and adapt this
29# line - it will cause GNU info documentation to be built and installed
30# into the given directory. If you leave the comment out, the doucmentation
31# will not be compiled, and you won't know how to use the software ;-).
32# You should take care that this directory is listed in the INFOPATH
33# environment variable (if necessary, modify your /etc/profile file).
34INFODIR=$infodir$
35
36# The same as above, but for HTML documentation. This requires a working
37# "texi2html" program.
38HTMLDIR=$htmldir$
39
40# Name of the config file of MSGED TE:
41MSGEDCFG=\\"~/.fido/msged.cfg\\"
42
43
44##############################################################################
45#PART 2: PLATFORM DEPENDENT SECTION
46#If you are running Linux with GNU gcc, you don't need to modify anything in
47#the following sections. If you are running any other operating system or using
48#any other C compiler, you should check the values. For some operating
49#systems, the comments contain information on what you need to change.
50##############################################################################
51
52
53##############################################################################
54# Programs
55##############################################################################
56
57# C-Compiler
58CC=$CC$
59
60#Msged needs access to a termcap library. Define it's name here.
61#On Linux, termcap is integrated into ncurses:
62TERMCAP=ncurses
63#On FreeBSD or commerical Unices, you may try on of the following:
64#TERMCAP=termcap
65#TERMCAP=terminfo
66
67# C++-Compiler
68GPP=$GPP$
69
70# Pascal-Compiler (the compiler is optional, but the value of this
71# variable must be defined even if you don't have a Pascal compiler).
72PC=ppc386
73
74# archiver (for object-files)
75AR=$AR$
76
77# how to build shared libraries
78# use gcc on Linux and FreeBSD
79# use ld on BeOS and also try ld if gcc does not work for you
80# only "gcc" will put so version numbers into the shared object
81@ifdef beos
82MKSHARED=ld
83@else
84MKSHARED=gcc
85@endif
86
87# remove file
88RM=$RM$
89
90# The "install" program.
91# On Linux and FreeBSD/NetBSD, use install
92# On Tru64 Unix, use this:
93# INSTALL=installbsd
94# On Solaris, use this:
95# INSTALL=/usr/ucb/install
96INSTALL=$INSTALL$
97
98# link file (DOS: copy file)
99LN=$LN$
100
101# create directory
102MKDIR=$MKDIR$
103
104# update dynamic library cache
105# If your operating system does not need this, you may comment out this line.
106LDCONFIG=$LDCONFIG$
107
108# rename a file
109MV=$MV$
110
111#copy a file
112CP=$CP$
113
114#Make a library file usable. You may leave this empty if it is n/a.
115RANLIB=$RANLIB$
116
117# C-style header file to pascal unit converter (shipped with fpc)
118H2PAS=$H2PAS$
119
120#############################################################################
121# program options
122#############################################################################
123
124# type of operating system (UNIX,MSDOS,OS2,WINNT)
125# for BeOS, use UNIX!
126OSTYPE=$OSTYPE$
127
128# short name of operating system (used for PID lines etc.)
129UNAME=$UNAME$
130
131# Do you want debug information? (This is only for developers.)
132DEBUG=$debug$
133
134# 8.3 names - NOTE: This switch is obsolete and probably does not work!
135SHORTNAMES=0
136
137
138# The DYNLIBS switch controls if dynamic or static linkage is used.
139# This is tricky. If you set DYNLIBS=1, dynamic libraries (.so files)
140# will be generated and used. This will only work if you are running "gcc"
141# on Linux, FreeBSD or another real Unix operating system.
142
143# On other systems, you must set DYNLIBS=0. Even on Linux, you might
144# want to do this if you are sick of shared library version mismatch
145# problems.
146
147# If you set DYNLIBS=0, but have Unix/Linux, you might want to add add
148# "-static" to the OPTCFLAGS and WARNCFLAGS variables (above) in order
149# to avoid linkage with old .so files that may be  floating around
150DYNLIBS=$DYNLIBS$
151
152# C-compiler: specify name of executable
153EXENAMEFLAG=-o
154
155# C-compiler: generate warnings
156WARNFLAGS=-Wall
157
158# C-compiler: optimization
159OPTCFLAGS=-c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC
160
161# C-compiler: debug
162DEBCFLAGS=-c -ggdb
163
164# C-compiler: additional defines, for features of your OS
165ADDCDEFS=$ADDCDEFS$
166# On Solaris, Msged only works with the curses interface, so use:
167#ADDCDEFS=-DHAS_POPEN -DUSE_CURSES
168# Some Systems (e.g. old Linux systems like SuSe 6) uses different style of semctl. Try -DHAS_SEMUN
169#ADDCDEFS=-DHAS_POPEN -DHAS_SEMUN
170# Due problems with Semaphores, compile without semaphor handling !
171#ADDCDEFS=-DHAS_POPEN -DNOSEMAPHORES
172
173
174# Pascal-Compiler: optimization
175OPTPFLAGS=
176
177# Pascal-Compiler: debug
178DEBPFLAGS=
179
180# Pascal-Compiler: additional defines, for features of your OS
181ADDPDEFS=
182
183# object linker: optimization
184OPTLFLAGS=-s
185
186# object linker: debug
187DEBLFLAGS=
188
189# options for installing programs
190IBOPT=-c -s
191
192# options for installing libs
193ILOPT=-c
194
195# options for installing man-pages
196IMOPT=-c
197
198# options for installing includes
199IIOPT=-c
200
201# options for linking files
202LNOPT=$LNOPT$
203
204# archiver options
205AR_R = $AR_R$
206
207# options for creating directories
208MKDIROPT=$MKDIROPT$
209
210#############################################################################
211# file extensions
212#############################################################################
213
214# extension of executable (e.g. ".exe")
215EXE=$EXE$
216
217# extension of object file
218OBJ=$OBJ$
219
220# extension of (static) libs
221LIB=$LIB$
222
223# extension of compiled pascal units
224TPU=$TPU$
225
226# directory separator (DOS: "\", Unix: "/")
227DIRSEP=$DIRSEP$
228
229