Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > by-pkgid > 5048a98a2a434ae6a0e486f45de0d373 > files > 18

huskybse-1.0.0-7mdv2010.0.noarch.rpm

# Config-Makefile for Husky-packages
# Modified for FreeBSD 4.* by Stas Degteff (2:5080/102@FIDOnet, g@grumbler.org)

##############################################################################
#PART 1: DIRECTORIES AND FILENAMES
#You always need to change these to match your preferences
##############################################################################

prefix=/usr/local

# Where libraries (both .a and .so files) should be placed
# You should take care that this directory is listed in the LD_LIBRARY_PATH
# environment variable (if necessary, modify your /etc/profile file).
LIBDIR=${prefix}/lib

# Where the programs should be placed.
BINDIR=${prefix}/bin

# Where manual pages should be placed.
MANDIR=${prefix}/man

# Where include files should be placed (don't worry, no files will be over-
# written, Husky will use it's own subdirectories below this directory):
INCDIR=${prefix}/include

# The fidoconfig config file will be in this DIRECTORY:
CFGDIR=${prefix}/etc/fido

# IF you have a working texinfo installation (consisting of the "makeinfo"
# and "install-info" program), you should uncomment and adapt this 
# line - it will cause GNU info documentation to be built and installed
# into the given directory. If you leave the comment out, the doucmentation
# will not be compiled, and you won't know how to use the software ;-).
# You should take care that this directory is listed in the INFOPATH 
# environment variable (if necessary, modify your /etc/profile file).
INFODIR=${prefix}/info

# The same as above, but for DVI documentation. This requires a working
# "texi2dvi" program.
# DVIDIR=${prefix}/share/doc/husky

# The same as above, but for HTML documentation. This requires a working
# "texi2html" program.
HTMLDIR=${prefix}/share/doc/husky

# Name of the config file of MSGED TE:
MSGEDCFG=\"$(CFGDIR)/msged.cfg\"


##############################################################################
#PART 2: PLATFORM DEPENDENT SECTION
#If you are running Linux with GNU gcc, you don't need to modify anything in
#the following sections. If you are running any other operating system or using
#any other C compiler, you should check the values. For some operating
#systems, the comments contain information on what you need to change.
##############################################################################


##############################################################################
# Programs
##############################################################################

# C-Compiler
CC=gcc

#Msged needs access to a termcap library. Define it's name here.
#On Linux, termcap is integrated into ncurses:
#TERMCAP=ncurses
#On FreeBSD or commerical Unices, you may try on of the following:
TERMCAP=termcap
#TERMCAP=terminfo

# C++-Compiler
# (always define both - you never know which one is needed)
CXX=g++
GPP=g++

# Pascal-Compiler (the compiler is optional, but the value of this
# variable must be defined even if you don't have a Pascal compiler).
PC=ppc386

# archiver (for object-files)
AR=ar

# how to build shared libraries
# use gcc on Linux and FreeBSD
# use ld on BeOS and also try ld if gcc does not work for you
# only "gcc" will but so version numbers into the shared object 
# MKSHARED=ld
MKSHARED=gcc 

# remove file
RM=rm

# The "install" program.
# On Linux and FreeBSD/NetBSD, use this:
INSTALL=install
# On Tru64 Unix, use this:
# INSTALL=installbsd
# On Solaris, use this:
# INSTALL=/usr/ucb/install

# link file (DOS: copy file)
LN=ln

# create directory
#MKDIR=mkdir
MKDIR= install -d

# update dynamic library cache
# If your operating system does not need this, you may comment out this line.
LDCONFIG=/sbin/ldconfig

# rename a file
MV=mv

#copy a file
CP=cp

#Make a library file usable. You may leave this empty if it is n/a.
RANLIB=ranlib

# C-style header file to pascal unit converter (shipped with fpc)
H2PAS=h2pas

#############################################################################
# program options
#############################################################################

# type of operating system (UNIX,MSDOS,OS2,WINNT)
# for BeOS, use UNIX!
OSTYPE=UNIX

# short name of operating system (used for PID lines etc.)
#UNAME=LNX
UNAME=BSD
#UNAME=OS2
#UNAME=BEOS

# Do you want debug information? (This is only for developers.)
DEBUG=0

# 8.3 names - NOTE: This switch is obsolete and probably does not work!
SHORTNAMES=0

# Perl support
PERL=0

# The DYNLIBS switch controls if dynamic or static linkage is used.
# This is tricky. If you set DYNLIBS=1, dynamic libraries (.so files)
# will be generated and used. This will only work if you are running "gcc"
# on Linux, FreeBSD or another real Unix operating system.

# On other systems, you must set DYNLIBS=0. Even on Linux, you might 
# want to do this if you are sick of shared library version mismatch
# problems.

# If you set DYNLIBS=0, but have Unix/Linux, you might want to add add
# "-static" to the OPTCFLAGS and WARNCFLAGS variables (above) in order 
# to avoid linkage with old .so files that may be  floating around
# (see 'ifeq ( $(DYNLIBS), 0 )' conditions)
# 
DYNLIBS=1

# C-compiler: specify name of executable
EXENAMEFLAG=-o

# C-compiler: generate warnings
WARNFLAGS=-Wall

# C-compiler: optimization
OPTCFLAGS=-c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC

ifeq ($(OSTYPE), UNIX)
  ifeq ( $(DYNLIBS), 0 )
    WARNFLAGS+= -static
    OPTCFLAGS+= -static
  endif
endif

# C-compiler: debug
DEBCFLAGS=-c -ggdb

# C-compiler: additional defines, for features of your OS
ADDCDEFS=-DHAS_POPEN -DNOSEMAPHORES
# On Solaris, Msged only works with the curses interface, so use:
#ADDCDEFS=-DHAS_POPEN -DUSE_CURSES -DNOSEMAPHORES
# On BeOS, file locking currently does not work, so use:
# ADDCDEFS=-DHAS_POPEN -DNO_LOCKING -DNOSEMAPHORES

# Pascal-Compiler: optimization
OPTPFLAGS=

# Pascal-Compiler: debug
DEBPFLAGS=

# Pascal-Compiler: additional defines, for features of your OS
ADDPDEFS=

# object linker: optimization
OPTLFLAGS=-s

# object linker: debug
DEBLFLAGS=-g

# options for installing programs
IBOPT=-c -s

# options for installing libs
ILOPT=-c

# options for installing man-pages
IMOPT=-c

# options for installing includes
IIOPT=-c

# options for linking files
LNOPT=-sf

# archiver options
AR_R = r

# options for creating directories
#MKDIROPT=-p
MKDIROPT= -m 755 -p

#############################################################################
# file extensions
#############################################################################

# extension of executable (e.g. ".exe")
EXE=

# extension of object file
OBJ=.o

# extension of (static) libs
LIB=.a

# extension of compiled pascal units
TPU=.ppu

# directory separator (DOS: "\\", Unix: "/")

ifeq (${OSTYPE}, UNIX)
  DIRSEP=/
else
  DIRSEP=\\
endif