[svn] gpg-error - r258 - trunk/contrib/conf-w32ce-msc

svn author marcus cvs at cvs.gnupg.org
Fri Oct 29 20:07:14 CEST 2010


Author: marcus
Date: 2010-10-29 20:07:14 +0200 (Fri, 29 Oct 2010)
New Revision: 258

Modified:
   trunk/contrib/conf-w32ce-msc/build.mk
   trunk/contrib/conf-w32ce-msc/config.h
Log:
	* build.mk (ce_defines): Fix line continuation.
	(CFLAGS): Add -Igpg-extra for errno.h.
	* config.h (HAVE_SYS_TYPES_H, HAVE_SYS_STAT_H): Define.



Modified: trunk/contrib/conf-w32ce-msc/build.mk
===================================================================
--- trunk/contrib/conf-w32ce-msc/build.mk	2010-10-28 18:40:54 UTC (rev 257)
+++ trunk/contrib/conf-w32ce-msc/build.mk	2010-10-29 18:07:14 UTC (rev 258)
@@ -24,8 +24,8 @@
 	@echo "  nmake -f build.mk all"
 	@echo "on the Windows system"
 
-ce_defines = -DWINCE -D_WIN32_WCE=0x502 -DUNDER_CE
-             -DWIN32_PLATFORM_PSPC -D_UNICODE -DUNICODE
+ce_defines = -DWINCE -D_WIN32_WCE=0x502 -DUNDER_CE \
+             -DWIN32_PLATFORM_PSPC -D_UNICODE -DUNICODE \
              -D_CONSOLE -DARM -D_ARM_
 #-D_DEBUG -DDEBUG 
 
@@ -42,9 +42,9 @@
 # -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. 
+         -DHAVE_CONFIG_H -DDLL_EXPORT -I. -Igpg-extra
 
-LDFLAGS = 
+LDFLAGS =
 
 # Standard source files
 sources = \
@@ -102,10 +102,13 @@
 	$(CC) $(CFLAGS) -c strerror.c
 	$(CC) $(CFLAGS) -c code-to-errno.c
 	$(CC) $(CFLAGS) -c code-from-errno.c
-	$(CC) $(LDFLAGS) -LD -Felibgpg-error-0.dll \
-	   w32-gettext.obj init.obj strsource.obj strerror.obj \
-	   code-to-errno.obj code-from-errno.obj \
-	   gpg-error.def
+	link.exe /DLL /IMPLIB:libgpg-error-0.lib /OUT:libgpg-error-0.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
 
 # Note that install needs to be run on the POSIX platform and the all
 # is only to make sure we build everything; it won't compile anything

Modified: trunk/contrib/conf-w32ce-msc/config.h
===================================================================
--- trunk/contrib/conf-w32ce-msc/config.h	2010-10-28 18:40:54 UTC (rev 257)
+++ trunk/contrib/conf-w32ce-msc/config.h	2010-10-29 18:07:14 UTC (rev 258)
@@ -94,10 +94,10 @@
 #define HAVE_STRING_H 1
 
 /* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
+#undef HAVE_SYS_STAT_H
 
 /* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
+#undef HAVE_SYS_TYPES_H
 
 /* Define to 1 if you have the <unistd.h> header file. */
 #define HAVE_UNISTD_H 1





More information about the Gnupg-commits mailing list