/[MITgcm]/mitgcm.org/devel/buildweb/pkg/swish-e/src/vms/descrip_vax.mms
ViewVC logotype

Annotation of /mitgcm.org/devel/buildweb/pkg/swish-e/src/vms/descrip_vax.mms

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Fri Sep 20 19:47:29 2002 UTC (22 years, 10 months ago) by adcroft
Branch: Import, MAIN
CVS Tags: baseline, HEAD
Changes since 1.1: +0 -0 lines
Importing web-site building process.

1 adcroft 1.1 #
2     # Makefile derived from the Makefile coming with swish-e 1.3.2
3     # (original Makefile for SWISH Kevin Hughes, 3/12/95)
4     #
5     # The code has been tested to compile on OpenVMS 7.2-1
6     # JF. Piéronne jfp@altavista.net 6/11/00
7     #
8     # autoconf configuration by Bas Meijer, 1 June 2000
9     # Cross Platform Compilation on Solaris, HP-UX, IRIX and Linux
10     # Several ideas from a Makefile by Christian Lindig <lindig@ips.cs.tu-bs.de>
11     #
12     NAME = swish-e.exe
13     # C compiler
14     CC = CC
15    
16     SHELL = /bin/sh
17     prefix = @prefix@
18     bindir = $(prefix)/bin
19     mandir = $(prefix)/man
20     man1dir = $(mandir)/man1
21    
22     # Flags for C compiler
23     #CWARN=
24     CDEF = /def=(VMS,HAVE_CONFIG_H,STDC_HEADERS,"SWISH_VERSION=""2.1-dev-24""", -
25     REGEX_MALLOC, -
26     "XML_SetExternalEntityRefHandlerArg"="XML_SetExternalEntityRefHandArg")
27     CINCL= /include=([.expat.xmlparse],[.expat.xmltok])
28     CWARN=/warning=disable=(ZEROELEMENTS,PROTOSCOPE,OUTTYPELEN,PTRMISMATCH1,QUESTCOMPARE,LONGEXTERN)
29     #CDEBUG= /debug/noopt
30     CDEBUG=
31     CFLAGS = /prefix=all$(CINCL)$(CDEF)$(CWARN)$(CDEBUG)
32    
33     #LINKFLAGS = /debug
34     LINKFLAGS =
35     LIBS=
36    
37     #
38     # The objects for the different methods and
39     # some common aliases
40     #
41    
42     FILESYSTEM_OBJS=fs.obj
43     HTTP_OBJS=http.obj httpserver.obj
44     FS_OBJS=$(FILESYSTEM_OBJS)
45     WEB_OBJS=$(HTTP_OBJS)
46     VMS_OBJS = regex.obj
47    
48     OBJS= check.obj file.obj index.obj search.obj error.obj methods.obj\
49     hash.obj list.obj mem.obj string.obj merge.obj swish2.obj stemmer.obj \
50     soundex.obj docprop.obj compress.obj xml.obj txt.obj \
51     metanames.obj result_sort.obj html.obj search_alt.obj \
52     filter.obj parse_conffile.obj result_output.obj date_time.obj \
53     keychar_out.obj extprog.obj db.obj db_native.obj dump.obj \
54     entities.obj no_better_place_module.obj swish_words.obj \
55     proplimit.obj swish_qsort.obj ramdisk.obj rank.obj \
56     xmlparse.obj xmltok.obj xmlrole.obj \
57     $(FILESYSTEM_OBJS) $(HTTP_OBJS) $(VMS_OBJS)
58    
59     all : acconfig.h $(NAME) swish-search.exe ! testlib
60     !
61    
62     xmlparse.obj : [.expat.xmlparse]xmlparse.c
63    
64     xmltok.obj : [.expat.xmltok]xmltok.c
65    
66     xmlrole.obj : [.expat.xmltok]xmlrole.c
67    
68     $(NAME) : $(OBJS) libswish-e.olb swish.obj
69     link/exe=$(MMS$TARGET) $(LINKFLAGS) swish.obj, libswish-e.olb/lib
70    
71     testlib : testlib.exe
72     !
73    
74     testlib.exe : testlib.obj libswish-e.olb swish.obj
75     link/exe=$(MMS$TARGET) $(LINKFLAGS) testlib.obj, libswish-e.olb/lib
76    
77     libswish-e.olb : $(OBJS)
78     library/create $(MMS$TARGET) $(MMS$SOURCE_LIST)
79    
80     swish-search.exe : $(NAME)
81     copy $(NAME) swish-search.exe
82    
83     regex.obj : [.vms]regex.c [.vms]descrip.mms
84    
85     acconfig.h : [.vms]acconfig.h_vms
86     copy $(MMS$SOURCE) $(MMS$TARGET)
87    
88     clean :
89     delete [...]*.obj;*, [...]*.olb;*, index.swish;*, [-.tests]*.index;*
90    
91     realclean :
92     pur [-...]
93     delete [...]*.exe;*, [...]*.obj;*, [...]*.olb;*, index.swish;*, acconfig.h;*, [-.tests]*.index;*
94    
95     test : $(NAME)
96     set def [-.tests]
97     mc [-.src]swish-e -c test.config
98     write sys$output "test 1 (Normal search) ..."
99     mc [-.src]swish-e -f test.index -w test
100     write sys$output "test 1 (MetaTag search 1) ..."
101     mc [-.src]swish-e -f test.index -w meta1=metatest1
102     write sys$output "test 1 (MetaTag search 2) ..."
103     mc [-.src]swish-e -f test.index -w meta2=metatest2
104     write sys$output "test 1 (XML search) ..."
105     mc [-.src]swish-e -f ./test.index -w meta3=metatest3
106     write sys$output "test 1 (Phrase search) ..."
107     mc [-.src]swish-e -f test.index -w """three little pigs"""
108    
109    
110     $(OBJS) : [.vms]descrip.mms config.h swish.h acconfig.h
111    
112     swish.obj : [.vms]descrip.mms config.h swish.h acconfig.h
113    
114     install :
115     !
116    
117     man :
118     !
119    
120     #
121     # dependencies
122     #
123     check.obj : check.c swish.h config.h check.h hash.h
124     compress.obj : compress.c swish.h config.h error.h mem.h docprop.h index.h search.h merge.h compress.h
125     deflate.obj : deflate.c swish.h config.h error.h mem.h docprop.h index.h search.h merge.h deflate.h
126     docprop.obj : docprop.c swish.h config.h file.h hash.h mem.h merge.h \
127     error.h search.h string.h docprop.h compress.h
128     error.obj : error.c swish.h config.h error.h
129     file.obj : file.c swish.h config.h file.h mem.h string.h error.h list.h \
130     hash.h index.h
131     fs.obj : fs.c swish.h config.h index.h hash.h mem.h file.h string.h \
132     list.h
133     hash.obj : hash.c swish.h config.h hash.h mem.h string.h
134     http.obj : http.c swish.h config.h index.h hash.h string.h mem.h file.h \
135     http.h httpserver.h
136     httpserver.obj : httpserver.c swish.h config.h string.h mem.h http.h \
137     httpserver.h
138     index.obj : index.c swish.h config.h index.h hash.h mem.h string.h \
139     check.h search.h docprop.h stemmer.h compress.h
140     list.obj : list.c swish.h config.h list.h mem.h string.h
141     mem.obj : mem.c swish.h config.h mem.h error.h
142     merge.obj : merge.c swish.h config.h merge.h error.h search.h index.h \
143     string.h hash.h mem.h docprop.h compress.h
144     methods.obj : methods.c swish.h config.h
145     search.obj : search.c swish.h config.h search.h file.h list.h string.h \
146     merge.h hash.h mem.h docprop.h stemmer.h compress.h
147     stemmer.obj : stemmer.c swish.h config.h stemmer.h
148     soundex.obj : soundex.c swish.h config.h stemmer.h
149     string.obj : string.c swish.h config.h string.h mem.h
150     swish2.obj : swish2.c swish.h config.h error.h list.h search.h index.h \
151     string.h file.h merge.h docprop.h
152     swish.obj : swish.c swish.h config.h error.h list.h search.h index.h \
153     string.h file.h merge.h docprop.h
154     testlib.obj : testlib.c swish.h config.h error.h list.h search.h index.h \
155     string.h file.h merge.h docprop.h
156     txt.obj : txt.c txt.h swish.h mem.h string.h index.h
157     xml.obj : xml.c txt.h swish.h mem.h string.h index.h
158     proplimi.obj : swish.h string.h mem.h merge.h docprop.h index.h metanames.h \
159     compress.h error.h db.h result_sort.h swish_qsort.h proplimit.h

  ViewVC Help
Powered by ViewVC 1.1.22