home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-09 | 2.4 KB | 112 lines |
- # @(#) Imakefile 11.2 94/01/19
- #
- # Top level make of the WAIS system
- # brewster 2/91
- # jonathan 6/91
- #
- # S002, 14-Mar-95, kamalm@sco.com
- # tweaked to build only the libraries that Mosaic needs
- # S001, 19-Jan-94, hess
- # remove waisgate, nolonger needed, Mosaic understands wais directly now.
- # S000 18 Sep 1993 rr@sco.com
- # Placed under SCCS and turned into an Imakefile
- #
- # $Log: Makefile,v $
- # Revision 5.1 1992/07/10 21:29:30 curtisg
- # Distributed version
- #
- # Revision 1.8 92/05/07 15:54:08 jonathan
- # Updated for release.
- #
- # Revision 1.7 92/03/26 18:29:59 jonathan
- # Fixed some broken make lines.
- #
- # Revision 1.6 92/03/07 19:45:01 jonathan
- # Added recommendation for IBM.
- #
- # Revision 1.5 92/02/27 10:07:24 jonathan
- # got rid of automatic setting of TOP. Used Simon's approach instead.
- #
- # Revision 1.4 92/02/13 12:27:53 jonathan
- # Removed references to seeker.
- #
- # Revision 1.3 92/02/13 12:05:17 jonathan
- # Removed release targets.
- #
- # Revision 1.2 92/02/13 11:57:56 jonathan
- # Added $Log for RCS.
- #
- #
- # common customizations:
- # see the INCLUDES and DEFINES variables for pointers.
- #
- # to do:
- # create the scripts, install the pointer to this version if it is the
- # newest.
-
- #define IHaveSubdirs
- #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
-
- SUBDIRS = ftw ir
- # SUBDIRS = ftw ir ui bin x doc
- RELEASE = wais-8-b5
-
- RM = /bin/rm -f
- AR = ar
-
- # on SGIs set this to true
- RANLIB = true
-
- # on IBM RS6000 this should be c89.
- CC = cc $(EXTRA_LDOPTIONS)
-
- SUPDIR = ../ir
-
- # for old BSD add -DBSD
- # for System V add -DSYSV
- # for XENIX add -M3e -Zi
- # for a little better security in the server, add -DSECURE_SERVER
- # this sets the server user id to -u argument after startup.
- # for relevance feedaback in the search engine, add -DRELEVANCE_FEEDBACK
- # USG for Unix Dirent in lib
- # for SGIs running IRIX 4.0.1, add -cckr
- INCLUDES = -I$(SUPDIR)
- DEFINES = -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DUSG -DSYSV
-
- MAKE = make
-
- all:: config.h
-
- config.h:: config
- ./config >config.h
-
- config:: config.c
- $(CC) -o config config.c
-
- test::
- @echo $(MAKE) CC=$(CC) "INCLUDES=$(INCLUDES) DEFINES=$(DEFINES)"
-
- # Remove objects and library.
- clean::
- $(RM) *~
- $(RM) \#*\#
- $(RM) core
- $(RM) TAGS
- $(RM) -r SearchLog
- $(RM) wais-sources/wais-docs*
- $(RM) config config.h
- $(RM) lib\/*.a
- $(RM) lib/app-defaults\/*
-
- rlocks::
- $@
- cd ir; $@
- cd ui; $@
- cd bin; $@
- cd doc; $@
- cd x; $@
-
- DependSubdirs($(SUBDIRS))
- MakeSubdirs($(SUBDIRS))
- DependTarget()
-