Makefile.pln (b597708b) | Makefile.pln (81e6fec9) |
---|---|
1#************************************************************** 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 --- 11 unchanged lines hidden (view full) --- 20#************************************************************** 21 22# The following variable must be set (see README): 23#SDK_HOME := /opt/openoffice.org/basis3.1/sdk 24 25# The following variables can be set, if necessary (see README): 26#URE_HOME := /opt/openoffice.org/ure 27#GXX_INCLUDE_PATH := /usr/include/g++ | 1#************************************************************** 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 --- 11 unchanged lines hidden (view full) --- 20#************************************************************** 21 22# The following variable must be set (see README): 23#SDK_HOME := /opt/openoffice.org/basis3.1/sdk 24 25# The following variables can be set, if necessary (see README): 26#URE_HOME := /opt/openoffice.org/ure 27#GXX_INCLUDE_PATH := /usr/include/g++ |
28#GCCS_COMPAT := LD_PRELOAD=/lib/libgcc_s.so.1 | |
29 30 31URE_HOME ?= /opt/openoffice.org/ure 32GXX_INCLUDE_PATH ?= /usr/include/g++ 33 34.DELETE_ON_ERROR: 35 36 37.PHONY: test 38test: test-regview test-cpptest test-javatest test-javanative test-clientserver 39 40.PHONY: test-regview 41test-regview: out.pln/services.rdb 42 $(URE_HOME)/bin/regview $< > /dev/null 43 44.PHONY: test-cpptest 45test-cpptest: out.pln/cppmain.uno.so out.pln/types.rdb out.pln/services.rdb | 28 29 30URE_HOME ?= /opt/openoffice.org/ure 31GXX_INCLUDE_PATH ?= /usr/include/g++ 32 33.DELETE_ON_ERROR: 34 35 36.PHONY: test 37test: test-regview test-cpptest test-javatest test-javanative test-clientserver 38 39.PHONY: test-regview 40test-regview: out.pln/services.rdb 41 $(URE_HOME)/bin/regview $< > /dev/null 42 43.PHONY: test-cpptest 44test-cpptest: out.pln/cppmain.uno.so out.pln/types.rdb out.pln/services.rdb |
46 $(GCCS_COMPAT) $(URE_HOME)/bin/uno \ | 45 $(URE_HOME)/bin/uno \ |
47 -c test.cpp.cppmain.Component -l file://$(PWD)/$< \ 48 -ro $(URE_HOME)/share/misc/types.rdb -ro out.pln/types.rdb \ 49 -ro $(URE_HOME)/share/misc/services.rdb -ro out.pln/services.rdb 50 51.PHONY: test-javatest 52test-javatest: out.pln/javamain.uno.jar out.pln/types.rdb out.pln/services.rdb | 46 -c test.cpp.cppmain.Component -l file://$(PWD)/$< \ 47 -ro $(URE_HOME)/share/misc/types.rdb -ro out.pln/types.rdb \ 48 -ro $(URE_HOME)/share/misc/services.rdb -ro out.pln/services.rdb 49 50.PHONY: test-javatest 51test-javatest: out.pln/javamain.uno.jar out.pln/types.rdb out.pln/services.rdb |
53 $(GCCS_COMPAT) $(URE_HOME)/bin/uno \ | 52 $(URE_HOME)/bin/uno \ |
54 -c test.java.javamain.Component -l file://$(PWD)/$< \ 55 -ro $(URE_HOME)/share/misc/types.rdb -ro out.pln/types.rdb \ 56 -ro $(URE_HOME)/share/misc/services.rdb -ro out.pln/services.rdb 57 58.PHONY: test-javanative 59test-javanative: out.pln/runner.jar out.pln/javanative.jar \ 60 out.pln/javanative.rc out.pln/services.rdb out.pln/types.rdb | 53 -c test.java.javamain.Component -l file://$(PWD)/$< \ 54 -ro $(URE_HOME)/share/misc/types.rdb -ro out.pln/types.rdb \ 55 -ro $(URE_HOME)/share/misc/services.rdb -ro out.pln/services.rdb 56 57.PHONY: test-javanative 58test-javanative: out.pln/runner.jar out.pln/javanative.jar \ 59 out.pln/javanative.rc out.pln/services.rdb out.pln/types.rdb |
61 $(GCCS_COMPAT) LD_LIBRARY_PATH=$(URE_HOME)/lib java \ | 60 LD_LIBRARY_PATH=$(URE_HOME)/lib java \ |
62 -jar out.pln/runner.jar file://$(URE_HOME)/share/java/ \ 63 file://$(PWD)/out.pln/javanative.jar \ 64 file://$(PWD)/out.pln/javanative.rc 65 66.PHONY: test-clientserver 67test-clientserver: out.pln/cppserver.uno.so out.pln/runner.jar \ 68 out.pln/javaclient.jar | 61 -jar out.pln/runner.jar file://$(URE_HOME)/share/java/ \ 62 file://$(PWD)/out.pln/javanative.jar \ 63 file://$(PWD)/out.pln/javanative.rc 64 65.PHONY: test-clientserver 66test-clientserver: out.pln/cppserver.uno.so out.pln/runner.jar \ 67 out.pln/javaclient.jar |
69 $(GCCS_COMPAT) $(URE_HOME)/bin/uno -c test.cpp.cppserver.Component \ | 68 $(URE_HOME)/bin/uno -c test.cpp.cppserver.Component \ |
70 -l file://$(PWD)/out.pln/cppserver.uno.so \ 71 -ro $(URE_HOME)/share/misc/types.rdb -ro out.pln/types.rdb \ 72 -ro $(URE_HOME)/share/misc/services.rdb \ 73 -u 'uno:pipe,name=ure_test;urp;server' --singleaccept & 74 sleep 5 && \ 75 java -jar out.pln/runner.jar file://$(URE_HOME)/share/java/ \ 76 file://$(PWD)/out.pln/javaclient.jar \ 77 'uno:pipe,name=ure_test;urp;server' --- 228 unchanged lines hidden --- | 69 -l file://$(PWD)/out.pln/cppserver.uno.so \ 70 -ro $(URE_HOME)/share/misc/types.rdb -ro out.pln/types.rdb \ 71 -ro $(URE_HOME)/share/misc/services.rdb \ 72 -u 'uno:pipe,name=ure_test;urp;server' --singleaccept & 73 sleep 5 && \ 74 java -jar out.pln/runner.jar file://$(URE_HOME)/share/java/ \ 75 file://$(PWD)/out.pln/javaclient.jar \ 76 'uno:pipe,name=ure_test;urp;server' --- 228 unchanged lines hidden --- |