soltools conversion to gbuild
The following tools are considered to be obsolete and are discontinued: ldump, giparser, testhxx and support. Change-Id: I70813c046edb30546463cda9eb8a1b96c3e840a3
This commit is contained in:
parent
62ca77267c
commit
f1b1ae7624
24 changed files with 201 additions and 559 deletions
|
@ -145,6 +145,7 @@ shell\
|
|||
slideshow\
|
||||
smoketest\
|
||||
solenv\
|
||||
soltools\
|
||||
sot\
|
||||
starmath\
|
||||
stoc\
|
||||
|
@ -246,7 +247,6 @@ redland\
|
|||
rhino\
|
||||
saxon\
|
||||
setup_native\
|
||||
soltools\
|
||||
stax\
|
||||
stlport\
|
||||
sysui\
|
||||
|
|
|
@ -29,11 +29,14 @@
|
|||
$(eval $(call gb_Helper_register_executables,NONE, \
|
||||
HelpIndexer \
|
||||
HelpLinker \
|
||||
adjustvisibility \
|
||||
bestreversemap \
|
||||
bmp \
|
||||
bmpsum \
|
||||
cfgex \
|
||||
checkdll \
|
||||
checksingleton \
|
||||
cpp \
|
||||
cppunit/cppunittester \
|
||||
g2g \
|
||||
gencoll_rule \
|
||||
|
@ -43,8 +46,10 @@ $(eval $(call gb_Helper_register_executables,NONE, \
|
|||
gsicheck \
|
||||
helpex \
|
||||
idxdict \
|
||||
javadepend \
|
||||
lngconvex \
|
||||
localize \
|
||||
makedepend \
|
||||
mkunroll \
|
||||
mork_helper \
|
||||
osl_process_child \
|
||||
|
|
|
@ -74,9 +74,7 @@ endef
|
|||
|
||||
# ScpPreprocessTarget class
|
||||
|
||||
# TODO change to gb_Executable_get_target_for_build after soltools has
|
||||
# been gbuildified
|
||||
gb_ScpPreprocessTarget_TARGET := $(OUTDIR_FOR_BUILD)/bin/cpp.lcc
|
||||
gb_ScpPreprocessTarget_TARGET := $(call gb_Executable_get_target_for_build,cpp)
|
||||
gb_ScpPreprocessTarget_COMMAND := $(gb_Helper_set_ld_path) $(gb_ScpPreprocessTarget_TARGET)
|
||||
|
||||
gb_ScpPreprocessTarget_get_source = $(SRCDIR)/$(1).scp
|
||||
|
|
16
soltools/Executable_adjustvisibility.mk
Normal file
16
soltools/Executable_adjustvisibility.mk
Normal file
|
@ -0,0 +1,16 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Executable_Executable,adjustvisibility))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,adjustvisibility,\
|
||||
soltools/adjustvisibility/adjustvisibility \
|
||||
))
|
||||
|
||||
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
22
soltools/Executable_checkdll.mk
Normal file
22
soltools/Executable_checkdll.mk
Normal file
|
@ -0,0 +1,22 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Executable_Executable,checkdll))
|
||||
|
||||
$(eval $(call gb_Executable_add_cobjects,checkdll,\
|
||||
soltools/checkdll/checkdll \
|
||||
))
|
||||
|
||||
ifeq ($(filter DRAGONFLY FREEBSD NETBSD OPENBSD MACOSX,$(OS)),)
|
||||
$(eval $(call gb_Executable_add_libs,checkdll,\
|
||||
-ldl \
|
||||
))
|
||||
endif
|
||||
|
||||
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
36
soltools/Executable_cpp.mk
Normal file
36
soltools/Executable_cpp.mk
Normal file
|
@ -0,0 +1,36 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Executable_Executable,cpp))
|
||||
|
||||
$(eval $(call gb_Executable_add_cobjects,cpp,\
|
||||
soltools/cpp/_cpp \
|
||||
soltools/cpp/_eval \
|
||||
soltools/cpp/_include \
|
||||
soltools/cpp/_lex \
|
||||
soltools/cpp/_macro \
|
||||
soltools/cpp/_mcrvalid \
|
||||
soltools/cpp/_nlist \
|
||||
soltools/cpp/_tokens \
|
||||
soltools/cpp/_unix \
|
||||
))
|
||||
|
||||
ifneq ($(or $(filter AIX MACOSX,$(OS)),$(filter NO,$(HAVE_GETOPT))),)
|
||||
$(eval $(call gb_Executable_add_cobjects,cpp,\
|
||||
soltools/cpp/_getopt \
|
||||
))
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_GETOPT),YES)
|
||||
$(eval $(call gb_Executable_add_defs,cpp,\
|
||||
-DHAVE_GETOPT \
|
||||
))
|
||||
endif
|
||||
|
||||
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
16
soltools/Executable_javadep.mk
Normal file
16
soltools/Executable_javadep.mk
Normal file
|
@ -0,0 +1,16 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Executable_Executable,javadep))
|
||||
|
||||
$(eval $(call gb_Executable_add_cobjects,javadep,\
|
||||
soltools/javadep/javadep \
|
||||
))
|
||||
|
||||
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
43
soltools/Executable_makedepend.mk
Normal file
43
soltools/Executable_makedepend.mk
Normal file
|
@ -0,0 +1,43 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Executable_Executable,makedepend))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,makedepend,\
|
||||
soltools/mkdepend/collectdircontent \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_defs,makedepend,\
|
||||
-DNO_X11 \
|
||||
-DXP_PC \
|
||||
-DHW_THREADS \
|
||||
))
|
||||
|
||||
ifeq ($(COM),MSC)
|
||||
$(eval $(call gb_Executable_add_defs,makedepend,\
|
||||
-wd4100 \
|
||||
-wd4131 \
|
||||
-wd4706 \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,makedepend,\
|
||||
msvcprt \
|
||||
))
|
||||
endif
|
||||
|
||||
$(eval $(call gb_Executable_add_cobjects,makedepend,\
|
||||
soltools/mkdepend/cppsetup \
|
||||
soltools/mkdepend/ifparser \
|
||||
soltools/mkdepend/include \
|
||||
soltools/mkdepend/main \
|
||||
soltools/mkdepend/parse \
|
||||
soltools/mkdepend/pr \
|
||||
))
|
||||
|
||||
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
7
soltools/Makefile
Normal file
7
soltools/Makefile
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
|
||||
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||
|
||||
include $(module_directory)/../solenv/gbuild/partial_build.mk
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
41
soltools/Module_soltools.mk
Normal file
41
soltools/Module_soltools.mk
Normal file
|
@ -0,0 +1,41 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Module_Module,soltools))
|
||||
|
||||
ifneq ($(CROSS_COMPILING),YES)
|
||||
$(eval $(call gb_Module_add_targets,soltools,\
|
||||
Executable_cpp \
|
||||
Executable_javadep \
|
||||
Executable_makedepend \
|
||||
))
|
||||
|
||||
ifeq ($(GUI),UNX)
|
||||
$(eval $(call gb_Module_add_targets,soltools,\
|
||||
Executable_checkdll \
|
||||
))
|
||||
#
|
||||
# the same as the condition outside of ifneq ($(CROSS_COMPILING),YES)
|
||||
# ifeq ($(GUI)$(COM),WNTMSC)
|
||||
#
|
||||
else
|
||||
$(eval $(call gb_Module_add_targets,soltools,\
|
||||
Package_inc \
|
||||
))
|
||||
endif # UNX
|
||||
|
||||
ifeq ($(OS)$(COM),SOLARISC52)
|
||||
$(eval $(call gb_Module_add_targets,soltools,\
|
||||
Executable_adjustvisibility \
|
||||
))
|
||||
endif # SOLARISC52
|
||||
|
||||
endif # CROSS_COMPILING
|
||||
|
||||
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
11
soltools/Package_inc.mk
Normal file
11
soltools/Package_inc.mk
Normal file
|
@ -0,0 +1,11 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Package_Package,soltools_inc,$(SRCDIR)/soltools/winunistd))
|
||||
$(eval $(call gb_Package_add_file,soltools_inc,inc/unistd.h,unistd.h))
|
|
@ -1,50 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
PRJ=..
|
||||
|
||||
PRJNAME=soltools
|
||||
TARGET=adjustvisibility
|
||||
TARGETTYPE=CUI
|
||||
ENABLE_EXCEPTIONS=TRUE
|
||||
noadjust=TRUE
|
||||
|
||||
# --- Settings -----------------------------------------------------
|
||||
|
||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
# --- Files --------------------------------------------------------
|
||||
|
||||
# This tool is for SunStudio on Solaris only
|
||||
.IF "$(OS)$(COM)"=="SOLARISC52"
|
||||
|
||||
APP1TARGET = adjustvisibility
|
||||
APP1OBJS = $(OBJ)$/adjustvisibility.obj
|
||||
DEPOBJFILES = $(APP1OBJ)
|
||||
APP1STDLIBS = -lelf
|
||||
APP1RPATH = NONE
|
||||
|
||||
#APP1STDLIBS+=-lstlport
|
||||
APP1STDLIBS+=-lCstd
|
||||
|
||||
.ENDIF "$(OS)$(COM)"=="SOLARISC52"
|
||||
|
||||
# --- Targets ------------------------------------------------------
|
||||
|
||||
.INCLUDE : target.mk
|
|
@ -1,50 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
PRJ=..
|
||||
|
||||
PRJNAME=soltools
|
||||
TARGET=checkdll
|
||||
TARGETTYPE=CUI
|
||||
NO_DEFAULT_STL=TRUE
|
||||
|
||||
# --- Settings -----------------------------------------------------
|
||||
|
||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
# --- Files --------------------------------------------------------
|
||||
|
||||
|
||||
.IF "$(GUI)"=="UNX" && "$(CROSS_COMPILING)"!="YES"
|
||||
LIBSALCPPRT=$(0)
|
||||
APP1TARGET = checkdll
|
||||
APP1OBJS = $(OBJ)$/checkdll.obj
|
||||
DEPOBJFILES = $(APP1OBJS)
|
||||
.IF "$(OS)"!="FREEBSD" && "$(OS)"!="MACOSX" && "$(OS)"!="NETBSD" \
|
||||
&& "$(OS)"!="OPENBSD" && "$(OS)"!="DRAGONFLY"
|
||||
STDLIB += -ldl
|
||||
.ENDIF
|
||||
.IF "$(OS)"=="NETBSD"
|
||||
APP1STDLIBS += -Wl,--whole-archive -lgcc -Wl,--no-whole-archive
|
||||
.ENDIF
|
||||
.ENDIF # "$(GUI)"=="UNX" && "$(CROSS_COMPILING)"!="YES"
|
||||
|
||||
# --- Targets ------------------------------------------------------
|
||||
|
||||
.INCLUDE : target.mk
|
|
@ -1,72 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
PRJ=..
|
||||
|
||||
PRJNAME=soltools
|
||||
TARGET=cpp
|
||||
TARGETTYPE=CUI
|
||||
NO_DEFAULT_STL=TRUE
|
||||
|
||||
# --- Settings -----------------------------------------------------
|
||||
|
||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
.IF "$(CROSS_COMPILING)"=="YES"
|
||||
|
||||
all:
|
||||
# nothing
|
||||
|
||||
.ENDIF
|
||||
|
||||
UWINAPILIB=$(0)
|
||||
LIBSALCPPRT=$(0)
|
||||
|
||||
# --- Files --------------------------------------------------------
|
||||
|
||||
OBJFILES= \
|
||||
$(OBJ)$/_cpp.obj \
|
||||
$(OBJ)$/_eval.obj \
|
||||
$(OBJ)$/_include.obj \
|
||||
$(OBJ)$/_lex.obj \
|
||||
$(OBJ)$/_macro.obj \
|
||||
$(OBJ)$/_mcrvalid.obj \
|
||||
$(OBJ)$/_nlist.obj \
|
||||
$(OBJ)$/_tokens.obj \
|
||||
$(OBJ)$/_unix.obj
|
||||
|
||||
# nonstandard cpp options needed for Mac (-isysroot),
|
||||
# needs the custom stgetopt defined here :/
|
||||
.IF "$(OS)" == "MACOSX" || "$(OS)" == "AIX" || "$(HAVE_GETOPT)" != "YES"
|
||||
OBJFILES += $(OBJ)$/_getopt.obj
|
||||
.ENDIF
|
||||
.IF "$(HAVE_GETOPT)" == "YES"
|
||||
CDEFS += -DHAVE_GETOPT
|
||||
.ENDIF
|
||||
|
||||
APP1TARGET = $(TARGET)
|
||||
APP1STACK = 1000000
|
||||
APP1LIBS = $(LB)$/$(TARGET).lib
|
||||
APP1DEPN = $(LB)$/$(TARGET).lib
|
||||
|
||||
# --- Targets ------------------------------------------------------
|
||||
|
||||
.INCLUDE : target.mk
|
||||
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
PRJ=..
|
||||
|
||||
PRJNAME=soltools
|
||||
TARGET=soltools_giparser
|
||||
TARGETTYPE=CUI
|
||||
ENABLE_EXCEPTIONS=TRUE
|
||||
|
||||
# --- Settings -----------------------------------------------------
|
||||
|
||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
.IF "$(CROSS_COMPILING)"=="YES"
|
||||
|
||||
all:
|
||||
# nothing
|
||||
|
||||
.ENDIF
|
||||
|
||||
# --- Files --------------------------------------------------------
|
||||
|
||||
OBJFILES=\
|
||||
$(OBJ)$/gen_info.obj \
|
||||
$(OBJ)$/gi_list.obj \
|
||||
$(OBJ)$/gi_parse.obj
|
||||
|
||||
SLOFILES=\
|
||||
$(SLO)$/gen_info.obj \
|
||||
$(SLO)$/gi_list.obj \
|
||||
$(SLO)$/gi_parse.obj
|
||||
|
||||
# --- Targets ------------------------------------------------------
|
||||
|
||||
|
||||
.INCLUDE : target.mk
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
PRJ=..
|
||||
|
||||
PRJNAME=ldump
|
||||
TARGET=ldump
|
||||
TARGETTYPE=CUI
|
||||
|
||||
# --- Settings -----------------------------------------------------
|
||||
|
||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
UWINAPILIB=$(0)
|
||||
LIBSALCPPRT=$(0)
|
||||
|
||||
# --- Files --------------------------------------------------------
|
||||
|
||||
# ldump only supports windows environment
|
||||
.IF "$(GUI)"=="WNT"
|
||||
.IF "$(COM)"!="GCC"
|
||||
#ldump4 reimplements feature set of ldump2 and ldump3
|
||||
APP1TARGET= ldump4
|
||||
.IF "$(GUI)"=="WNT"
|
||||
APP1STACK= 16000
|
||||
.ENDIF
|
||||
APP1OBJS= $(OBJ)$/ldump.obj $(OBJ)$/hashtbl.obj
|
||||
|
||||
.ENDIF #"$(COM)"!="GCC"
|
||||
.ENDIF #"$(GUI)"=="WNT"
|
||||
|
||||
# --- Targets ------------------------------------------------------
|
||||
|
||||
.INCLUDE : target.mk
|
|
@ -1,78 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
PRJNAME=soltools
|
||||
TARGET=make_makedepend
|
||||
PRJ=..
|
||||
TARGETTYPE=CUI
|
||||
LIBTARGET=NO
|
||||
# noadjust here to have dependencies over there
|
||||
noadjust=TRUE
|
||||
nodep=true
|
||||
ENABLE_EXCEPTIONS=TRUE
|
||||
|
||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
.IF "$(CROSS_COMPILING)"=="YES"
|
||||
|
||||
all:
|
||||
# nothing
|
||||
|
||||
.ENDIF
|
||||
|
||||
LIBSALCPPRT=
|
||||
UWINAPILIB=
|
||||
|
||||
CDEFS+=-DNO_X11 -DXP_PC -DHW_THREADS
|
||||
|
||||
.IF "$(COM)" == "MSC"
|
||||
# C4100: unreferenced formal parameter
|
||||
# C4131: uses old-style declarator
|
||||
# C4242: conversion from 'int' to 'char', possible loss of data
|
||||
# C4706: assignment within conditional expression
|
||||
CDEFS+=-wd4100 -wd4131 -wd4242 -wd4706
|
||||
.ENDIF
|
||||
|
||||
OBJFILES= \
|
||||
$(OBJ)$/cppsetup.obj \
|
||||
$(OBJ)$/ifparser.obj \
|
||||
$(OBJ)$/include.obj \
|
||||
$(OBJ)$/main.obj \
|
||||
$(OBJ)$/parse.obj \
|
||||
$(OBJ)$/pr.obj \
|
||||
$(OBJ)$/collectdircontent.obj \
|
||||
$(NULL)
|
||||
|
||||
APP1TARGET=makedepend
|
||||
APP1OBJS=$(OBJFILES)
|
||||
APP1RPATH=NONE
|
||||
|
||||
.IF "$(COM)"=="MSC"
|
||||
APP1STDLIBS+=msvcprt.lib
|
||||
.ENDIF # "$(COM)"=="MSC"
|
||||
|
||||
.IF "$(OS)$(COM)"=="SOLARISC52"
|
||||
#APP1STDLIBS+=-lstlport
|
||||
APP1STDLIBS+=-lCstd
|
||||
.ENDIF
|
||||
|
||||
|
||||
.INCLUDE : target.mk
|
||||
|
||||
|
|
@ -1,13 +1,3 @@
|
|||
so soltools : solenv NULL
|
||||
so soltools usr1 - all so_usr1 NULL
|
||||
so soltools\inc get - all so_inc NULL
|
||||
so soltools\ldump nmake - w so_ldump so_mkdep NULL
|
||||
so soltools\winunistd nmake - n so_wunistd NULL
|
||||
so soltools\mkdepend nmake - all so_mkdep so_wunistd.n NULL
|
||||
so soltools\checkdll nmake - u so_chkdl so_adjvis.u so_mkdep NULL
|
||||
so soltools\cpp nmake - all so_cpp__ so_mkdep so_adjvis.u NULL
|
||||
so soltools\javadep nmake - all so_jvdep so_mkdep so_adjvis.u NULL
|
||||
so soltools\support nmake - all so_supp so_mkdep so_adjvis.u NULL
|
||||
so soltools\giparser nmake - all so_gip so_supp so_adjvis.u NULL
|
||||
so soltools\adjustvisibility nmake - u so_adjvis so_mkdep NULL
|
||||
so soltools\testhxx nmake - all so_testhxx so_mkdep NULL
|
||||
so soltools usr1 - all so_usr1 NULL
|
||||
so soltools\prj nmake - all ro_prj NULL
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
..\%__SRC%\bin\ldump4.exe %_DEST%\bin\ldump4.exe
|
||||
..\%__SRC%\bin\makedepend.exe %_DEST%\bin\makedepend.exe
|
||||
..\%__SRC%\bin\makedepend %_DEST%\bin\makedepend
|
||||
..\%__SRC%\bin\adjustvisibility %_DEST%\bin\adjustvisibility
|
||||
..\%__SRC%\bin\javadep.exe %_DEST%\bin\javadep.exe
|
||||
..\%__SRC%\bin\javadep %_DEST%\bin\javadep
|
||||
..\%__SRC%\bin\checkdll %_DEST%\bin\checkdll
|
||||
..\%__SRC%\bin\cpp.exe %_DEST%\bin\cpplcc.exe
|
||||
..\%__SRC%\bin\cpp %_DEST%\bin\cpp.lcc
|
||||
..\%__SRC%\inc\unistd.h %_DEST%\inc\unistd.h
|
||||
..\%__SRC%\bin\testhxx* %_DEST%\bin\testhxx*
|
|
@ -1,51 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
PRJ=..
|
||||
|
||||
PRJNAME=soltools
|
||||
TARGET=soltools_support
|
||||
TARGETTYPE=CUI
|
||||
|
||||
# --- Settings -----------------------------------------------------
|
||||
|
||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
.IF "$(CROSS_COMPILING)"=="YES"
|
||||
|
||||
all:
|
||||
# nothing
|
||||
|
||||
.ENDIF
|
||||
|
||||
# --- Files --------------------------------------------------------
|
||||
|
||||
OBJFILES= \
|
||||
$(OBJ)$/simstr.obj
|
||||
|
||||
SLOFILES= \
|
||||
$(SLO)$/simstr.obj
|
||||
|
||||
|
||||
|
||||
# --- Targets ------------------------------------------------------
|
||||
|
||||
.INCLUDE : target.mk
|
||||
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
PRJ := ..
|
||||
PRJNAME := soltools
|
||||
TARGET := testhxx
|
||||
LIBTARGET := NO
|
||||
ENABLE_EXCEPTIONS := TRUE
|
||||
|
||||
CAPTURE_COMMAND = echo
|
||||
CAPTURE_OUTPUT = > $(MISC)$/testhxx.output && $(TOUCH) $(SLO)$/testhxx.obj
|
||||
|
||||
.INCLUDE: $(PRJ)$/util$/makefile.pmk
|
||||
.INCLUDE: settings.mk
|
||||
|
||||
.IF "$(CROSS_COMPILING)"=="YES"
|
||||
|
||||
all:
|
||||
# nothing
|
||||
|
||||
.ENDIF
|
||||
|
||||
SLOFILES = $(SLO)$/testhxx.obj
|
||||
|
||||
.INCLUDE: target.mk
|
||||
|
||||
ALLTAR: $(BIN)$/$(TARGET)
|
||||
|
||||
$(BIN)$/$(TARGET) .ERRREMOVE : $(MISC)$/testhxx.output create.pl
|
||||
$(PERL) -w create.pl < $(MISC)$/testhxx.output > $@
|
||||
chmod +x $@
|
||||
|
||||
$(MISC)$/testhxx.output: $(SLO)$/testhxx.obj
|
||||
$(TOUCH) $<
|
||||
$(TOUCH) $@
|
|
@ -1,35 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
# find 'makedepend' in own output tree
|
||||
MAKEDEPEND=$(AUGMENT_LIBRARY_PATH) $(BIN)$/makedepend
|
||||
|
||||
# find 'adjustvisibility' in own output tree
|
||||
ADJUSTVISIBILITY=$(AUGMENT_LIBRARY_PATH) $(BIN)$/adjustvisibility
|
||||
|
||||
.IF "$(OS)"=="SOLARIS"
|
||||
# hack due to #i53089#
|
||||
.IF "$(COMPATH:+"x")" != "$(COMPATH:+"x":s/binx//)"
|
||||
HELP_COMPATH:=$(subst,/binx, $(COMPATH:+"x"))
|
||||
.ELSE # "$(COMPATH:+"x")" == "$(COMPATH:s/binx//)/binx"
|
||||
HELP_COMPATH:=$(COMPATH)
|
||||
.ENDIF # "$(COMPATH:+"x")" == "$(COMPATH:s/binx//)/binx"
|
||||
.IF "$(COM)"!="GCC"
|
||||
SOLARINC+=-I$(HELP_COMPATH)/prod/include/CC/Cstd
|
||||
.ENDIF
|
||||
.ENDIF
|
|
@ -1,43 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
PRJ=..
|
||||
|
||||
PRJNAME=soltools
|
||||
TARGET=winunistd
|
||||
TARGETTYPE=CUI
|
||||
|
||||
# --- Settings -----------------------------------------------------
|
||||
|
||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
# --- Files --------------------------------------------------------
|
||||
|
||||
.IF "$(GUI)"=="WNT"
|
||||
.IF "$(COM)"!="GCC"
|
||||
# provide dummy header for generated sources
|
||||
$(INCCOM)$/unistd.h : unistd.h
|
||||
@$(COPY) $< $@
|
||||
|
||||
.ENDIF # "$(COM)"!="GCC"
|
||||
.ENDIF # "$(GUI)"=="WNT"
|
||||
|
||||
# --- Targets ------------------------------------------------------
|
||||
|
||||
.INCLUDE : target.mk
|
Loading…
Reference in a new issue