aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/conf-w32ce-msc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/conf-w32ce-msc')
-rwxr-xr-xcontrib/conf-w32ce-msc/build.mk15
-rwxr-xr-xcontrib/conf-w32ce-msc/fcntl.h1
-rwxr-xr-xcontrib/conf-w32ce-msc/io.h2
-rwxr-xr-xcontrib/conf-w32ce-msc/stdint.h9
4 files changed, 21 insertions, 6 deletions
diff --git a/contrib/conf-w32ce-msc/build.mk b/contrib/conf-w32ce-msc/build.mk
index 4a77a99a..ac3b6a3b 100755
--- a/contrib/conf-w32ce-msc/build.mk
+++ b/contrib/conf-w32ce-msc/build.mk
@@ -99,7 +99,6 @@ sources = \
kdpipeiodevice.h \
key.c \
keylist.c \
- memrchr.c \
op-support.c \
opassuan.c \
ops.h \
@@ -202,14 +201,14 @@ objs = \
# Sources files in this directory inclduing this Makefile
conf_sources = \
build.mk \
- config.h
+ config.h \
+ stdint.h io.h fcntl.h
# Source files built by running the standard build system.
built_sources = \
gpgme.h \
status-table.h
-
copy-static-source:
@if [ ! -f ./gpgme.c ]; then \
echo "Please cd to the src/ directory first"; \
@@ -219,7 +218,6 @@ copy-static-source:
cd ../contrib/conf-w32ce-msc ; \
cp -t $(targetsrc)/gpgme/src $(conf_sources)
-
copy-built-source:
@if [ ! -f ./gpgme.h ]; then \
echo "Please build using ./autogen.sh --build-w32ce first"; \
@@ -227,7 +225,7 @@ copy-built-source:
fi
cp -t $(targetsrc)/gpgme/src $(built_sources)
-copy-source: copy-static-source copy-built-source
+copy-source: copy-static-source copy-built-source
.c.obj:
@@ -242,7 +240,7 @@ all: $(sources) $(conf_sources) $(built_sources) $(objs)
$(libdir)/libgpg-error-0-msc.lib \
$(libdir)/libassuan-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
@@ -251,3 +249,8 @@ install: all
copy /y gpgme.h $(incdir:/=\)
copy /y libgpgme-11-msc.dll $(bindir:/=\)
copy /y libgpgme-11-msc.lib $(libdir:/=\)
+
+
+clean:
+ del *.obj libgpgme-11-msc.lib libgpgme-11-msc.dll libgpgme-11-msc.exp
+
diff --git a/contrib/conf-w32ce-msc/fcntl.h b/contrib/conf-w32ce-msc/fcntl.h
new file mode 100755
index 00000000..08c74155
--- /dev/null
+++ b/contrib/conf-w32ce-msc/fcntl.h
@@ -0,0 +1 @@
+/* Dummy fcntl.h header. */
diff --git a/contrib/conf-w32ce-msc/io.h b/contrib/conf-w32ce-msc/io.h
new file mode 100755
index 00000000..d586b8c4
--- /dev/null
+++ b/contrib/conf-w32ce-msc/io.h
@@ -0,0 +1,2 @@
+/* Dummy io.h header. */
+
diff --git a/contrib/conf-w32ce-msc/stdint.h b/contrib/conf-w32ce-msc/stdint.h
new file mode 100755
index 00000000..0a821b75
--- /dev/null
+++ b/contrib/conf-w32ce-msc/stdint.h
@@ -0,0 +1,9 @@
+typedef unsigned long long uint64_t;
+typedef long long int64_t;
+typedef unsigned int uint32_t;
+typedef int int32_t;
+typedef unsigned short uint16_t;
+typedef short int16_t;
+typedef unsigned int uintptr_t;
+typedef int intptr_t;
+