aboutsummaryrefslogtreecommitdiff
path: root/src/tls
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2004-10-10 17:15:24 +0000
committerAlexey Shchepin <alexey@process-one.net>2004-10-10 17:15:24 +0000
commite9f6529ead1f87a996a89616a7bddb91dfbf629d (patch)
treef183c6f2f57119564638ef4de77d80c35b05cc50 /src/tls
parent* src/msgs/uk.msg: Updated (thanks to Sergei Golovan) (diff)
* src/tls/Makefile.win32: Added (thanks to Sergei Golovan)
* src/win32/: Updated (thanks to Sergei Golovan) SVN Revision: 281
Diffstat (limited to 'src/tls')
-rw-r--r--src/tls/Makefile.win3237
1 files changed, 37 insertions, 0 deletions
diff --git a/src/tls/Makefile.win32 b/src/tls/Makefile.win32
new file mode 100644
index 000000000..414c1c06f
--- /dev/null
+++ b/src/tls/Makefile.win32
@@ -0,0 +1,37 @@
+
+include ..\Makefile.inc
+
+OUTDIR = ..
+EFLAGS = -I .. -pz ..
+
+OBJS = \
+ $(OUTDIR)\tls.beam
+
+SOURCE = tls_drv.c
+OBJECT = tls_drv.o
+DLL = $(OUTDIR)\tls_drv.dll
+
+ALL : $(DLL) $(OBJS)
+
+CLEAN :
+ -@erase $(DLL)
+ -@erase $(OUTDIR)\tls_drv.exp
+ -@erase $(OUTDIR)\tls_drv.lib
+ -@erase $(OBJECT)
+ -@erase $(OBJS)
+
+$(OUTDIR)\tls.beam : tls.erl
+ erlc -W $(EFLAGS) -o $(OUTDIR) tls.erl
+
+CC=cl.exe
+CC_FLAGS=-nologo -D__WIN32__ -DWIN32 -DWINDOWS -D_WIN32 -DNT -MD -Ox -I"$(ERLANG_DIR)\usr\include" -I"$(EI_DIR)\include" -I"$(OPENSSL_DIR)\include"
+
+LD=link.exe
+LD_FLAGS=-release -nologo -incremental:no -dll "$(EI_DIR)\lib\ei_md.lib" "$(EI_DIR)\lib\erl_interface_md.lib" "$(OPENSSL_DIR)\lib\VC\ssleay32.lib" "$(OPENSSL_DIR)\lib\VC\libeay32.lib" MSVCRT.LIB kernel32.lib advapi32.lib gdi32.lib user32.lib comctl32.lib comdlg32.lib shell32.lib
+
+$(DLL) : $(OBJECT)
+ $(LD) $(LD_FLAGS) -out:$(DLL) $(OBJECT)
+
+$(OBJECT) : $(SOURCE)
+ $(CC) $(CC_FLAGS) -c -Fo$(OBJECT) $(SOURCE)
+