makefile.mk (2407af08) | makefile.mk (c6948b83) |
---|---|
1#************************************************************** | 1#************************************************************** |
2# | 2# |
3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at | 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at |
10# | 10# |
11# http://www.apache.org/licenses/LICENSE-2.0 | 11# http://www.apache.org/licenses/LICENSE-2.0 |
12# | 12# |
13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. | 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. |
19# | 19# |
20#************************************************************** 21 22 23 | 20#************************************************************** 21 22 23 |
24# Builds the Spreadsheet examples of the Developers Guide. |
|
24 | 25 |
25# Builds the SpreadSheet examples of the Developers Guide. 26 | |
27PRJ = ..$/.. 28PRJNAME = cli_ure 29TARGET := test_climaker 30PACKAGE = cliversion 31 32.INCLUDE: settings.mk 33.INCLUDE : $(PRJ)$/util$/makefile.pmk 34 35#.IF "$(BUILD_FOR_CLI)" == "" 36 37.IF "$(debug)" != "" 38CSCFLAGS += -checked+ -define:DEBUG -define:TRACE -debug+ 39.ELSE 40CSCFLAGS += -optimize+ 41.ENDIF 42 43 | 26PRJ = ..$/.. 27PRJNAME = cli_ure 28TARGET := test_climaker 29PACKAGE = cliversion 30 31.INCLUDE: settings.mk 32.INCLUDE : $(PRJ)$/util$/makefile.pmk 33 34#.IF "$(BUILD_FOR_CLI)" == "" 35 36.IF "$(debug)" != "" 37CSCFLAGS += -checked+ -define:DEBUG -define:TRACE -debug+ 38.ELSE 39CSCFLAGS += -optimize+ 40.ENDIF 41 42 |
44EXETARGET2=$(BIN)$/runtests.exe | 43EXETARGET2=$(BIN)$/runtests.exe |
45 46.IF "$(name)" != "" 47TESTLIB=$(BIN)$/$(name) 48.ELSE 49TESTLIB=$(BIN)$/version_current.dll 50.ENDIF 51VERSIONLIBS=version_libs 52 --- 10 unchanged lines hidden (view full) --- 63ALLTAR: 64 65.ELSE 66ALLTAR: \ 67 $(EXETARGET2) \ 68 $(TESTLIB) \ 69 $(MISC)$/copyassemblies.done \ 70 COPYVERSIONLIBS \ | 44 45.IF "$(name)" != "" 46TESTLIB=$(BIN)$/$(name) 47.ELSE 48TESTLIB=$(BIN)$/version_current.dll 49.ENDIF 50VERSIONLIBS=version_libs 51 --- 10 unchanged lines hidden (view full) --- 62ALLTAR: 63 64.ELSE 65ALLTAR: \ 66 $(EXETARGET2) \ 67 $(TESTLIB) \ 68 $(MISC)$/copyassemblies.done \ 69 COPYVERSIONLIBS \ |
71 RUNINSTRUCTIONS 72 | 70 RUNINSTRUCTIONS 71 |
73.ENDIF 74 75 | 72.ENDIF 73 74 |
76COPYVERSIONLIBS: | 75COPYVERSIONLIBS: |
77 -$(GNUCOPY) $(VERSIONLIBS)$/* $(BIN) 78 79 | 76 -$(GNUCOPY) $(VERSIONLIBS)$/* $(BIN) 77 78 |
80$(MISC)$/copyassemblies.done .ERRREMOVE: 81 $(GNUCOPY) $(CLI_CPPUHELPER) $(BIN)$/$(CLI_CPPUHELPER:f) 82 $(GNUCOPY) $(CLI_BASETYPES) $(BIN)$/$(CLI_BASETYPES:f) 83 $(GNUCOPY) $(CLI_URETYPES) $(BIN)$/$(CLI_URETYPES:f) 84 $(GNUCOPY) $(CLI_URE) $(BIN)$/$(CLI_URE:f) 85 $(GNUCOPY) $(CLI_OOOTYPES) $(BIN)$/$(CLI_OOOTYPES:f) 86 $(TOUCH) $@ 87 | 79$(MISC)$/copyassemblies.done .ERRREMOVE: 80 $(GNUCOPY) $(CLI_CPPUHELPER) $(BIN)$/$(CLI_CPPUHELPER:f) 81 $(GNUCOPY) $(CLI_BASETYPES) $(BIN)$/$(CLI_BASETYPES:f) 82 $(GNUCOPY) $(CLI_URETYPES) $(BIN)$/$(CLI_URETYPES:f) 83 $(GNUCOPY) $(CLI_URE) $(BIN)$/$(CLI_URE:f) 84 $(GNUCOPY) $(CLI_OOOTYPES) $(BIN)$/$(CLI_OOOTYPES:f) 85 $(TOUCH) $@ 86 |
88CSFILES2 = runtests.cs 89 90.IF "$(CCNUMVER)" >= "001399999999" 91CSCPLATFORMX86 = -platform:x86 92.ELSE 93CSCPLATFORMX86 = 94.ENDIF 95 --- 8 unchanged lines hidden (view full) --- 104 -reference:$(SOLARBINDIR)$/cli_uretypes.dll \ 105 -reference:$(SOLARBINDIR)$/cli_basetypes.dll \ 106 -reference:$(SOLARBINDIR)$/cli_cppuhelper.dll \ 107 -reference:$(SOLARBINDIR)$/cli_oootypes.dll \ 108 $(CSFILESLIB) 109 110 111 | 87CSFILES2 = runtests.cs 88 89.IF "$(CCNUMVER)" >= "001399999999" 90CSCPLATFORMX86 = -platform:x86 91.ELSE 92CSCPLATFORMX86 = 93.ENDIF 94 --- 8 unchanged lines hidden (view full) --- 103 -reference:$(SOLARBINDIR)$/cli_uretypes.dll \ 104 -reference:$(SOLARBINDIR)$/cli_basetypes.dll \ 105 -reference:$(SOLARBINDIR)$/cli_cppuhelper.dll \ 106 -reference:$(SOLARBINDIR)$/cli_oootypes.dll \ 107 $(CSFILESLIB) 108 109 110 |
112RUNINSTRUCTIONS : 113 @echo . 114 @echo ########################### N O T E ###################################### 115 @echo . 116 @echo To run the test go to qa\cliversioning, run dmake and follow instructions. 117 @echo . 118 @echo Or install an office with full system integration and run $(BIN)$/runtests.exe 119 @echo in a console withouth build environment. | 111RUNINSTRUCTIONS : |
120 @echo . | 112 @echo . |
113 @echo ########################### N O T E ###################################### 114 @echo . 115 @echo To run the test go to qa\cliversioning, run dmake and follow instructions. 116 @echo . 117 @echo Or install an office with full system integration and run $(BIN)$/runtests.exe 118 @echo in a console without build environment. 119 @echo . |
|
121 @echo Or install an office with setup /a. Expand PATH with the bin folder of the URE. 122 @echo Set UNO_PATH=system_path_to_program_folder 123 @echo This must be the program folder of the brand layer. 124 @echo For example, c:\staroffice\Sun\staroffice 9\program 125 @echo Run runtests.exe. | 120 @echo Or install an office with setup /a. Expand PATH with the bin folder of the URE. 121 @echo Set UNO_PATH=system_path_to_program_folder 122 @echo This must be the program folder of the brand layer. 123 @echo For example, c:\staroffice\Sun\staroffice 9\program 124 @echo Run runtests.exe. |
126 @echo . 127 @echo To build a test library with run. 128 @echo 129 @echo dmake name=version_10_10_10.dll 130 @echo 131 @echo The name must always start with 'version_'. 132 @echo ########################### N O T E ###################################### 133 @echo . 134 @echo . | 125 @echo . 126 @echo To build a test library with run. 127 @echo 128 @echo dmake name=version_10_10_10.dll 129 @echo 130 @echo The name must always start with 'version_'. 131 @echo ########################### N O T E ###################################### 132 @echo . 133 @echo . |
135 136 137 138#.ENDIF | 134 135 136 137#.ENDIF |