File

util-src/Makefile.win @ 625:cad4dcfbf295

Change xmlhandlers to match stream opening tag with ns+tag
author Matthew Wild <mwild1@gmail.com>
date Tue, 16 Dec 2008 02:33:08 +0000
parent 442:722f63c70a77
child 1830:dc4d47d91d66
line wrap: on
line source


LUA_PATH=$(LUA_DEV)
IDN_PATH=.\libidn-1.9
OPENSSL_PATH=.\openssl-0.9.8i

LUA_INCLUDE=$(LUA_PATH)\include
LUA_LIB=$(LUA_PATH)\lib\lua5.1.lib

IDN_LIB=$(IDN_PATH)\win32\lib\libidn.lib
IDN_INCLUDE1=$(IDN_PATH)\lib
IDN_INCLUDE2=$(IDN_PATH)\win32\include
OPENSSL_LIB=$(OPENSSL_PATH)\out32dll\libeay32.lib
OPENSSL_INCLUDE=$(OPENSSL_PATH)\include

all: encodings.dll hashes.dll

install: encodings.dll hashes.dll
	copy /Y *.dll ..\util\

clean:
	del encodings.dll encodings.exp encodings.lib encodings.obj
	del hashes.dll hashes.exp hashes.lib hashes.obj

encodings.dll: encodings.c
	cl /LD /nologo encodings.c /I"$(LUA_INCLUDE)" /I"$(IDN_INCLUDE1)" /I"$(IDN_INCLUDE2)" /link "$(LUA_LIB)" "$(IDN_LIB)" /export:luaopen_util_encodings

hashes.dll: hashes.c
	cl /LD /nologo hashes.c /I"$(LUA_INCLUDE)" /I"$(OPENSSL_INCLUDE)" /link "$(LUA_LIB)" "$(OPENSSL_LIB)" /export:luaopen_util_hashes