Remove hpversion.h from repository
This patch removes hpversion.h from the repository, this also untangles a lot of ifdef mess. This closes bug CDExc19524.
This commit is contained in:
@@ -44,12 +44,6 @@ REQUIREDLIBS = SharedDtSvcReqs $(XINLIB)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef AlphaArchitecture
|
||||
EXTRA_SRCS = svc_init.c
|
||||
EXTRA_OBJS = svc_init.o
|
||||
#endif
|
||||
|
||||
#if defined(SunArchitecture)
|
||||
DTUTIL2_EXTRA_OBJS = DtUtil2/SunDtHelp.o
|
||||
#endif
|
||||
@@ -60,83 +54,78 @@ DTUTIL2_EXTRA_OBJS = DtUtil2/SunDtHelp.o
|
||||
* Each .o must have a listing in *OBJS macros below.
|
||||
*/
|
||||
DTUTIL1_OBJS1 = \
|
||||
DtUtil1/Action.o DtUtil1/ActionTt.o \
|
||||
DtUtil1/ActionFind.o DtUtil1/ActionDb.o \
|
||||
DtUtil1/ActionUtil.o DtUtil1/CmdSpc.o \
|
||||
DtUtil1/CmdMain.o DtUtil1/CmdProcess.o \
|
||||
DtUtil1/CmdUtilityP.o DtUtil1/DbReader.o \
|
||||
DtUtil1/DbUtil.o DtUtil1/Dnd.o \
|
||||
DtUtil1/DndDrag.o DtUtil1/DndDrop.o \
|
||||
DtUtil1/DndIcon.o DtUtil1/DndBuff.o \
|
||||
DtUtil1/DndFile.o DtUtil1/DndText.o \
|
||||
DtUtil1/Action.o DtUtil1/ActionTt.o \
|
||||
DtUtil1/ActionFind.o DtUtil1/ActionDb.o \
|
||||
DtUtil1/ActionUtil.o DtUtil1/CmdSpc.o \
|
||||
DtUtil1/CmdMain.o DtUtil1/CmdProcess.o \
|
||||
DtUtil1/CmdUtilityP.o DtUtil1/DbReader.o \
|
||||
DtUtil1/DbUtil.o DtUtil1/Dnd.o \
|
||||
DtUtil1/DndDrag.o DtUtil1/DndDrop.o \
|
||||
DtUtil1/DndIcon.o DtUtil1/DndBuff.o \
|
||||
DtUtil1/DndFile.o DtUtil1/DndText.o \
|
||||
DtUtil1/Dt.o DtUtil1/Dts.o \
|
||||
DtUtil1/DtsDb.o DtUtil1/DtsSort.o \
|
||||
DtUtil1/DbLoad.o DtUtil1/DtsInit.o \
|
||||
DtUtil1/DtHash.o DtUtil1/intarray.o \
|
||||
DtUtil1/inttab.o DtUtil1/strtab.o \
|
||||
DtUtil1/DtsDb.o DtUtil1/DtsSort.o \
|
||||
DtUtil1/DbLoad.o DtUtil1/DtsInit.o \
|
||||
DtUtil1/DtHash.o DtUtil1/intarray.o \
|
||||
DtUtil1/inttab.o DtUtil1/strtab.o \
|
||||
DtUtil1/MMDb.o DtUtil1/DtsMM.o \
|
||||
DtUtil1/GetMwmW.o DtUtil1/GetVWmHint.o \
|
||||
DtUtil1/Qualify.o DtUtil1/Saver.o \
|
||||
DtUtil1/SetVWmHint.o DtUtil1/SmComm.o \
|
||||
DtUtil1/SmUtil.o DtUtil1/WmAddDelWs.o \
|
||||
DtUtil1/WmBackWin.o DtUtil1/WmChBackD.o \
|
||||
DtUtil1/WmGWsInfo.o DtUtil1/WmGWsList.o \
|
||||
DtUtil1/WmMarquee.o DtUtil1/WmRestart.o \
|
||||
DtUtil1/WmRmWsFcn.o DtUtil1/WmSetTitle.o \
|
||||
DtUtil1/WmSetWs.o DtUtil1/WmWsCallB.o \
|
||||
DtUtil1/WmWsHints.o DtUtil1/WmWsOccupy.o
|
||||
DtUtil1/GetMwmW.o DtUtil1/GetVWmHint.o \
|
||||
DtUtil1/Qualify.o DtUtil1/Saver.o \
|
||||
DtUtil1/SetVWmHint.o DtUtil1/SmComm.o \
|
||||
DtUtil1/SmUtil.o DtUtil1/WmAddDelWs.o \
|
||||
DtUtil1/WmBackWin.o DtUtil1/WmChBackD.o \
|
||||
DtUtil1/WmGWsInfo.o DtUtil1/WmGWsList.o \
|
||||
DtUtil1/WmMarquee.o DtUtil1/WmRestart.o \
|
||||
DtUtil1/WmRmWsFcn.o DtUtil1/WmSetTitle.o \
|
||||
DtUtil1/WmSetWs.o DtUtil1/WmWsCallB.o \
|
||||
DtUtil1/WmWsHints.o DtUtil1/WmWsOccupy.o
|
||||
|
||||
DTUTIL2_OBJS = \
|
||||
$(DTUTIL2_EXTRA_OBJS) \
|
||||
DtUtil2/ChkpntClient.o DtUtil2/ChkpntListen.o \
|
||||
DtUtil2/DtEnvMap.o DtUtil2/DtNlUtils.o \
|
||||
DtUtil2/EnvControl.o DtUtil2/FileUtil.o \
|
||||
DtUtil2/GetDispRes.o DtUtil2/GetMessage.o \
|
||||
DtUtil2/HourGlass.o DtUtil2/SharedProcs.o \
|
||||
DtUtil2/SmCreateDirs.o DtUtil2/UErrNoBMS.o \
|
||||
DtUtil2/Utility.o DtUtil2/ActIndicator.o \
|
||||
DtUtil2/CmdUtility.o DtUtil2/DtGetMessage.o \
|
||||
DtUtil2/DtUtil.o DtUtil2/GetEmbed.o \
|
||||
DtUtil2/ChkpntClient.o DtUtil2/ChkpntListen.o \
|
||||
DtUtil2/DtEnvMap.o DtUtil2/DtNlUtils.o \
|
||||
DtUtil2/EnvControl.o DtUtil2/FileUtil.o \
|
||||
DtUtil2/GetDispRes.o DtUtil2/GetMessage.o \
|
||||
DtUtil2/HourGlass.o DtUtil2/SharedProcs.o \
|
||||
DtUtil2/SmCreateDirs.o DtUtil2/UErrNoBMS.o \
|
||||
DtUtil2/Utility.o DtUtil2/ActIndicator.o \
|
||||
DtUtil2/CmdUtility.o DtUtil2/DtGetMessage.o \
|
||||
DtUtil2/DtUtil.o DtUtil2/GetEmbed.o \
|
||||
DtUtil2/Hash.o DtUtil2/PrintXErr.o \
|
||||
DtUtil2/XmWrap.o DtUtil2/addToRes.o \
|
||||
DtUtil2/XmWrap.o DtUtil2/addToRes.o \
|
||||
DtUtil2/lock.o DtUtil2/SvcTT.o \
|
||||
DtUtil2/MsgCat.o DtUtil2/MsgLog.o \
|
||||
DtUtil2/MsgCat.o DtUtil2/MsgLog.o \
|
||||
DtUtil2/Info.o DtUtil2/LocaleXlate.o \
|
||||
DtUtil2/XlationSvc.o
|
||||
|
||||
DTCODELIBS_OBJS3 = \
|
||||
DtCodelibs/buf.o DtCodelibs/filegen.o \
|
||||
DtCodelibs/mbschr.o DtCodelibs/pathcollapse.o \
|
||||
DtCodelibs/privbuf.o DtCodelibs/shellscan.o \
|
||||
DtCodelibs/strcase.o DtCodelibs/strend.o \
|
||||
DtCodelibs/strhash.o DtCodelibs/stringio.o \
|
||||
DtCodelibs/strtokx.o DtCodelibs/strwcmp.o
|
||||
DtCodelibs/buf.o DtCodelibs/filegen.o \
|
||||
DtCodelibs/mbschr.o DtCodelibs/pathcollapse.o \
|
||||
DtCodelibs/privbuf.o DtCodelibs/shellscan.o \
|
||||
DtCodelibs/strcase.o DtCodelibs/strend.o \
|
||||
DtCodelibs/strhash.o DtCodelibs/stringio.o \
|
||||
DtCodelibs/strtokx.o DtCodelibs/strwcmp.o
|
||||
|
||||
DTENCAP_OBJS4 = \
|
||||
DtEncap/MemoryMgr.o DtEncap/SbEvent.o \
|
||||
DtEncap/Symbolic.o DtEncap/bmsglob.o \
|
||||
DtEncap/connect.o DtEncap/local.o \
|
||||
DtEncap/MemoryMgr.o DtEncap/SbEvent.o \
|
||||
DtEncap/Symbolic.o DtEncap/bmsglob.o \
|
||||
DtEncap/connect.o DtEncap/local.o \
|
||||
DtEncap/nls.o DtEncap/noio.o \
|
||||
DtEncap/pathwexp.o DtEncap/pipe.o \
|
||||
DtEncap/pathwexp.o DtEncap/pipe.o \
|
||||
DtEncap/pty.o DtEncap/remote.o \
|
||||
DtEncap/sbstdinc.o DtEncap/scoop.o \
|
||||
DtEncap/spc-env.o DtEncap/spc-error.o \
|
||||
DtEncap/spc-exec.o DtEncap/spc-net.o \
|
||||
DtEncap/spc-obj.o DtEncap/spc-proto.o \
|
||||
DtEncap/spc-sm.o DtEncap/spc-termio.o \
|
||||
DtEncap/spc-util.o DtEncap/spc-xt.o \
|
||||
DtEncap/sbstdinc.o DtEncap/scoop.o \
|
||||
DtEncap/spc-env.o DtEncap/spc-error.o \
|
||||
DtEncap/spc-exec.o DtEncap/spc-net.o \
|
||||
DtEncap/spc-obj.o DtEncap/spc-proto.o \
|
||||
DtEncap/spc-sm.o DtEncap/spc-termio.o \
|
||||
DtEncap/spc-util.o DtEncap/spc-xt.o \
|
||||
DtEncap/spc.o DtEncap/stringbuf.o \
|
||||
DtEncap/usersig.o
|
||||
|
||||
DTXPM_OBJS5 = \
|
||||
DtXpm/xpm.o
|
||||
|
||||
|
||||
SRCS = version.c $(EXTRA_SRCS)
|
||||
OBJS = version.o $(EXTRA_OBJS) \
|
||||
$(DTUTIL1_OBJS1) $(DTUTIL1_OBJS2) $(DTUTIL2_OBJS) \
|
||||
OBJS = $(EXTRA_OBJS) $(DTUTIL1_OBJS1) $(DTUTIL1_OBJS2) $(DTUTIL2_OBJS) \
|
||||
$(DTCODELIBS_OBJS3) $(DTENCAP_OBJS4) $(DTXPM_OBJS5)
|
||||
|
||||
#include <Library.tmpl>
|
||||
|
||||
DependTarget()
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
/*
|
||||
* CDE - Common Desktop Environment
|
||||
*
|
||||
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these libraries and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/* $XConsortium: svc_init.c /main/3 1996/07/09 14:47:28 drk $ */
|
||||
|
||||
#include <sys/uswitch.h>
|
||||
#include <errno.h>
|
||||
|
||||
/*
|
||||
* Activate System V Null pointer treatment. This allows dereferences
|
||||
* of NULL pointers in the CDE executables to work.
|
||||
*
|
||||
* This procedure is obsolete. Dereferencing a NULL pointer is
|
||||
* an error, and such code should be repaired.
|
||||
*/
|
||||
|
||||
svc_init()
|
||||
{
|
||||
int usw_val;
|
||||
|
||||
usw_val=uswitch(USC_GET,0);
|
||||
if ((uswitch(USC_SET, usw_val | USW_NULLP)) == 01) {
|
||||
perror("svc_init");
|
||||
return(-1);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* CDE - Common Desktop Environment
|
||||
*
|
||||
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these libraries and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
* (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
|
||||
* (c) Copyright 1993, 1994 Novell, Inc. *
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
/* add any additional revision info here */
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/********************************************************
|
||||
|
||||
Copyright (c) 1988 by Hewlett-Packard Company
|
||||
Copyright (c) 1988 by the Massachusetts Institute of Technology
|
||||
|
||||
Permission to use, copy, modify, and distribute this software
|
||||
and its documentation for any purpose and without fee is hereby
|
||||
granted, provided that the above copyright notice appear in all
|
||||
copies and that both that copyright notice and this permission
|
||||
notice appear in supporting documentation, and that the names of
|
||||
Hewlett-Packard or M.I.T. not be used in advertising or publicity
|
||||
pertaining to distribution of the software without specific, written
|
||||
prior permission.
|
||||
|
||||
********************************************************/
|
||||
|
||||
#include <include/hpversion.h>
|
||||
|
||||
#ifndef lint
|
||||
version_tag("$XConsortium: version.c /main/5 1996/08/30 15:24:25 drk $")
|
||||
#endif /* lint */
|
||||
Reference in New Issue
Block a user