Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nathanw_sa]: src/sys/arch/hpcmips/stand Add __COMPILER_UINT64__="unsigne...
details: https://anonhg.NetBSD.org/src/rev/85e86a9fc78f
branches: nathanw_sa
changeset: 504628:85e86a9fc78f
user: takemura <takemura%NetBSD.org@localhost>
date: Sun Apr 15 10:10:44 2001 +0000
description:
Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.
The version of the binaries are '1.17.3 2001.04.15'
diffstat:
sys/arch/hpcmips/stand/dspgen/do_subst.sh | 181 +++++++++++++++++++++++
sys/arch/hpcmips/stand/libz/libz.config | 35 ++++
sys/arch/hpcmips/stand/libz/libz.dsp | 122 ++++++++++++++++
sys/arch/hpcmips/stand/pbsdboot/pbsdboot.config | 49 ++++++
sys/arch/hpcmips/stand/pbsdboot/pbsdboot.dsp | 183 ++++++++++++++++++++++++
5 files changed, 570 insertions(+), 0 deletions(-)
diffs (truncated from 590 to 300 lines):
diff -r 4299e55a2c3d -r 85e86a9fc78f sys/arch/hpcmips/stand/dspgen/do_subst.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/hpcmips/stand/dspgen/do_subst.sh Sun Apr 15 10:10:44 2001 +0000
@@ -0,0 +1,181 @@
+# $NetBSD: do_subst.sh,v 1.5.8.2 2001/04/15 10:10:44 takemura Exp $
+#
+# Copyright (c) 1999, 2000 Christopher G. Demetriou. All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# 3. All advertising materials mentioning features or use of this software
+# must display the following acknowledgement:
+# This product includes software developed by Christopher G. Demetriou
+# for the NetBSD Project.
+# 4. The name of the author may not be used to endorse or promote products
+# derived from this software without specific prior written permission
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+AWK=awk
+if [ `uname` = SunOS ]; then
+ AWK=nawk
+fi
+
+STD_CPPDEF_LIST=''
+STD_INCDIR_LIST=''
+STD_LIBRARY_LIST=''
+
+export NAME
+export SRCFILE_LIST
+export CPPDEF_LIST STD_CPPDEF_LIST
+export INCDIR_LIST STD_INCDIR_LIST
+export LIBDEP_LIST
+export LIBRARY_LIST STD_LIBRARY_LIST
+
+${AWK} '
+BEGIN {
+ NAME=ENVIRON["NAME"]
+
+ SRCFILES=""
+ sz = split(ENVIRON["SRCFILE_LIST"], a, "[ \t\n]+");
+ for (i = 1; i <= sz; i++) {
+ if (a[i] == "") {
+ continue
+ }
+ if (SRCFILES != "") {
+ SRCFILES=SRCFILES "\n"
+ }
+ SRCFILES=SRCFILES "# Begin Source File\n"
+ SRCFILES=SRCFILES "\n"
+ SRCFILES=SRCFILES "SOURCE=.\\" a[i] "\n"
+ SRCFILES=SRCFILES "# End Source File"
+ }
+
+ CPPDEFS=""
+ sz = split(ENVIRON["STD_CPPDEF_LIST"], a, "[ \t\n]+");
+ for (i = 1; i <= sz; i++) {
+ if (a[i] == "") {
+ continue
+ }
+ if (CPPDEFS != "") {
+ CPPDEFS=CPPDEFS " "
+ }
+ a[i] = gensub("([^\\\\]|^)#", "\\1 ", "g", a[i])
+ a[i] = gensub("\\\\#", "#", "g", a[i])
+ CPPDEFS=CPPDEFS "/D " a[i]
+ }
+ sz = split(ENVIRON["CPPDEF_LIST"], a, "[ \t\n]+");
+ for (i = 1; i <= sz; i++) {
+ if (a[i] == "") {
+ continue
+ }
+ if (CPPDEFS != "") {
+ CPPDEFS=CPPDEFS " "
+ }
+ a[i] = gensub("([^\\\\]|^)#", "\\1 ", "g", a[i])
+ a[i] = gensub("\\\\#", "#", "g", a[i])
+ CPPDEFS=CPPDEFS "/D " a[i]
+ }
+
+ INCDIRS=""
+ sz = split(ENVIRON["STD_INCDIR_LIST"], a, "[ \t\n]+");
+ for (i = 1; i <= sz; i++) {
+ if (a[i] == "") {
+ continue
+ }
+ if (INCDIRS != "") {
+ INCDIRS=INCDIRS " "
+ }
+ INCDIRS=INCDIRS "/I \"" a[i] "\""
+ }
+ sz = split(ENVIRON["INCDIR_LIST"], a, "[ \t\n]+");
+ for (i = 1; i <= sz; i++) {
+ if (a[i] == "") {
+ continue
+ }
+ if (INCDIRS != "") {
+ INCDIRS=INCDIRS " "
+ }
+ INCDIRS=INCDIRS "/I \"" a[i] "\""
+ }
+ sz = split(ENVIRON["LIBDEP_LIST"], a, "[ \t\n]+");
+ for (i = 1; i <= sz; i++) {
+ if (a[i] == "") {
+ continue
+ }
+ if (INCDIRS != "") {
+ INCDIRS=INCDIRS " "
+ }
+ INCDIRS=INCDIRS "/I \"..\\" a[i] "\""
+ }
+
+ LIBRARIES=""
+ sz = split(ENVIRON["STD_LIBRARY_LIST"], a, "[ \t\n]+");
+ for (i = 1; i <= sz; i++) {
+ if (a[i] == "") {
+ continue
+ }
+ if (LIBRARIES != "") {
+ LIBRARIES=LIBRARIES " "
+ }
+ LIBRARIES=LIBRARIES a[i] ".lib"
+ }
+ sz = split(ENVIRON["LIBRARY_LIST"], a, "[ \t\n]+");
+ for (i = 1; i <= sz; i++) {
+ if (a[i] == "") {
+ continue
+ }
+ if (LIBRARIES != "") {
+ LIBRARIES=LIBRARIES " "
+ }
+ LIBRARIES=LIBRARIES a[i] ".lib"
+ }
+ sz = split(ENVIRON["LIBDEP_LIST"], a, "[ \t\n]+");
+ for (i = 1; i <= sz; i++) {
+ if (a[i] == "") {
+ continue
+ }
+ if (LIBRARIES != "") {
+ LIBRARIES=LIBRARIES " "
+ }
+ LIBRARIES=LIBRARIES a[i] ".lib"
+ }
+
+ sz = split(ENVIRON["LIBDEP_LIST"], a, "[ \t\n]+");
+ DEBUG_LIBPATH=""
+ RELEASE_LIBPATH=""
+ for (i = 1; i <= sz; i++) {
+ if (a[i] == "") {
+ continue
+ }
+ if (i > 1) {
+ DEBUG_LIBPATH=DEBUG_LIBPATH " "
+ RELEASE_LIBPATH=RELEASE_LIBPATH " "
+ }
+ DEBUG_LIBPATH=DEBUG_LIBPATH "/libpath:\"..\\" a[i] "\\WMIPSDbg\""
+ RELEASE_LIBPATH=RELEASE_LIBPATH "/libpath:\"..\\" a[i] "\\WMIPSRel\""
+ }
+}
+{
+ gsub("%%% NAME %%%", NAME)
+ gsub("%%% SRCFILES %%%", SRCFILES)
+ gsub("%%% CPPDEFS %%%", CPPDEFS)
+ gsub("%%% INCDIRS %%%", INCDIRS)
+ gsub("%%% LIBRARIES %%%", LIBRARIES)
+ gsub("%%% DEBUG_LIBPATH %%%", DEBUG_LIBPATH)
+ gsub("%%% RELEASE_LIBPATH %%%", RELEASE_LIBPATH)
+ print $0
+}
+'
diff -r 4299e55a2c3d -r 85e86a9fc78f sys/arch/hpcmips/stand/libz/libz.config
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/hpcmips/stand/libz/libz.config Sun Apr 15 10:10:44 2001 +0000
@@ -0,0 +1,35 @@
+#!/bin/sh
+# $NetBSD: libz.config,v 1.5.8.2 2001/04/15 10:10:45 takemura Exp $
+
+# config file/script to generate project file (.dsp) for libz
+
+TYPE=static_library_WCE_MIPS
+
+NAME='libz'
+SRCFILE_LIST='
+ ../../../../lib/libz/adler32.c
+ ../../../../lib/libz/crc32.c
+ ../../../../lib/libz/infblock.c
+ ../../../../lib/libz/infcodes.c
+ ../../../../lib/libz/inffast.c
+ ../../../../lib/libz/inflate.c
+ ../../../../lib/libz/inftrees.c
+ ../../../../lib/libz/infutil.c
+ ../../../../lib/libz/uncompr.c
+ ../../../../lib/libz/zalloc.c
+'
+CPPDEF_LIST='
+ _STANDALONE
+ __STDC__
+ __signed=signed
+ LIBSA_RENAME_PRINTF
+ __COMPILER_INT64__=__int64
+ __COMPILER_UINT64__="unsigned#__int64"
+'
+INCDIR_LIST='
+ .
+ ../../../..
+ ../include
+'
+LIBDEP_LIST=''
+LIBRARY_LIST=''
diff -r 4299e55a2c3d -r 85e86a9fc78f sys/arch/hpcmips/stand/libz/libz.dsp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/hpcmips/stand/libz/libz.dsp Sun Apr 15 10:10:44 2001 +0000
@@ -0,0 +1,122 @@
+# Microsoft Developer Studio Project File - Name="libz" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (WCE MIPS) Static Library" 0x0a04
+
+CFG=libz - Win32 (WCE MIPS) Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "libz.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "libz.mak" CFG="libz - Win32 (WCE MIPS) Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "libz - Win32 (WCE MIPS) Release" (based on "Win32 (WCE MIPS) Static Library")
+!MESSAGE "libz - Win32 (WCE MIPS) Debug" (based on "Win32 (WCE MIPS) Static Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+# PROP WCE_Configuration "H/PC Ver. 2.00"
+CPP=clmips.exe
+
+!IF "$(CFG)" == "libz - Win32 (WCE MIPS) Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "WMIPSRel"
+# PROP BASE Intermediate_Dir "WMIPSRel"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "WMIPSRel"
+# PROP Intermediate_Dir "WMIPSRel"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /ML /W3 /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "NDEBUG" /D "MIPS" /D "_MIPS_" /D "hpcmips" /D UNDER_CE=$(CEVersion) /D "UNICODE" /YX /QMRWCE /c
+# ADD CPP /nologo /ML /W3 /O2 /I "." /I "../../../.." /I "../include" /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "NDEBUG" /D "MIPS" /D "_MIPS_" /D "hpcmips" /D UNDER_CE=$(CEVersion) /D
"UNICODE" /D _STANDALONE /D __STDC__ /D __signed=signed /D LIBSA_RENAME_PRINTF /D __COMPILER_INT64__=__int64 /D __COMPILER_UINT64__="unsigned __int64" /QMRWCE /c
+# SUBTRACT CPP /YX
+BSC32=bscmake.exe
+# ADD BASE BSC32 /NOLOGO
+# ADD BSC32 /NOLOGO
+LIB32=link.exe -lib
+# ADD BASE LIB32 /nologo
+# ADD LIB32 /nologo
+
+!ELSEIF "$(CFG)" == "libz - Win32 (WCE MIPS) Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "WMIPSDbg"
+# PROP BASE Intermediate_Dir "WMIPSDbg"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "WMIPSDbg"
+# PROP Intermediate_Dir "WMIPSDbg"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MLd /W3 /Zi /Od /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "hpcmips" /D UNDER_CE=$(CEVersion) /D "UNICODE" /YX /QMRWCE /c
+# ADD CPP /nologo /MLd /W3 /Zi /Od /I "." /I "../../../.." /I "../include" /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "hpcmips" /D UNDER_CE=$(CEVersion) /D
"UNICODE" /D _STANDALONE /D __STDC__ /D __signed=signed /D LIBSA_RENAME_PRINTF /D __COMPILER_INT64__=__int64 /D __COMPILER_UINT64__="unsigned __int64" /QMRWCE /c
+# SUBTRACT CPP /YX
+BSC32=bscmake.exe
+# ADD BASE BSC32 /NOLOGO
+# ADD BSC32 /NOLOGO
+LIB32=link.exe -lib
+# ADD BASE LIB32 /nologo
Home |
Main Index |
Thread Index |
Old Index