-# Copyright (C) 2005-2011 Index Data
+# Copyright (C) 2005-2013 Index Data
# All rights reserved.
# MS NMAKE makefile for metaproxy
DEBUG=0 # 0 for release, 1 for debug
# Metaproxy version
-VERSION=1.3.13
+VERSION=1.3.59
# YAZ and YAZ++ directories
YAZ_DIR=..\..\yaz
YAZPP_DIR=..\..\yazpp
# Boost
-BOOST=\program files\boost\boost_1_43
-BOOST_VERSION=1_43
+BOOST=\program files\boost\boost_1_51
+BOOST_VERSION=1_51
BOOST_TOOLSET=vc90 # vc90 for VS2008, vc80 for VS 2005, vc71 for 2003
BOOST_MODEL=mt
all: dirs config yaz yazpp libxslt progs
-progs: metaproxy ex_filter_frontend_net # test_pipe does not work
+progs: metaproxy # test_pipe does not work
NSIS="c:\program files\nsis\makensis.exe"
nsis: all
############### Targets - what to make
###########################################################
-EX_FILTER_FRONTEND_NET=$(BINDIR)\ex_filter_frontend_net.exe
METAPROXY_PROG=$(BINDIR)\metaproxy.exe
TEST_PIPE=$(BINDIR)\test_pipe.exe
# shortcut names defined here
-ex_filter_frontend_net: $(EX_FILTER_FRONTEND_NET)
metaproxy: $(METAPROXY_PROG)
test_pipe: $(TEST_PIPE)
!if $(DEBUG)
YAZD=yaz4d
-YAZPPD=yazpp4d
+YAZPPD=yazpp5d
!else
YAZD=yaz4
-YAZPPD=yazpp4
+YAZPPD=yazpp5
!endif
# YAZ includes & libs
BOOST_DEF = /I"$(BOOST)"
BOOST_LIB = \
- "$(BOOST)\lib\libboost_thread-$(BOOST_LIB_SUFFIX)" \
- "$(BOOST)\lib\libboost_regex-$(BOOST_LIB_SUFFIX)" \
- "$(BOOST)\lib\libboost_date_time-$(BOOST_LIB_SUFFIX)"
+ /LIBPATH:"$(BOOST)\lib" \
+ "libboost_thread-$(BOOST_LIB_SUFFIX)" \
+ "libboost_regex-$(BOOST_LIB_SUFFIX)" \
+ "libboost_date_time-$(BOOST_LIB_SUFFIX)"
LIBXSLT_DEF = \
/I"$(ICONV_DIR)\include" \
$(OBJDIR)\filter_bounce.obj \
$(OBJDIR)\filter_cql_to_rpn.obj \
$(OBJDIR)\filter_frontend_net.obj \
+ $(OBJDIR)\filter_http_client.obj \
$(OBJDIR)\filter_http_file.obj \
+ $(OBJDIR)\filter_http_rewrite.obj \
+ $(OBJDIR)\filter_http_rewrite1.obj \
$(OBJDIR)\filter_limit.obj \
$(OBJDIR)\filter_load_balance.obj \
$(OBJDIR)\filter_log.obj \
$(OBJDIR)\filter_multi.obj \
+ $(OBJDIR)\filter_present_chunk.obj \
$(OBJDIR)\filter_query_rewrite.obj \
$(OBJDIR)\filter_record_transform.obj \
+ $(OBJDIR)\filter_sd_remove.obj \
$(OBJDIR)\filter_session_shared.obj \
+ $(OBJDIR)\filter_sort.obj \
$(OBJDIR)\filter_sru_to_z3950.obj \
$(OBJDIR)\filter_template.obj \
$(OBJDIR)\filter_virt_db.obj \
$(OBJDIR)\filter_zeerex_explain.obj \
$(OBJDIR)\filter_zoom.obj \
$(OBJDIR)\gduutil.obj \
+ $(OBJDIR)\html_parser.obj \
$(OBJDIR)\origin.obj \
$(OBJDIR)\package.obj \
$(OBJDIR)\pipe.obj \
$(OBJDIR)\plainfile.obj \
$(OBJDIR)\router_chain.obj \
$(OBJDIR)\router_flexml.obj \
+ $(OBJDIR)\router_xml.obj \
$(OBJDIR)\session.obj \
$(OBJDIR)\sru_util.obj \
$(OBJDIR)\thread_pool_observer.obj \
$(OBJDIR)\util.obj \
$(OBJDIR)\xmlutil.obj
-EX_FILTER_FRONTEND_NET_OBJS = $(OBJDIR)\ex_filter_frontend_net.obj
METAPROXY_OBJS = $(OBJDIR)\metaproxy_prog.obj
TEST_PIPE_OBJS = $(OBJDIR)\test_pipe.obj
############### Linking
###########################################################
-$(EX_FILTER_FRONTEND_NET) : "$(BINDIR)" $(EX_FILTER_FRONTEND_NET_OBJS) $(PROJECT_DLL_OBJS)
- $(LINK) \
- $(LNKOPT) \
- $(PROG_LINK_OPTIONS) \
- $(LINK_LIBS) \
- $(PROJECT_DLL_OBJS) \
- $(EX_FILTER_FRONTEND_NET_OBJS) \
- /out:$(EX_FILTER_FRONTEND_NET)
-
$(METAPROXY_PROG) : "$(BINDIR)" $(METAPROXY_OBJS) $(PROJECT_DLL_OBJS)
$(LINK) \
$(LNKOPT) \