tdf#130857 qt weld: Introduce QtInstanceScrolledWindow
[LibreOffice.git] / odk / examples / java / Storage / Makefile
blob3bf990b5df673a623054c39d1ecf8ccd0142f2b2
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 # Builds the Java Storage test example of the SDK.
21 PRJ=../../..
22 SETTINGS=$(PRJ)/settings
24 include $(SETTINGS)/settings.mk
25 include $(SETTINGS)/std.mk
27 # Define non-platform/compiler specific settings
28 COMPONENT_NAME=JavaStorageTestExample
29 OUT_COMP_CLASS = $(OUT_CLASS)/$(COMPONENT_NAME)
31 JAVAFILES = \
32 StorageFunctionality.java \
33 TestHelper.java \
34 StorageTest.java \
35 Test01.java \
36 Test02.java \
37 Test03.java \
38 Test04.java \
39 Test05.java \
40 Test06.java \
41 Test07.java \
42 Test08.java \
43 Test09.java
45 CLASSFILES = $(patsubst %.java,$(OUT_COMP_CLASS)/%.class,$(JAVAFILES))
47 SDK_CLASSPATH = $(subst $(EMPTYSTRING) $(PATH_SEPARATOR),$(PATH_SEPARATOR),$(CLASSPATH)\
48 $(PATH_SEPARATOR)$(OUT_COMP_CLASS))
51 # Targets
52 .PHONY: ALL
53 ALL : \
54 JavaStorageTestExample
56 include $(SETTINGS)/stdtarget.mk
58 $(CLASSFILES) : $(JAVAFILES)
59 -$(MKDIR) $(subst /,$(PS),$(@D))
60 $(SDK_JAVAC) $(JAVAC_FLAGS) -classpath "$(SDK_CLASSPATH)" -d $(OUT_COMP_CLASS) $(JAVAFILES)
62 JavaStorageTestExample : $(CLASSFILES)
63 @echo --------------------------------------------------------------------------------
64 @echo Please use following command to execute the example!
65 @echo ------
66 @echo $(MAKE) StorageFunctionality.run
67 @echo --------------------------------------------------------------------------------
69 %.run: $(OUT_COMP_CLASS)/%.class
70 $(SDK_JAVA) -classpath "$(SDK_CLASSPATH)" $(basename $@)
72 .PHONY: clean
73 clean :
74 -$(DELRECURSIVE) $(subst /,$(PS),$(OUT_COMP_CLASS))