# Makefile configuration for Husky packages contains settings # used during their build. You have to modify this file according # to your needs. Alternatively you may give any such settings as # command line arguments to `make` invocation. Command line arguments # to `make` override any values given in this file or in any makefile. # There are two types of settings here. A setting of the first type # contains a string as its value. A setting of the second type is a # switch and may take two values, either 0 or 1. The value of 1 means # the switch is on and the value of 0 means it is off. A commented out # setting of the second type has the same meaning as having the value 0. ############################################################################## # PART 1: PROGRAMS AND SOME OPTIONS # Most likely you will need to change something here to match your preferences ############################################################################## # A list of programs to be built separated by spaces. Do not include here any # libraries on which the programs depend, since the libraries will be # built automatically. You may remove any program from the list, but to add # a program missing in the current list, one has to change makefiles. # PROGRAMS=hpt htick hptkill hptsqfix hptutil sqpack msged fidoroute util areastat nltools bsopack hpucode # Switch on a possibility to use Perl hooks in hpt. This has nothing to do # with standalone Perl scripts including scripts in "util" subproject. PERL=1 # Use internal ZIP packer USE_HPTZIP=1 # The DYNLIBS switch controls if dynamic or static linkage is used. # If you set DYNLIBS=1, dynamic libraries (.so files) will be generated # and used. DYNLIBS=0 # Do you want debug information? (This is for developers only.) DEBUG=0 # Whether to build and install huskylib utility (gnmsgid) GNMSGID=1 # Whether to build and install fidoconf utilities (fconf2binkd, # fconf2fidogate, fconf2golded, fconf2aquaed, fconf2msged, fconf2squish, # fconf2tornado, fecfg2fconf, linked) and also whether to install the # utilities from fidoconf/util directory of the sources. The setting # also applies to the man pages for the utilities. But this does not # apply to tparser which is always built. FIDOCONF_UTIL=1 # Whether to build and install hpt utilities (pktinfo, tpkt, txt2pkt, hptlink # and hpttree). If PROGRAMS does not include "hpt", this setting is ignored # and the utilities are not built. HPT_UTIL=1 # Whether to create HTML documentation. If DOCDIR (see PART 2: DIRECTORIES # AND FILENAMES below) is commented out, this setting is ignored. HTML=1 # Whether to create plain text documentation. If DOCDIR (see PART 2: # DIRECTORIES AND FILENAMES below) is commented out, this setting # is ignored. TXT=1 # Whether to create DVI documentation. This requires a "texi2dvi" program. # If DOCDIR (see PART 2: DIRECTORIES AND FILENAMES below) is commented # out, this setting is ignored. #DVI=1 # Whether to create PDF documentation. This requires a fairly new version of # the "texi2dvi" program. If DOCDIR (see PART 2: DIRECTORIES AND FILENAMES # below) is commented out, this setting is ignored. #PDF=1 # Default codepage for Msged. One of the following values may be used: # CP437, CP850, CP865, CP866, KOI8-R, CP1125, LATIN-1, ISO-5 CODEPAGE=KOI8-R ############################################################################## # PART 2: DIRECTORIES AND FILENAMES # Most likely you will need to change something here. # Specify all directories without a trailing slash. ############################################################################## # A subdirectory for the source files _SRC_DIR=src # A subdirectory for the files created during the build BUILDDIR=Build # A subdirectory for object files OBJDIR=${BUILDDIR}/obj # A subdirectory for generated dependency makefiles DEPDIR=${BUILDDIR}/dep # Prefix for all installation directories # Set to your homedir if you have no root privilegies PREFIX=/usr/local # Where to put dynamic libraries (*.so files) when DYNLIBS=1. # You should take care that this directory is listed in the LD_LIBRARY_PATH # environment variable (if necessary, modify your /etc/profile file). Some # 64-bit operating systems use ${PREFIX}/lib here. LIBDIR=${PREFIX}/lib64 # Where to put programs. BINDIR=${PREFIX}/bin # Where to put manual pages. If you comment this out, no manual # pages will be produced. MAN1DIR=${PREFIX}/share/man/man1 MAN3DIR=${PREFIX}/share/man/man3 MAN5DIR=${PREFIX}/share/man/man5 # The fidoconfig config file will be in this directory: CFGDIR=~/fido/etc/husky # Filename (without path) for the config file (default: config) #CFGNAME=config # Name of the config file of MSGED TE: MSGEDCFG=\"$(CFGDIR)/msged.cfg\" # If you have a working texinfo installation (consisting of the "makeinfo" # and "install-info" programs) and do not comment out the following setting, # it will cause GNU info documentation to be built and installed into the given # directory. INFODIR=${PREFIX}/share/info # A directory for documentation in HTML, TXT, DVI, PDF formats. # If you comment it out, no documention in these formats will be produced and # you won't know how to use the software ;-). DOCDIR=${PREFIX}/share/doc/husky ############################################################################## # PART 3: 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 # C++-Compiler CXX=g++ # Msged needs access to a termcap library. Define its name here. # On Linux, termcap is integrated into ncurses: TERMCAP=ncurses # archiver (for object-files) AR=ar # How to build shared libraries. # Use gcc on Linux and clang on FreeBSD, # use ld on BeOS and also try ld if gcc does not work for you. # Only gcc and clang will put so version numbers into the shared object. # On Solaris use "-G" as additional linkerflag !!!!!!! # MKSHARED=ld # LD=ld -G MKSHARED=gcc # remove a file RM=rm # remove a directory RMDIR=rmdir # 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 # 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=ar s # Git is a fast, scalable, distributed revision control system with an # unusually rich command set that provides both high-level operations # and full access to internals. GIT=git # Print real and effective user and group IDs ID=id # Change file timestamps TOUCH=touch # Translate Texinfo source documentation to various other formats MAKEINFO=makeinfo # Convert Texinfo documents to DVI or PDF TEXI2DVI=texi2dvi # Compress man and info pages. Gzip, bzip2 and xz are supported. The filename # extension of compressed pages is defined by _COMPR (See the "filename # extensions" section below). Comment COMPRESS out to cancel compression COMPRESS=gzip ############################################################################# # 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 # C-compiler: specify the name of the object file OBJNAMEFLAG=-o # C-compiler: specify the name of the executable file EXENAMEFLAG=-o # C-compiler: generate warnings WARNFLAGS=-Wall # C-compiler: optimization OPTCFLAGS=-c -g0 -O3 -fomit-frame-pointer -fPIC # C-compiler: debug DEBCFLAGS=-c -g -Og -fPIC # C-compiler: additional defines, for features of your OS # On Solaris, Msged only works with the curses interface, so use: #ADDCDEFS+=-DUSE_CURSES # Some FS and some OS don't support filelocking. Try alternative locking # *** THIS IS BETA-CODE *** report problems or success to FIDOSOFT.HUSKY *** #ADDCDEFS+=-DALTLOCKING # If your are not under UNIX, EMX or DJGPP and have popen() uncomment this: #ADDCDEFS+=-DHAVE_POPEN # object linker: strip symbols OPTLFLAGS=-s # object linker: debug DEBLFLAGS=-g # options for installing programs OPTIBOPT=-c -s -m 555 DEBIBOPT=-c -m 555 # options for installing scripts ISOPT=-c -m 555 # options for installing shared libs ILOPT=-c -m 555 # options for installing man-pages IMOPT=-c -m 444 # options for making symbolic links LNOPT=-s -f # option for making hard links LNHOPT=-f # archiver options AR_R = r # options for creating directories MKDIROPT=-p # options for removing files (e.g. for clean, distclean, uninstall) RMOPT=-f # option for cloning a git repository CLONE=clone # option for updating a local git repository from the remote one PULL=pull # an option for `id`: print only the effective user ID IDOPT=-u # Makeinfo option: generate only one output file MINOSPLIT=--no-split # Makeinfo option: produce HTML MIHTML=--html # Makeinfo option: produce plain text MIPTEXT=--plaintext # Makeinfo option: produce PDF (texi2dvi must be installed) MIPDF=--pdf # Makeinfo option: output file MIOUT=-o ############################################################################# # filename extensions ############################################################################# # extension of an executable (e.g. ".exe") _EXE= # extension of an object file _OBJ=.o # extension of a C source file _C=.c # extension of static libs _LIB=.a # extension of dynamic libs _DLL=.so # extension of a generated dependency makefile _DEP=.d # extension of compressed man and info pages. See COMPRESS _COMPR=.gz # directory separator (DOS-like: "\\", Unix-like: "/") DIRSEP=/