diff options
author | Werner Koch <[email protected]> | 2010-11-15 07:28:58 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-11-15 07:28:58 +0000 |
commit | 44540352784b73ea787fd57f8c70f70eda228a00 (patch) | |
tree | b7dd7f7ece690c1573de7d038bce40ced9c1f738 | |
parent | Add log device to gpgcedev (diff) | |
download | libassuan-44540352784b73ea787fd57f8c70f70eda228a00.tar.gz libassuan-44540352784b73ea787fd57f8c70f70eda228a00.zip |
Fixes for the MSC build
-rw-r--r-- | contrib/ChangeLog | 6 | ||||
-rwxr-xr-x | contrib/conf-w32ce-msc/build.mk | 16 |
2 files changed, 21 insertions, 1 deletions
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 <[email protected]> + + * conf-w32ce-msc/build.mk (copy-static-source): Create stdint.h. + (all): Add ws2.lib + (clean): New. + 2010-11-02 Werner Koch <[email protected]> * 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 + |