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

Annotation of /mitgcm.org/devel/buildweb/pkg/swish-e/src/vms/descrip.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=(LIBXML2, 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)/FLOAT=IEEE_FLOAT
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     XML_PARSE = xmlparse.obj xmltok.obj xmlrole.obj
48     LIBXML2_LIB = ,libxml.olb/lib
49     LIBXML2_OBJS = parser.obj
50     SNPRINTF_OBJ = snprintf.obj
51    
52     OBJS= check.obj file.obj index.obj search.obj error.obj methods.obj\
53     hash.obj list.obj mem.obj string.obj merge.obj swish2.obj stemmer.obj \
54     soundex.obj docprop.obj compress.obj xml.obj txt.obj \
55     metanames.obj result_sort.obj html.obj search_alt.obj \
56     filter.obj parse_conffile.obj result_output.obj date_time.obj \
57     keychar_out.obj extprog.obj db.obj db_native.obj dump.obj \
58     entities.obj no_better_place_module.obj swish_words.obj \
59     proplimit.obj swish_qsort.obj ramdisk.obj rank.obj \
60     $(XML_PARSE)\
61     $(LIBXML2_OBJS)\
62     $(FILESYSTEM_OBJS) $(HTTP_OBJS) $(VMS_OBJS) $(SNPRINTF_OBJ)
63    
64     all : acconfig.h $(NAME) swish-search.exe ! testlib
65     !
66    
67     xmlparse.obj : [.expat.xmlparse]xmlparse.c
68    
69     xmltok.obj : [.expat.xmltok]xmltok.c
70    
71     xmlrole.obj : [.expat.xmltok]xmlrole.c
72    
73     snprintf.obj : [.vms.snprintf_2_2]snprintf.c
74    
75     $(NAME) : $(OBJS) libswish-e.olb swish.obj
76     link/exe=$(MMS$TARGET) $(LINKFLAGS) swish.obj, -
77     libswish-e.olb/lib $(LIBXML2_LIB)
78    
79     testlib : testlib.exe
80     !
81    
82     testlib.exe : testlib.obj libswish-e.olb swish.obj
83     link/exe=$(MMS$TARGET) $(LINKFLAGS) testlib.obj, libswish-e.olb/lib
84    
85     libswish-e.olb : $(OBJS)
86     library/create $(MMS$TARGET) $(MMS$SOURCE_LIST)
87    
88     swish-search.exe : $(NAME)
89     copy $(NAME) swish-search.exe
90    
91     regex.obj : [.vms]regex.c [.vms]descrip.mms
92    
93     acconfig.h : [.vms]acconfig.h_vms
94     copy $(MMS$SOURCE) $(MMS$TARGET)
95    
96     clean :
97     delete [...]*.obj;*, [...]*.olb;*, index.swish;*, [-.tests]*.index;*
98    
99     realclean :
100     pur [-...]
101     delete [...]*.exe;*, [...]*.obj;*, [...]*.olb;*, index.swish;*, acconfig.h;*, [-.tests]*.index;*
102    
103     test : $(NAME)
104     set def [-.tests]
105     mc [-.src]swish-e -c test.config
106     write sys$output "test 1 (Normal search) ..."
107     mc [-.src]swish-e -f test.index -w test
108     write sys$output "test 1 (MetaTag search 1) ..."
109     mc [-.src]swish-e -f test.index -w meta1=metatest1
110     write sys$output "test 1 (MetaTag search 2) ..."
111     mc [-.src]swish-e -f test.index -w meta2=metatest2
112     write sys$output "test 1 (XML search) ..."
113     mc [-.src]swish-e -f ./test.index -w meta3=metatest3
114     write sys$output "test 1 (Phrase search) ..."
115     mc [-.src]swish-e -f test.index -w """three little pigs"""
116    
117    
118     $(OBJS) : [.vms]descrip.mms config.h swish.h acconfig.h
119    
120     swish.obj : [.vms]descrip.mms config.h swish.h acconfig.h
121    
122     install :
123     !
124    
125     man :
126     !
127    
128     #
129     # dependencies
130     #
131     check.obj : check.c swish.h config.h check.h hash.h
132     compress.obj : compress.c swish.h config.h error.h mem.h docprop.h index.h search.h merge.h compress.h
133     deflate.obj : deflate.c swish.h config.h error.h mem.h docprop.h index.h search.h merge.h deflate.h
134     docprop.obj : docprop.c swish.h config.h file.h hash.h mem.h merge.h \
135     error.h search.h string.h docprop.h compress.h
136     error.obj : error.c swish.h config.h error.h
137     file.obj : file.c swish.h config.h file.h mem.h string.h error.h list.h \
138     hash.h index.h
139     fs.obj : fs.c swish.h config.h index.h hash.h mem.h file.h string.h \
140     list.h
141     hash.obj : hash.c swish.h config.h hash.h mem.h string.h
142     http.obj : http.c swish.h config.h index.h hash.h string.h mem.h file.h \
143     http.h httpserver.h
144     httpserver.obj : httpserver.c swish.h config.h string.h mem.h http.h \
145     httpserver.h
146     index.obj : index.c swish.h config.h index.h hash.h mem.h string.h \
147     check.h search.h docprop.h stemmer.h compress.h
148     list.obj : list.c swish.h config.h list.h mem.h string.h
149     mem.obj : mem.c swish.h config.h mem.h error.h
150     merge.obj : merge.c swish.h config.h merge.h error.h search.h index.h \
151     string.h hash.h mem.h docprop.h compress.h
152     methods.obj : methods.c swish.h config.h
153     search.obj : search.c swish.h config.h search.h file.h list.h string.h \
154     merge.h hash.h mem.h docprop.h stemmer.h compress.h
155     stemmer.obj : stemmer.c swish.h config.h stemmer.h
156     soundex.obj : soundex.c swish.h config.h stemmer.h
157     string.obj : string.c swish.h config.h string.h mem.h
158     swish2.obj : swish2.c swish.h config.h error.h list.h search.h index.h \
159     string.h file.h merge.h docprop.h
160     swish.obj : swish.c swish.h config.h error.h list.h search.h index.h \
161     string.h file.h merge.h docprop.h
162     testlib.obj : testlib.c swish.h config.h error.h list.h search.h index.h \
163     string.h file.h merge.h docprop.h
164     txt.obj : txt.c txt.h swish.h mem.h string.h index.h
165     xml.obj : xml.c txt.h swish.h mem.h string.h index.h
166     proplimi.obj : swish.h string.h mem.h merge.h docprop.h index.h metanames.h \
167     compress.h error.h db.h result_sort.h swish_qsort.h proplimit.h

  ViewVC Help
Powered by ViewVC 1.1.22