diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-06 13:49:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-06 14:07:26 +0000 |
commit | 42db3c8036947142771577fd301894e9aa9a995b (patch) | |
tree | 3e5341e491f5c14e0248887e2a8164df01d8b6bb /cli_ure | |
parent | 4689f1c4cf96b43bf7470e31f05614c2a1c16f2d (diff) |
commit delete various unused makefile.mks
Change-Id: I382423164fd65679d3b893ea0d9729508813b425
Diffstat (limited to 'cli_ure')
-rw-r--r-- | cli_ure/util/target.pmk | 35 | ||||
-rw-r--r-- | cli_ure/workbench/dynload/dynload.cs | 53 | ||||
-rw-r--r-- | cli_ure/workbench/dynload/makefile.mk | 59 | ||||
-rw-r--r-- | cli_ure/workbench/dynload/readme.txt | 2 |
4 files changed, 0 insertions, 149 deletions
diff --git a/cli_ure/util/target.pmk b/cli_ure/util/target.pmk deleted file mode 100644 index b463e5222c6e..000000000000 --- a/cli_ure/util/target.pmk +++ /dev/null @@ -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 . -# - -###### C# ###### - -CSCFLAGS = -warnaserror+ -noconfig - -.IF "$(debug)" == "" - -.IF "$(product)" == "" -CSCFLAGS += -checked+ -define:DEBUG -define:TRACE -.ELSE -CSCFLAGS += -o -.ENDIF - -.ELSE # debug - -CSCFLAGS += -debug+ -checked+ -define:DEBUG -define:TRACE - -.ENDIF diff --git a/cli_ure/workbench/dynload/dynload.cs b/cli_ure/workbench/dynload/dynload.cs deleted file mode 100644 index 36c3e02faacc..000000000000 --- a/cli_ure/workbench/dynload/dynload.cs +++ /dev/null @@ -1,53 +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 . - */ - -using System; -using unoidl.com.sun.star.lang; -using unoidl.com.sun.star.uno; -using unoidl.com.sun.star.bridge; -using unoidl.com.sun.star.frame; - -class DynLoad -{ - - static void Main(string[] args) - { - connect(args); - } - -/** Connect to a running office that is accepting connections. - @return The ServiceManager to instantiate office components. */ - static private XMultiServiceFactory connect( string[] args ) - { - if (args.Length == 0) - Console.WriteLine("You need to provide a file URL to the office" + - " program folder\n"); - System.Collections.Hashtable ht = new System.Collections.Hashtable(); - ht.Add( "SYSBINDIR", args[ 0 ] ); - XComponentContext xContext = - uno.util.Bootstrap.defaultBootstrap_InitialComponentContext( - args[ 0 ] + "/uno.ini", ht.GetEnumerator() ); - - if (xContext != null) - Console.WriteLine("Successfully created XComponentContext\n"); - else - Console.WriteLine("Could not create XComponentContext\n"); - - return null; - } -} diff --git a/cli_ure/workbench/dynload/makefile.mk b/cli_ure/workbench/dynload/makefile.mk deleted file mode 100644 index e20fdcbb0b90..000000000000 --- a/cli_ure/workbench/dynload/makefile.mk +++ /dev/null @@ -1,59 +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 = cli_ure - -# for dummy -TARGET = dynload - -.INCLUDE : settings.mk -.INCLUDE : $(PRJ)$/util$/makefile.pmk - -.INCLUDE : $(PRJ)$/util$/target.pmk -.INCLUDE : target.mk - -.IF "$(BUILD_FOR_CLI)" != "" - -ALLTAR : \ - $(OUT)$/bin$/dynload.exe - -CSFILES = \ - dynload.cs - -$(OUT)$/bin$/dynload.exe : $(CSFILES) - $(CSC) $(CSCFLAGS) \ - -target:exe \ - -out:$@ \ - -reference:$(OUT)$/bin$/cli_ure.dll \ - -reference:$(OUT)$/bin$/cli_types.dll \ - -reference:$(OUT)$/bin$/cli_cppuhelper.dll \ - -reference:System.dll \ - $(CSFILES) - -#$(OUT)$/bin$/dynload.ini : $(OUT)$/bin$/types.rdb -# $(GNUCOPY) -p dynload.ini $(OUT)$/bin - -#$(OUT)$/bin$/types.rdb $(OUT)$/bin$/services.rdb - -#$(BIN)$/types.rdb : $(SOLARBINDIR)$/types.rdb -# $(GNUCOPY) -p $? $@ - - - -.ENDIF diff --git a/cli_ure/workbench/dynload/readme.txt b/cli_ure/workbench/dynload/readme.txt deleted file mode 100644 index 8a4fe91595ef..000000000000 --- a/cli_ure/workbench/dynload/readme.txt +++ /dev/null @@ -1,2 +0,0 @@ - dynload.exe requires an installed office. It takes as argument a file URL to the program -folder of the office. |