source: trunk/protemix/src/recpt/Makefile.in@ 3162

Last change on this file since 3162 was 3162, checked in by sjboddie, 20 years ago

Initial revision

  • Property svn:keywords set to Author Date Id Revision
File size: 4.2 KB
Line 
1###########################################################################
2#
3# Makefile -- Makefile for ptmx
4# A component of the Greenstone digital library software
5# from the New Zealand Digital Library Project at the
6# University of Waikato, New Zealand.
7#
8# Copyright (C) 2002 New Zealand Digital Library Project
9#
10# This program is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License as published by
12# the Free Software Foundation; either version 2 of the License, or
13# (at your option) any later version.
14#
15# This program is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18# GNU General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
21# along with this program; if not, write to the Free Software
22# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23#
24###########################################################################
25
26GD = ../../../..
27MAINRECPTDIR = $(GD)/src/recpt
28MAINCOLSERVRDIR = $(GD)/src/colservr
29
30
31AR = ar
32CC = @CC@
33CCFLAGS = @CFLAGS@
34DEFS = -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER @DEFS@
35
36INCLUDES = -I. -I$(MAINRECPTDIR) -I$(MAINCOLSERVRDIR) -I$(GD)/lib \
37 -I$(GD)/packages/mg -I$(GD)/packages/mg/lib -I$(GD)/packages/mg/src/text \
38 -I$(GD)/src/mgpp/lib -I$(GD)/src/mgpp/text
39
40RANLIB = @RANLIB@
41LDFLAGS = @LDFLAGS@
42LIBS = @LIBS@
43
44GSDLOS = @gsdlos@
45
46
47COMPILE = $(CC) -c $(CCFLAGS) $(DEFS) $(INCLUDES)
48LINK = $(CC) $(LDFLAGS) -o $@
49
50.SUFFIXES:
51.SUFFIXES: .c .o
52.c.o:
53 $(COMPILE) $<
54
55.SUFFIXES: .cpp .o
56.cpp.o:
57 $(COMPILE) $<
58
59HEADERS = ptmxqueryaction.h
60
61SOURCES = ptmxmain.cpp ptmxqueryaction.cpp
62
63OBJECTS = ptmxmain.o ptmxqueryaction.o
64
65EXEC = ptmx
66
67all : $(EXEC)
68
69install: $(EXEC)
70 install -m 755 -s $(EXEC) $(GD)/cgi-bin/$(EXEC)
71
72distclean:
73 rm -f $(OBJECTS) $(EXEC) Makefile
74
75clean:
76 rm -f $(OBJECTS) $(EXEC)
77
78depend:
79 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
80
81
82# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
83
84
85PTMX_OBJS = $(OBJECTS) \
86 $(MAINRECPTDIR)/browsetools.o \
87 $(MAINRECPTDIR)/browserclass.o \
88 $(MAINRECPTDIR)/vlistbrowserclass.o \
89 $(MAINRECPTDIR)/hlistbrowserclass.o \
90 $(MAINRECPTDIR)/datelistbrowserclass.o \
91 $(MAINRECPTDIR)/invbrowserclass.o \
92 $(MAINRECPTDIR)/pagedbrowserclass.o \
93 $(MAINRECPTDIR)/htmlbrowserclass.o \
94 $(MAINRECPTDIR)/receptionist.o \
95 $(MAINRECPTDIR)/recptconfig.o \
96 $(MAINRECPTDIR)/cgiwrapper.o \
97 $(MAINRECPTDIR)/cgiargs.o \
98 $(MAINRECPTDIR)/action.o \
99 $(MAINRECPTDIR)/converter.o \
100 $(MAINRECPTDIR)/cgiutils.o \
101 $(MAINRECPTDIR)/OIDtools.o \
102 $(MAINRECPTDIR)/htmlgen.o \
103 $(MAINRECPTDIR)/pageaction.o \
104 $(MAINRECPTDIR)/comtypes.o \
105 $(MAINRECPTDIR)/recptproto.o \
106 $(MAINRECPTDIR)/queryaction.o \
107 $(MAINRECPTDIR)/querytools.o \
108 $(MAINRECPTDIR)/documentaction.o \
109 $(MAINRECPTDIR)/htmlutils.o \
110 $(MAINRECPTDIR)/nullproto.o \
111 $(MAINRECPTDIR)/infodbclass.o \
112 $(MAINRECPTDIR)/formattools.o \
113 $(MAINRECPTDIR)/historydb.o \
114 $(MAINRECPTDIR)/summarise.o \
115 $(MAINRECPTDIR)/extlinkaction.o \
116 $(MAINRECPTDIR)/phindaction.o \
117 $(MAINRECPTDIR)/phindbrowserclass.o \
118 $(MAINCOLSERVRDIR)/mgq.o \
119 $(MAINCOLSERVRDIR)/querycache.o \
120 $(MAINCOLSERVRDIR)/queryinfo.o \
121 $(MAINCOLSERVRDIR)/collectset.o \
122 $(MAINCOLSERVRDIR)/collectserver.o \
123 $(MAINCOLSERVRDIR)/colservrconfig.o \
124 $(MAINCOLSERVRDIR)/maptools.o \
125 $(MAINCOLSERVRDIR)/filter.o \
126 $(MAINCOLSERVRDIR)/source.o \
127 $(MAINCOLSERVRDIR)/browsefilter.o \
128 $(MAINCOLSERVRDIR)/queryfilter.o \
129 $(MAINCOLSERVRDIR)/mgqueryfilter.o \
130 $(MAINCOLSERVRDIR)/mgppqueryfilter.o \
131 $(MAINCOLSERVRDIR)/phrasesearch.o \
132 $(MAINCOLSERVRDIR)/mggdbmsource.o \
133 $(MAINCOLSERVRDIR)/search.o \
134 $(MAINCOLSERVRDIR)/mgsearch.o \
135 $(MAINCOLSERVRDIR)/mgppsearch.o \
136 $(GD)/lib/gsdllib.a \
137 $(GD)/packages/mg/src/text/libtextin.a \
138 $(GD)/packages/mg/lib/libmg.a \
139 $(GD)/src/mgpp/text/libtextin.a \
140 $(GD)/src/mgpp/lib/libmg.a
141
142ptmx: $(PTMX_OBJS)
143 $(LINK) $(PTMX_OBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.