forked from zhaozg/lua-openssl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.win
More file actions
25 lines (16 loc) · 858 Bytes
/
Copy pathMakefile.win
File metadata and controls
25 lines (16 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: Makefile.win,v 1.11 2008/05/07 19:06:37 carregal Exp $
T= openssl
include config.win
OBJS=src\auxiliar.obj src\bio.obj src\cipher.obj src\crl.obj src\csr.obj src\digest.obj src\misc.obj src\openssl.obj src\pkcs12.obj src\pkcs7.obj src\pkey.obj src\x509.obj src\ots.obj src\conf.obj
lib: src\$T.dll
.c.obj:
$(CC) /nologo /c /Fo$@ $(CFLAGS) $<
src\$T.dll: $(OBJS)
link /DLL /out:src\$T.dll $(OBJS) "$(LUA_LIB)" "$(OPENSSL_LIB)" wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
IF EXIST src\$T.dll.manifest mt -manifest src\$T.dll.manifest -outputresource:src\$T.dll;2
install: src\$T.dll
IF NOT EXIST "$(LUA_LIBDIR)" mkdir "$(LUA_LIBDIR)"
copy src\$T.dll "$(LUA_LIBDIR)"
clean:
del src\$T.dll $(OBJS) src\$T.lib src\$T.exp
IF EXIST src\$T.dll.manifest del src\$T.dll.manifest