diff options
author | Mikael Barbero | 2017-09-29 15:15:37 +0000 |
---|---|---|
committer | Niraj Modi | 2017-10-13 10:25:55 +0000 |
commit | e490babe67db35bc6ffd4bffd9050070de6fa80e (patch) | |
tree | bc3cc0231d06268161f6900a66e0ed4dba3df137 | |
parent | c66661076ffc8eaa216d9422331839951bf8728d (diff) | |
download | eclipse.platform.swt-e490babe67db35bc6ffd4bffd9050070de6fa80e.tar.gz eclipse.platform.swt-e490babe67db35bc6ffd4bffd9050070de6fa80e.tar.xz eclipse.platform.swt-e490babe67db35bc6ffd4bffd9050070de6fa80e.zip |
Bug 525392 - Remove Windows CE build scripts
Change-Id: I0e07559cb0f886ca9a0f895140eea7a9bb192be3
Signed-off-by: Mikael Barbero <mikael.barbero@eclipse-foundation.org>
3 files changed, 3 insertions, 210 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build-ce.bat b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build-ce.bat deleted file mode 100755 index bb059084c8..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build-ce.bat +++ /dev/null @@ -1,74 +0,0 @@ -@echo off -rem ******************************************************************************* -rem Copyright (c) 2000, 2012 IBM Corporation and others. -rem All rights reserved. This program and the accompanying materials -rem are made available under the terms of the Eclipse Public License v1.0 -rem which accompanies this distribution, and is available at -rem http://www.eclipse.org/legal/epl-v10.html -rem -rem Contributors: -rem IBM Corporation - initial API and implementation -rem ******************************************************************************* - -@echo off - -IF EXIST C:\BUILD\swt-builddir set SWT_BUILDDIR=C:\BUILD\swt-builddir -IF x.%SWT_BUILDDIR%==x. set SWT_BUILDDIR=S:\swt-builddir -echo SWT build dir: %SWT_BUILDDIR% - -IF NOT "%JAVA_HOME%"=="" GOTO MAKE - -rem ***** -rem Javah -rem ***** -set JAVA_HOME=%SWT_BUILDDIR%\ive\bin -set path=%JAVA_HOME%;%path% - -rem ******** -rem MSVC 6.0 -rem ******** -call %SWT_BUILDDIR%\MSVCs\msvc60\vc98\bin\vcvars32.bat - -rem ***************** -rem MS-SDK WinCE -rem ***************** -set WCEROOT=%SWT_BUILDDIR%\MSSDKs\wince.sdk - -rem ********************************************************** -rem By default, build library for ARM Pocket PC -rem 'Experiment' with other targets: an example is provided -rem for ARM HPC 2000. Set the flag CFG to the value "hpc2000" -rem to build for ARM HPC 2000. -rem ********************************************************** -IF "%CFG%"=="hpc2000" GOTO HPC2000 -IF "%CFG%"=="SmartPhone 2002" GOTO SMARTPHONE - -:POCKETPC -IF "x.%OUTPUT_DIR%"=="x." set OUTPUT_DIR=..\..\..\org.eclipse.swt.win32.wce_ppc.arm -set OSVERSION=WCE300 -set PLATFORM=MS Pocket PC -set PATH=%WCEROOT%\bin;%WCEROOT%\%OSVERSION%\bin;%path% -set INCLUDE=%WCEROOT%\%OSVERSION%\%PLATFORM%\include;%WCEROOT%\%OSVERSION%\%PLATFORM%\MFC\include;%WCEROOT%\%OSVERSION%\%PLATFORM%\ATL\include; -set LIB=%WCEROOT%\%OSVERSION%\%PLATFORM%\lib\arm;%WCEROOT%\%OSVERSION%\%PLATFORM%\MFC\lib\arm;%WCEROOT%\%OSVERSION%\%PLATFORM%\ATL\lib\arm; -GOTO MAKE - -:HPC2000 -set OSVERSION=WCE300 -set PLATFORM=hpc2000 -set PATH=%WCEROOT%\bin;%WCEROOT%\%OSVERSION%\bin;%path% -set INCLUDE=%WCEROOT%\%OSVERSION%\%PLATFORM%\include;%WCEROOT%\%OSVERSION%\%PLATFORM%\MFC\include;%WCEROOT%\%OSVERSION%\%PLATFORM%\ATL\include; -set LIB=%WCEROOT%\%OSVERSION%\%PLATFORM%\lib\arm;%WCEROOT%\%OSVERSION%\%PLATFORM%\MFC\lib\arm;%WCEROOT%\%OSVERSION%\%PLATFORM%\ATL\lib\arm; -GOTO MAKE - -:SMARTPHONE -set OSVERSION=WCE300 -set PLATFORM=SmartPhone 2002 -set PATH=%WCEROOT%\bin;%WCEROOT%\%OSVERSION%\bin;%path% -set INCLUDE=%WCEROOT%\%OSVERSION%\%PLATFORM%\include;%WCEROOT%\%OSVERSION%\%PLATFORM%\ATL\include; -set LIB=%WCEROOT%\%OSVERSION%\%PLATFORM%\lib\arm;%WCEROOT%\%OSVERSION%\%PLATFORM%\ATL\lib\arm; -GOTO MAKE - -:MAKE -Title Environment %OSVERSION% %PLATFORM% -echo Environment %OSVERSION% %PLATFORM% -nmake -f make_wince.mak %1 %2 %3 %4 diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/make_wince.mak b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/make_wince.mak deleted file mode 100644 index 5e5df4ea7e..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/make_wince.mak +++ /dev/null @@ -1,121 +0,0 @@ -#******************************************************************************* -# Copyright (c) 2000, 2011 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -#******************************************************************************* - -# Makefile for SWT libraries on Windows CE - -# assumes JAVA_HOME is set in the environment from which nmake is run - -!include <make_common.mak> - -SWT_PREFIX = swt -WS_PREFIX = win32 -SWT_VERSION = $(maj_ver)$(min_ver) -SWT_LIB = $(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).dll - -!IF "$(PLATFORM)" == "MS Pocket PC" - -CPU=ARM - -LINK_LIBS = aygshell.lib corelibc.lib coredll.lib commdlg.lib commctrl.lib ceshell.lib - -CFLAGS = /nologo /c /W3 -O1 -DSWT_VERSION=$(SWT_VERSION) -DREDUCED_CALLBACKS -DJ9WINCE -D_WIN32_WCE=300 -D"WIN32_PLATFORM_PSPC" /DUNDER_CE=300 /D"UNICODE" /D"_MBCS" /Zm200 -DARM -D_ARM_ -DFIXUP_UNALIGNED /I. /I$(JAVA_HOME)\include $*.c -RCFLAGS = -DSWT_FILE_VERSION=\"$(maj_ver).$(min_ver)\" -DSWT_COMMA_VERSION=$(comma_ver) -D"WIN32_PLATFORM_PSPC" -LFLAGS = $(dlllflags) /dll /entry:"_DllMainCRTStartup" /NODEFAULTLIB:libc.lib /nodefaultlib:oldnames.lib - -SWT_OBJS = swt.obj c.obj c_stats.obj os.obj os_structs.obj os_custom.obj callback.obj - -all: $(SWT_LIB) - -.c.obj: - clarm $(CFLAGS) $*.c - -$(SWT_LIB): $(SWT_OBJS) swt.res - link $(LFLAGS) $(LINK_LIBS) \ - -machine:$(CPU) \ - -subsystem:windowsce,3.00 \ - -out:$(SWT_LIB) \ - $(SWT_OBJS) swt.res - -swt.res: - rc $(RCFLAGS) -DSWT_ORG_FILENAME=\"$(SWT_LIB)\" -r -fo swt.res swt.rc - -install: all - copy *.dll "$(OUTPUT_DIR)" - -clean: - del *.obj *.res *.dll *.lib *.exp - -!ELSEIF "$(PLATFORM)" == "hpc2000" - -CPU=ARM - -LINK_LIBS = corelibc.lib coredll.lib commdlg.lib commctrl.lib ceshell.lib - -CFLAGS = /nologo /c /W3 -O1 -DSWT_VERSION=$(SWT_VERSION) -DREDUCED_CALLBACKS -DJ9WINCE -D_WIN32_WCE=300 -D"WIN32_PLATFORM_HPC2000" /DUNDER_CE=300 /D"UNICODE" /D"_MBCS" /Zm200 -DARM -D_ARM_ -DFIXUP_UNALIGNED /I. /I$(JAVA_HOME)\include $*.c -RCFLAGS = -DSWT_FILE_VERSION=\"$(maj_ver).$(min_ver)\" -DSWT_COMMA_VERSION=$(comma_ver) -D"WIN32_PLATFORM_HPC2000" -LFLAGS = $(dlllflags) /dll /entry:"_DllMainCRTStartup" /NODEFAULTLIB:libc.lib /nodefaultlib:oldnames.lib - -SWT_OBJS = swt.obj structs.obj callback.obj - -all: $(SWT_LIB) - -.c.obj: - clarm $(CFLAGS) $*.c - -$(SWT_LIB): $(SWT_OBJS) swt.res - link $(LFLAGS) $(LINK_LIBS) \ - -machine:$(CPU) \ - -subsystem:windowsce,3.00 \ - -out:$(SWT_LIB) \ - $(SWT_OBJS) swt.res - -swt.res: - rc $(RCFLAGS) -DSWT_ORG_FILENAME=\"$(SWT_LIB)\" -r -fo swt.res swt.rc - -install: all - copy *.dll "$(OUTPUT_DIR)" - -clean: - del *.obj *.res *.dll *.lib *.exp - -!ELSEIF "$(PLATFORM)" == "SmartPhone 2002" - -CPU=ARM - -LINK_LIBS = aygshell.lib corelibc.lib coredll.lib commctrl.lib ceshell.lib -CFLAGS = /nologo /c /W3 -O1 -DSWT_VERSION=$(SWT_VERSION) -DREDUCED_CALLBACKS -DJ9WINCE -D_WIN32_WCE=300 -D"WIN32_PLATFORM_WFSP=100" /DUNDER_CE=300 /D"UNICODE" /D"_MBCS" /Zm200 -DARM -D_ARM_ -DFIXUP_UNALIGNED /I. /I$(JAVA_HOME)\include $*.c -RCFLAGS = -DSWT_FILE_VERSION=\"$(maj_ver).$(min_ver)\" -DSWT_COMMA_VERSION=$(comma_ver) -D"WIN32_PLATFORM_WFSP=100" -LFLAGS = $(dlllflags) /dll /entry:"_DllMainCRTStartup" /NODEFAULTLIB:libc.lib /nodefaultlib:oldnames.lib - -SWT_OBJS = swt.obj structs.obj callback.obj - -all: $(SWT_LIB) - -.c.obj: - clarm $(CFLAGS) $*.c - -$(SWT_LIB): $(SWT_OBJS) swt.res - link $(LFLAGS) $(LINK_LIBS) \ - -machine:$(CPU) \ - -subsystem:windowsce,3.00 \ - -out:$(SWT_LIB) \ - $(SWT_OBJS) swt.res - -swt.res: - rc $(RCFLAGS) -DSWT_ORG_FILENAME=\"$(SWT_LIB)\" -r -fo swt.res swt.rc - -install: all - copy *.dll "$(OUTPUT_DIR)" - -clean: - del *.obj *.res *.dll *.lib *.exp - -!ENDIF diff --git a/bundles/org.eclipse.swt/buildSWT.xml b/bundles/org.eclipse.swt/buildSWT.xml index 0f5519d923..5332c6a873 100644 --- a/bundles/org.eclipse.swt/buildSWT.xml +++ b/bundles/org.eclipse.swt/buildSWT.xml @@ -915,19 +915,10 @@ <property name="exports" value=""/> <condition property="remotebuilddir" value="c:/build" else="~/build/"> - <or> - <equals arg1="${swt.os}" arg2="win32"/> - <equals arg1="${swt.os}" arg2="wce_ppc"/> - </or> + <equals arg1="${swt.os}" arg2="win32"/> </condition> <condition property="exit_cmd" value="exit;" else=""> - <or> - <equals arg1="${swt.os}" arg2="win32"/> - <equals arg1="${swt.os}" arg2="wce_ppc"/> - </or> - </condition> - <condition property="build_cmd" value="unix2dos *; if cmd /c build-ce.bat ${build_targets};"> - <equals arg1="${swt.os}" arg2="wce_ppc"/> + <equals arg1="${swt.os}" arg2="win32"/> </condition> <condition property="build_cmd" value="unix2dos *; if cmd /c build.bat ${build_targets};" else="if sh build.sh ${build_targets};"> <equals arg1="${swt.os}" arg2="win32"/> @@ -977,10 +968,7 @@ <pathconvert property="win_output_dir"> <path location="${output_dir}"></path> </pathconvert> - <condition property="build_file" value="build-ce.bat" else="build.bat"> - <equals arg1="${swt.os}" arg2="wce_ppc"/> - </condition> - <exec dir="${build_dir}" executable="${build_dir}/${build_file}" failonerror="true"> + <exec dir="${build_dir}" executable="${build_dir}/build.bat" failonerror="true"> <env key="JAVA_HOME" value=""/> <env key="OUTPUT_DIR" value="${win_output_dir}"/> <arg line="${targets}"/> |