diff options
author | Alexey Shchepin <alexey@process-one.net> | 2003-10-11 17:39:36 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2003-10-11 17:39:36 +0000 |
commit | 146d464f96228db6e61c3ca9bdff4990fea25343 (patch) | |
tree | 50575683e24d735c40a25a72dc99d89c35f82dea /src/stringprep | |
parent | * src/stringprep/stringprep_drv.c: Removed needless iconv.h (diff) |
* doc/guide.tex: Updated
* src/ejabberd.cfg: Added "register" rule, added some comments,
this file renamed to ejabberd.cfg.example
* src/mod_register.erl (try_register): Fixed error reply, added
check for "register" access rule
* src/stringprep/Makefile.win32: Added Makefile for Win32 (thanks
to Sergei Golovan)
SVN Revision: 148
Diffstat (limited to 'src/stringprep')
-rw-r--r-- | src/stringprep/Makefile.win32 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/stringprep/Makefile.win32 b/src/stringprep/Makefile.win32 new file mode 100644 index 00000000..5339e3d2 --- /dev/null +++ b/src/stringprep/Makefile.win32 @@ -0,0 +1,40 @@ + +include ..\Makefile.inc + +OUTDIR = .. +EFLAGS = -I .. -pz .. + +ALL : $(OUTDIR)\stringprep_drv.dll $(OUTDIR)\stringprep.beam + +CLEAN : + -@erase $(OUTDIR)\stringprep_drv.dll + -@erase $(OUTDIR)\stringprep_drv.exp + -@erase $(OUTDIR)\stringprep_drv.lib + -@erase stringprep_drv.obj + -@erase stringprep_drv.pch + -@erase vc60.idb + -@erase $(OUTDIR)\stringprep.beam + +$(OUTDIR)\stringprep.beam : stringprep.erl + erlc -W $(EFLAGS) -o $(OUTDIR) stringprep.erl + +CPP=cl.exe +CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "$(ERLANG_DIR)\usr\include" /I "$(EI_DIR)\include" /D "WIN32" /D "NDEBUG" /D "_USRDLL" /D "_MBCS" /Fpstringprep_drv.pch /YX /FD /c + +.c.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +LINK32=link.exe +LINK32_FLAGS=kernel32.lib "$(ERLANG_DIR)\usr\lib\erl_dll.lib" "$(EI_DIR)\lib\ei.lib" "$(EI_DIR)\lib\erl_interface.lib" /nologo /subsystem:console /dll /pdb:none /machine:I386 /out:$(OUTDIR)\stringprep_drv.dll + +LINK32_OBJS=stringprep_drv.obj + +$(OUTDIR)\stringprep_drv.dll : $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +stringprep_drv.obj : stringprep_drv.c + |