PLATFORM = generic
PREFIX = /usr/local
+include Platform/$(PLATFORM).mk
+
FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) PREFIX=$(PREFIX)
.PHONY: all format clean ./Server ./Common ./Module
# $Id$
+PREFIX = C:/Tewi
+
CC = x86_64-w64-mingw32-gcc
AR = x86_64-w64-mingw32-ar
CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -I $(PWD)/openssl/include
#ifdef __MINGW32__
lib = LoadLibraryA(path);
#else
- lib = dlopen(path, DL_LAZY);
+ lib = dlopen(path, RTLD_LAZY);
#endif
if(lib == NULL) {
cm_log("Module", "Could not load %s", path);
#LoadModule /home/nishi/SVN/tewi/trunk/Module/mod_example.so
-Listen 80
-ListenSSL 443
+Listen 8000
+#Listen 80
+#ListenSSL 443
SSLKey key.pem
SSLCertificate cert.pem