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

Contents of /mitgcm.org/devel/buildweb/pkg/swish-e/src/vms/descrip_axp.mms

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


Revision 1.1.1.1 - (show 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 #
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 "XML_SetExternalEntityRefHandlerArg"="XML_SetExternalEntityRefHandArg")
26 CINCL= /include=([.expat.xmlparse],[.expat.xmltok])
27 CWARN=/warning=disable=(ZEROELEMENTS,PROTOSCOPE,OUTTYPELEN,PTRMISMATCH1,QUESTCOMPARE,LONGEXTERN)
28 #CDEBUG= /debug/noopt
29 CDEBUG=
30 CFLAGS = /prefix=all$(CINCL)$(CDEF)$(CWARN)$(CDEBUG)
31
32 #LINKFLAGS = /debug
33 LINKFLAGS =
34 LIBS=
35
36 #
37 # The objects for the different methods and
38 # some common aliases
39 #
40
41 FILESYSTEM_OBJS=fs.obj
42 HTTP_OBJS=http.obj httpserver.obj
43 FS_OBJS=$(FILESYSTEM_OBJS)
44 WEB_OBJS=$(HTTP_OBJS)
45 VMS_OBJS = regex.obj
46
47 OBJS= check.obj file.obj index.obj search.obj error.obj methods.obj\
48 hash.obj list.obj mem.obj string.obj merge.obj swish2.obj stemmer.obj \
49 soundex.obj docprop.obj compress.obj xml.obj txt.obj \
50 metanames.obj result_sort.obj html.obj search_alt.obj \
51 filter.obj parse_conffile.obj result_output.obj date_time.obj \
52 keychar_out.obj extprog.obj db.obj db_native.obj dump.obj \
53 entities.obj no_better_place_module.obj swish_words.obj \
54 proplimit.obj swish_qsort.obj ramdisk.obj rank.obj \
55 xmlparse.obj xmltok.obj xmlrole.obj \
56 $(FILESYSTEM_OBJS) $(HTTP_OBJS) $(VMS_OBJS)
57
58 all : acconfig.h $(NAME) swish-search.exe ! testlib
59 !
60
61 xmlparse.obj : [.expat.xmlparse]xmlparse.c
62
63 xmltok.obj : [.expat.xmltok]xmltok.c
64
65 xmlrole.obj : [.expat.xmltok]xmlrole.c
66
67 $(NAME) : $(OBJS) libswish-e.olb swish.obj
68 link/exe=$(MMS$TARGET) $(LINKFLAGS) swish.obj, libswish-e.olb/lib
69
70 testlib : testlib.exe
71 !
72
73 testlib.exe : testlib.obj libswish-e.olb swish.obj
74 link/exe=$(MMS$TARGET) $(LINKFLAGS) testlib.obj, libswish-e.olb/lib
75
76 libswish-e.olb : $(OBJS)
77 library/create $(MMS$TARGET) $(MMS$SOURCE_LIST)
78
79 swish-search.exe : $(NAME)
80 copy $(NAME) swish-search.exe
81
82 regex.obj : [.vms]regex.c [.vms]descrip.mms
83
84 acconfig.h : [.vms]acconfig.h_vms
85 copy $(MMS$SOURCE) $(MMS$TARGET)
86
87 clean :
88 delete [...]*.obj;*, [...]*.olb;*, index.swish;*, [-.tests]*.index;*
89
90 realclean :
91 pur [-...]
92 delete [...]*.exe;*, [...]*.obj;*, [...]*.olb;*, index.swish;*, acconfig.h;*, [-.tests]*.index;*
93
94 test : $(NAME)
95 set def [-.tests]
96 mc [-.src]swish-e -c test.config
97 write sys$output "test 1 (Normal search) ..."
98 mc [-.src]swish-e -f test.index -w test
99 write sys$output "test 1 (MetaTag search 1) ..."
100 mc [-.src]swish-e -f test.index -w meta1=metatest1
101 write sys$output "test 1 (MetaTag search 2) ..."
102 mc [-.src]swish-e -f test.index -w meta2=metatest2
103 write sys$output "test 1 (XML search) ..."
104 mc [-.src]swish-e -f ./test.index -w meta3=metatest3
105 write sys$output "test 1 (Phrase search) ..."
106 mc [-.src]swish-e -f test.index -w """three little pigs"""
107
108
109 $(OBJS) : [.vms]descrip.mms config.h swish.h acconfig.h
110
111 swish.obj : [.vms]descrip.mms config.h swish.h acconfig.h
112
113 install :
114 !
115
116 man :
117 !
118
119 #
120 # dependencies
121 #
122 check.obj : check.c swish.h config.h check.h hash.h
123 compress.obj : compress.c swish.h config.h error.h mem.h docprop.h index.h search.h merge.h compress.h
124 deflate.obj : deflate.c swish.h config.h error.h mem.h docprop.h index.h search.h merge.h deflate.h
125 docprop.obj : docprop.c swish.h config.h file.h hash.h mem.h merge.h \
126 error.h search.h string.h docprop.h compress.h
127 error.obj : error.c swish.h config.h error.h
128 file.obj : file.c swish.h config.h file.h mem.h string.h error.h list.h \
129 hash.h index.h
130 fs.obj : fs.c swish.h config.h index.h hash.h mem.h file.h string.h \
131 list.h
132 hash.obj : hash.c swish.h config.h hash.h mem.h string.h
133 http.obj : http.c swish.h config.h index.h hash.h string.h mem.h file.h \
134 http.h httpserver.h
135 httpserver.obj : httpserver.c swish.h config.h string.h mem.h http.h \
136 httpserver.h
137 index.obj : index.c swish.h config.h index.h hash.h mem.h string.h \
138 check.h search.h docprop.h stemmer.h compress.h
139 list.obj : list.c swish.h config.h list.h mem.h string.h
140 mem.obj : mem.c swish.h config.h mem.h error.h
141 merge.obj : merge.c swish.h config.h merge.h error.h search.h index.h \
142 string.h hash.h mem.h docprop.h compress.h
143 methods.obj : methods.c swish.h config.h
144 search.obj : search.c swish.h config.h search.h file.h list.h string.h \
145 merge.h hash.h mem.h docprop.h stemmer.h compress.h
146 stemmer.obj : stemmer.c swish.h config.h stemmer.h
147 soundex.obj : soundex.c swish.h config.h stemmer.h
148 string.obj : string.c swish.h config.h string.h mem.h
149 swish2.obj : swish2.c swish.h config.h error.h list.h search.h index.h \
150 string.h file.h merge.h docprop.h
151 swish.obj : swish.c swish.h config.h error.h list.h search.h index.h \
152 string.h file.h merge.h docprop.h
153 testlib.obj : testlib.c swish.h config.h error.h list.h search.h index.h \
154 string.h file.h merge.h docprop.h
155 txt.obj : txt.c txt.h swish.h mem.h string.h index.h
156 xml.obj : xml.c txt.h swish.h mem.h string.h index.h
157 proplimi.obj : swish.h string.h mem.h merge.h docprop.h index.h metanames.h \
158 compress.h error.h db.h result_sort.h swish_qsort.h proplimit.h

  ViewVC Help
Powered by ViewVC 1.1.22