diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-02-13 09:56:58 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-02-13 09:56:58 +0100 |
commit | 68354c7d41085d1f976a5b1d7ee542479a85f621 (patch) | |
tree | aec761c793093e4a2e4ce18d78b3b531bcb12a42 /src/Makefile.W32 | |
download | sqlitexx-68354c7d41085d1f976a5b1d7ee542479a85f621.tar.gz sqlitexx-68354c7d41085d1f976a5b1d7ee542479a85f621.tar.bz2 |
imported trunk from sourceforge SVN
Diffstat (limited to 'src/Makefile.W32')
-rw-r--r-- | src/Makefile.W32 | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/Makefile.W32 b/src/Makefile.W32 new file mode 100644 index 0000000..a16a0f5 --- /dev/null +++ b/src/Makefile.W32 @@ -0,0 +1,64 @@ +TOPDIR = .. + +SUBDIRS = + +INCLUDE_DIRS = \ + /I$(TOPDIR)\include /I. \ + /I$(TOPDIR)\sqlite-3.6.22 \ + /D_WIN32_WINNT=0x400 /I"$(PLATFORM_SDK_DIR)\Include" + +INCLUDE_LDFLAGS = \ + /LIBPATH:"$(PLATFORM_SDK_DIR)\Lib" + +INCLUDE_LIBS = \ + $(TOPDIR)\sqlite-3.6.22\sqlite3.lib + +BINS = + +LIBRARIES = \ + sqlite3xx.lib \ + sqlite3xx.dll + +PORT_OBJS = \ + port\string.obj \ + port\sleep.obj + +OBJS = \ + $(PORT_OBJS) \ + connection.obj \ + prepared_statement.obj \ + transaction.obj \ + result.obj \ + except.obj + +DLL_PORT_OBJS = \ + port\string.dllobj \ + port\sleep.dllobj + +DLL_OBJS = \ + $(DLL_PORT_OBJS) \ + connection.dllobj \ + prepared_statement.dllobj \ + transaction.dllobj \ + result.dllobj \ + except.dllobj \ + port\sqlite3xx.dllobj + +local_all: $(LIBRARIES) + +!INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk + +sqlite3xx.lib: $(OBJS) + $(LINK) /lib /nologo /out:$@ $(LDFLAGS) $(LIBS) $? + +sqlite3xx.dll: $(DLL_OBJS) + $(LINK) /DLL /nologo /out:$@ $(LDFLAGS) $(LIBS) $? + +local_all: + +local_clean: + @-erase $(LIBRARIES) 2>NUL + +local_distclean: + +local_test: |