aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/conf-w32ce-msc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xcontrib/conf-w32ce-msc/build.mk144
-rwxr-xr-xcontrib/conf-w32ce-msc/config.h153
-rwxr-xr-xcontrib/conf-w32ce-msc/stdint.h9
3 files changed, 0 insertions, 306 deletions
diff --git a/contrib/conf-w32ce-msc/build.mk b/contrib/conf-w32ce-msc/build.mk
deleted file mode 100755
index 0909509..0000000
--- a/contrib/conf-w32ce-msc/build.mk
+++ /dev/null
@@ -1,144 +0,0 @@
-# build.mk - Makefile to build libgpg-error using Visual-C
-# Copyright 2010 g10 Code GmbH
-#
-# This file is free software; as a special exception the author gives
-# unlimited permission to copy and/or distribute it, with or without
-# modifications, as long as this notice is preserved.
-#
-# This file is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-# This is a helper make script to build libgpg-error for WindowsCE
-# using the Microsoft Visual C compiler.
-
-# The target build directory where we run the Visual C compiler/ This
-# needs to be an absolute directory name. Further we expect this
-# structure of the tree:
-#
-# TARGET/src - Source directories: One directory for each project
-# /bin - Installed DLLs
-# /lib - Installed import libs.
-# /include - Instaled header files.
-
-targetdir = /home/smb/xppro-gnu
-targetsrc = $(targetdir)/src
-
-# Install directories (relative)
-bindir = ../../../bin
-libdir = ../../../lib
-incdir = ../../../include
-
-help:
- @echo "Run "
- @echo " make -f ../contrib/conf-w32ce-msc/build.mk copy-source"
- @echo "on the POSIX system and then"
- @echo " nmake -f build.mk all"
- @echo " nmake -f build.mk install"
- @echo "on the Windows system"
-
-ce_defines = -DWINCE -D_WIN32_WCE=0x502 -DUNDER_CE \
- -DWIN32_PLATFORM_PSPC -D_UNICODE -DUNICODE \
- -D_CONSOLE -DARM -D_ARM_
-#-D_DEBUG -DDEBUG
-
-# Some options of Visual-C:
-# -W3 Set warning level 3
-# -Zi Generate debug info
-# -Od Disable optimization
-# -Gm Enable minimal rebuild (for C++)
-# -EHsc Exception handling model sc
-# -MTd Create a debug multithreaded executable
-# -fp: Floating point behaviour
-# -GR- Disable runtime type information
-# -Os Favor small code
-# -LD Create a DLL
-# -Fe Set executable output name (may be only a directory)
-CFLAGS = -nologo -W3 -fp:fast -Os $(ce_defines) \
- -DHAVE_CONFIG_H -DDLL_EXPORT -I. -Igpg-extra
-
-LDFLAGS =
-
-# Standard source files
-sources = \
- init.c init.h \
- strsource.c \
- strerror.c \
- code-to-errno.c \
- code-from-errno.c \
- w32-gettext.c \
- gettext.h \
- err-sources.h \
- err-codes.h
-
-# Sources files in this directory inclduing this Makefile
-conf_sources = \
- build.mk \
- config.h \
- stdint.h
-
-# Source files built by running the standard build system.
-built_sources = \
- code-from-errno.h \
- code-to-errno.h \
- err-codes-sym.h \
- err-sources-sym.h \
- errnos-sym.h \
- gpg-error.h \
- mkerrcodes.h \
- mkw32errmap.map.c \
- gpg-error.def \
- gpg-extra/errno.h
-
-copy-static-source:
- @if [ ! -f ./w32-gettext.c ]; then \
- echo "Please cd to the src/ directory first"; \
- exit 1; \
- fi
- cp -t $(targetsrc)/libgpg-error/src $(sources);
- cd ../contrib/conf-w32ce-msc ; \
- cp -t $(targetsrc)/libgpg-error/src $(conf_sources)
-
-
-copy-built-source:
- @if [ ! -f ./mkw32errmap.map.c ]; then \
- echo "Please build using ./autogen.sh --build-w32ce first"; \
- exit 1; \
- fi
- cp -t $(targetsrc)/libgpg-error/src $(built_sources)
- -mkdir $(targetsrc)/libgpg-error/src/gpg-extra
- mv $(targetsrc)/libgpg-error/src/errno.h \
- $(targetsrc)/libgpg-error/src/gpg-extra
-
-copy-source: copy-static-source copy-built-source
-
-
-all: $(sources) $(conf_sources) $(built_sources)
- $(CC) $(CFLAGS) -c w32-gettext.c
- $(CC) $(CFLAGS) -c init.c
- $(CC) $(CFLAGS) -c strsource.c
- $(CC) $(CFLAGS) -c strerror.c
- $(CC) $(CFLAGS) -c code-to-errno.c
- $(CC) $(CFLAGS) -c code-from-errno.c
- link.exe /DLL /IMPLIB:libgpg-error-0-msc.lib \
- /OUT:libgpg-error-0-msc.dll \
- /DEF:gpg-error.def /NOLOGO /MANIFEST:NO \
- /NODEFAULTLIB:"oldnames.lib" /DYNAMICBASE:NO \
- w32-gettext.obj init.obj strsource.obj strerror.obj \
- code-to-errno.obj code-from-errno.obj \
- coredll.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib \
- commctrl.lib /subsystem:windowsce,5.02
-
-install: all
- -mkdir $(bindir:/=\)
- -mkdir $(libdir:/=\)
- -mkdir $(incdir:/=\)
- -mkdir $(incdir:/=\)\gpg-extra
- copy /y gpg-error.h $(incdir:/=\)
- copy /y gpg-extra\errno.h $(incdir:/=\)\gpg-extra
- copy /y libgpg-error-0-msc.dll $(bindir:/=\)
- copy /y libgpg-error-0-msc.lib $(libdir:/=\)
-
-clean:
- del *.obj libgpg-error-0-msc.lib \
- libgpg-error-0-msc.dll libgpg-error-0-msc.exe
diff --git a/contrib/conf-w32ce-msc/config.h b/contrib/conf-w32ce-msc/config.h
deleted file mode 100755
index 1d8132c..0000000
--- a/contrib/conf-w32ce-msc/config.h
+++ /dev/null
@@ -1,153 +0,0 @@
-/* config.h for building with Visual-C for WindowsCE.
- * Copyright 2010 g10 Code GmbH
- *
- * This file is free software; as a special exception the author gives
- * unlimited permission to copy and/or distribute it, with or without
- * modifications, as long as this notice is preserved.
- *
- * This file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-
-/* This file was originally created by running
- * ./autogen.sh --build-w32ce
- * on svn revision 253 (libgpg-error 1.10) and then adjusted to work
- * with Visual-C.
- */
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.11-msc1"
-
-
-/* Name of package */
-#define PACKAGE "libgpg-error"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "[email protected]"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "libgpg-error"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "libgpg-error " PACKAGE_VERSION
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "libgpg-error"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL ""
-
-
-
-/* Define to 1 if translation of program messages to the user's native
- language is requested. */
-/* #undef ENABLE_NLS */
-
-/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
- CoreFoundation framework. */
-/* #undef HAVE_CFLOCALECOPYCURRENT */
-
-/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
- the CoreFoundation framework. */
-/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
-
-/* Define if the GNU dcgettext() function is already present or preinstalled.
- */
-/* #undef HAVE_DCGETTEXT */
-
-/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
- don't. */
-#define HAVE_DECL_STRERROR_R 0
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-/* #undef HAVE_DLFCN_H */
-
-/* Define if the GNU gettext() function is already present or preinstalled. */
-/* #undef HAVE_GETTEXT */
-
-/* Define if you have the iconv() function and it works. */
-/* #undef HAVE_ICONV */
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if you have the <locale.h> header file. */
-/* #undef HAVE_LOCALE_H */
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the `strerror_r' function. */
-/* #undef HAVE_STRERROR_R */
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#undef HAVE_SYS_STAT_H
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#undef HAVE_SYS_TYPES_H
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Defined if we run on WindowsCE */
-#define HAVE_W32CE_SYSTEM 1
-
-/* Defined if we run on a W32 API based system */
-#define HAVE_W32_SYSTEM 1
-
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
-#define LT_OBJDIR ".libs/"
-
-/* Define to 1 if your C compiler doesn't accept -c and -o together. */
-/* #undef NO_MINUS_C_MINUS_O */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define to 1 if strerror_r returns char *. */
-/* #undef STRERROR_R_CHAR_P */
-
-
-/* Version number of package */
-#define VERSION PACKAGE_VERSION
-
-/* Define to 1 if on MINIX. */
-/* #undef _MINIX */
-
-/* Define to 2 if the system does not provide POSIX.1 features except with
- this defined. */
-/* #undef _POSIX_1_SOURCE */
-
-/* Define to 1 if you need to in order for `stat' and other things to work. */
-/* #undef _POSIX_SOURCE */
-
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-
-/* Force using of NLS for W32 even if no libintl has been found. This is
- okay because we have our own gettext implementation for W32. */
-#if defined(HAVE_W32_SYSTEM) && !defined(ENABLE_NLS)
-#define ENABLE_NLS 1
-#endif
-/* For building we need to define these macro. */
-#define GPG_ERR_ENABLE_GETTEXT_MACROS 1
-#define GPG_ERR_ENABLE_ERRNO_MACROS 1
-
-/* snprintf is not part of oldnames.lib thus we redefine it here. */
-#define snprintf _snprintf
-
diff --git a/contrib/conf-w32ce-msc/stdint.h b/contrib/conf-w32ce-msc/stdint.h
deleted file mode 100755
index 0a821b7..0000000
--- a/contrib/conf-w32ce-msc/stdint.h
+++ /dev/null
@@ -1,9 +0,0 @@
-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;
-