Go to the first, previous, next, last section, table of contents.
/* Version numbers of library, daemon, and client: */
#define LibwwwVersion 2.17
#define DaemonVersion 3.0
/* Where to install binaries? */
BINDIR = /usr/local/infosystems/WWW/bin
/* Do you want to compile the WAIS gateway? If yes, where is freeWAIS
located?
*/
#define FreeWAIS_sf YES
#define FreeWAIS_02 NO
#define FreeWAIS_03 NO
#define FreeWais (FreeWAIS_02 || FreeWAIS_03)
#if FreeWais
/* WAISDIR = /usr/local/infosystems/freeWAIS-0.2 */
WAISDIR = /usr/local/infosystems/freeWAIS-0.3
WAISLIBDIR = $(WAISDIR)/bin
WAISINCDIR = $(WAISDIR)/ir
#endif
#if FreeWAIS_sf
WAISDIR = /usr/local/infosystems/freeWAIS-sf-1.0
WAISLIBDIR = $(WAISDIR)/ir
WAISINCDIR = $(WAISDIR)/ir
#endif
/*
* If you don't want to use GCC for compilation, but the compiler defaulted in
* Imake's configuration files, set UseGcc to NO. If you want to change the
* native's compiler default options, set CCOPTIONS and/or CDEBUGFLAGS as
* needed, preferrably depending on the architectur as show below.
*/
#define UseGcc YES
#if UseGcc /* use GNU C compiler: */
CC = gcc -fpcc-struct-return
CCOPTIONS =
#if defined (SunArchitecture) && !defined (i386Architecture) && !defined
(SparcArchitecture)
CCOPTIONS = -m68881
#endif /* Sun-3 */
#else /* use native C compiler: */
#if defined (HPArchitecture) && defined (hp9000s800)
CCOPTIONS = -Aa -D_HPUX_SOURCE -Wl,+b $(USRLIBDIR) -Wl,+s
#endif /* HPArchitecture */
#if defined (XyzArchitecture) /* e. g. IBMArchitecture, SGIArchitecture etc. */
CC = compiler-to-use
CCOPTIONS = compiler-options
#endif /* XyzArchitecture */
#endif /* UseGcc */
/* No need to modify anything below here */
LIBWWWDIR = $(TOP)/Library/Implementation
LIBWWW = -L$(LIBWWWDIR) -lwww
DEPLIBWWW = $(LIBWWWDIR)/libwww.a
#if FreeWais
LIBWAIS = $(WAISLIBDIR)/client.a $(WAISLIBDIR)/wais.a
DEPLIBWAIS = $(LIBWAIS)
#endif
#if FreeWaisSf
LIBWAIS = $(WAISLIBDIR)/libclient.a $(WAISLIBDIR)/libwais.a
DEPLIBWAIS = $(LIBWAIS)
#endif
/* Imake rule to create a generic name as a link */
#ifndef InstallAsLink
#define InstallAsLink(file,link,dir) @\
install:: file @\
set -x; cd dir; \ @\
$(RM) link; \ @\
$(LN) file link
#endif
Go to the first, previous, next, last section, table of contents.