[Pkg-gnupg-commit] [libassuan] 339/437: Fixes for the MSC build
Eric Dorland
eric at moszumanska.debian.org
Fri May 22 05:34:01 UTC 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository libassuan.
commit 44540352784b73ea787fd57f8c70f70eda228a00
Author: Werner Koch <wk at gnupg.org>
Date: Mon Nov 15 07:28:58 2010 +0000
Fixes for the MSC build
---
contrib/ChangeLog | 6 ++++++
contrib/conf-w32ce-msc/build.mk | 16 +++++++++++++++-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 6e547c0..98414f4 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,9 @@
+2010-11-15 Werner Koch <wk at g10code.com>
+
+ * conf-w32ce-msc/build.mk (copy-static-source): Create stdint.h.
+ (all): Add ws2.lib
+ (clean): New.
+
2010-11-02 Werner Koch <wk at g10code.com>
* conf-w32ce-msc/build.mk: Change directory layout.
diff --git a/contrib/conf-w32ce-msc/build.mk b/contrib/conf-w32ce-msc/build.mk
index 76b07f4..0fd4f66 100755
--- a/contrib/conf-w32ce-msc/build.mk
+++ b/contrib/conf-w32ce-msc/build.mk
@@ -122,6 +122,8 @@ conf_sources = \
built_sources = \
assuan.h
+my_stdint = $(targetsrc)/libassuan/src/stdint.h
+
copy-static-source:
@if [ ! -f ./assuan-defs.h ]; then \
echo "Please cd to the src/ directory first"; \
@@ -130,6 +132,14 @@ copy-static-source:
cp -t $(targetsrc)/libassuan/src $(sources);
cd ../contrib/conf-w32ce-msc ; \
cp -t $(targetsrc)/libassuan/src $(conf_sources)
+ @echo typedef unsigned long long uint64_t; >$(my_stdint)
+ @echo typedef long long int64_t; >>$(my_stdint)
+ @echo typedef unsigned int uint32_t; >>$(my_stdint)
+ @echo typedef int int32_t; >>$(my_stdint)
+ @echo typedef unsigned short uint16_t; >>$(my_stdint)
+ @echo typedef short int16_t; >>$(my_stdint)
+ @echo typedef unsigned int uintptr_t; >>$(my_stdint)
+ @echo typedef int intptr_t; >>$(my_stdint)
copy-built-source:
@@ -152,7 +162,7 @@ all: $(sources) $(conf_sources) $(built_sources) $(objs)
/NODEFAULTLIB:"oldnames.lib" /DYNAMICBASE:NO \
$(objs) $(libdir)/libgpg-error-0-msc.lib \
coredll.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib \
- commctrl.lib /subsystem:windowsce,5.02
+ commctrl.lib ws2.lib /subsystem:windowsce,5.02
# Note that we don't need to create the install directories because
# libgpg-error must have been build and installed prior to this
@@ -161,3 +171,7 @@ install: all
copy /y libassuan-0-msc.dll $(bindir:/=\)
copy /y libassuan-0-msc.lib $(libdir:/=\)
copy /y assuan.h $(incdir:/=\)
+
+clean:
+ del *.obj libassuan-0-msc.lib libassuan-0-msc.dll libassuan-0-msc.exp
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/libassuan.git
More information about the Pkg-gnupg-commit
mailing list