Makefile (b597708b) Makefile (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

--- 48 unchanged lines hidden (view full) ---

57
58
59.PHONY: test
60test: test-cpptest test-javatest test-javanative test-clientserver
61
62.PHONY: test-cpptest
63test-cpptest: out.sdk/cppmain.uno.$(SHAREDLIB_EXT) out.sdk/types.rdb \
64 out.sdk/services.rdb
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

--- 48 unchanged lines hidden (view full) ---

57
58
59.PHONY: test
60test: test-cpptest test-javatest test-javanative test-clientserver
61
62.PHONY: test-cpptest
63test-cpptest: out.sdk/cppmain.uno.$(SHAREDLIB_EXT) out.sdk/types.rdb \
64 out.sdk/services.rdb
65 $(GCCS_COMPAT) uno \
65 uno \
66 -c test.cpp.cppmain.Component -l $(URLPREFIX)$(cwd)/$< \
67 -ro "$(subst \,/,$(URLPREFIX)$(URE_TYPES))" -ro out.sdk/types.rdb \
68 -ro "$(subst \,/,$(URLPREFIX)$(URE_SERVICES))" \
69 -ro out.sdk/services.rdb
70
71.PHONY: test-javatest
72test-javatest: out.sdk/javamain.uno.jar out.sdk/types.rdb out.sdk/services.rdb
66 -c test.cpp.cppmain.Component -l $(URLPREFIX)$(cwd)/$< \
67 -ro "$(subst \,/,$(URLPREFIX)$(URE_TYPES))" -ro out.sdk/types.rdb \
68 -ro "$(subst \,/,$(URLPREFIX)$(URE_SERVICES))" \
69 -ro out.sdk/services.rdb
70
71.PHONY: test-javatest
72test-javatest: out.sdk/javamain.uno.jar out.sdk/types.rdb out.sdk/services.rdb
73 $(GCCS_COMPAT) uno \
73 uno \
74 -c test.java.javamain.Component -l $(URLPREFIX)$(cwd)/$< \
75 -ro "$(subst \,/,$(URLPREFIX)$(URE_TYPES))" -ro out.sdk/types.rdb \
76 -ro "$(subst \,/,$(URLPREFIX)$(URE_SERVICES))" \
77 -ro out.sdk/services.rdb
78
79.PHONY: test-javanative
80test-javanative: out.sdk/runner.jar out.sdk/javanative.jar \
81 out.sdk/javanative.rc out.sdk/services.rdb out.sdk/types.rdb
74 -c test.java.javamain.Component -l $(URLPREFIX)$(cwd)/$< \
75 -ro "$(subst \,/,$(URLPREFIX)$(URE_TYPES))" -ro out.sdk/types.rdb \
76 -ro "$(subst \,/,$(URLPREFIX)$(URE_SERVICES))" \
77 -ro out.sdk/services.rdb
78
79.PHONY: test-javanative
80test-javanative: out.sdk/runner.jar out.sdk/javanative.jar \
81 out.sdk/javanative.rc out.sdk/services.rdb out.sdk/types.rdb
82 $(GCCS_COMPAT) $(SDK_JAVA) -jar out.sdk/runner.jar $(ure_java_url)/ \
82 $(SDK_JAVA) -jar out.sdk/runner.jar $(ure_java_url)/ \
83 $(URLPREFIX)$(cwd)/out.sdk/javanative.jar \
84 $(URLPREFIX)$(cwd)/out.sdk/javanative.rc
85
83 $(URLPREFIX)$(cwd)/out.sdk/javanative.jar \
84 $(URLPREFIX)$(cwd)/out.sdk/javanative.rc
85
86do_server = $(GCCS_COMPAT) uno -c test.cpp.cppserver.Component \
86do_server = uno -c test.cpp.cppserver.Component \
87 -l $(URLPREFIX)$(cwd)/out.sdk/cppserver.uno.$(SHAREDLIB_EXT) \
88 -ro "$(subst \,/,$(URLPREFIX)$(URE_TYPES))" -ro out.sdk/types.rdb \
89 -ro "$(subst \,/,$(URLPREFIX)$(URE_SERVICES))" -ro out.sdk/services.rdb \
90 -u "uno:pipe,name=ure_test;urp;server" --singleaccept
91do_client = $(SDK_JAVA) -jar out.sdk/runner.jar $(ure_java_url)/ \
92 $(URLPREFIX)$(cwd)/out.sdk/javaclient.jar \
93 "uno:pipe,name=ure_test;urp;server"
94.PHONY: test-clientserver

--- 210 unchanged lines hidden ---
87 -l $(URLPREFIX)$(cwd)/out.sdk/cppserver.uno.$(SHAREDLIB_EXT) \
88 -ro "$(subst \,/,$(URLPREFIX)$(URE_TYPES))" -ro out.sdk/types.rdb \
89 -ro "$(subst \,/,$(URLPREFIX)$(URE_SERVICES))" -ro out.sdk/services.rdb \
90 -u "uno:pipe,name=ure_test;urp;server" --singleaccept
91do_client = $(SDK_JAVA) -jar out.sdk/runner.jar $(ure_java_url)/ \
92 $(URLPREFIX)$(cwd)/out.sdk/javaclient.jar \
93 "uno:pipe,name=ure_test;urp;server"
94.PHONY: test-clientserver

--- 210 unchanged lines hidden ---