f59a309c1aafbbd317cd28901444390474ab1273
[samba.git] / webapps / swat / Makefile
1 ################################################################################
2 # REQUIRED SETTINGS
3 ################################################################################
4
5 #
6 # Path to the folder of your qooxdoo distribution.
7 # Can either be
8 # a) a path relative to the location of this Makefile (preferred) or
9 # b) an absolute path starting at the root of your file system
10 # Example: If you put the skeleton folder next to the qooxdoo SDK folder,
11 # you can use the following relative path:
12 # QOOXDOO_PATH = ../qooxdoo-0.6.5-sdk
13 #
14 QOOXDOO_PATH = ../qooxdoo-0.6.5-sdk
15
16 #
17 # Similar to above, but from the webserver point of view.
18 # Starting point is now the application HTML file of the source folder
19 # (source/index.html by default). In most cases just prepend a "../" to
20 # QOOXDOO_PATH from above.
21 # Example: QOOXDOO_URI = ../../qooxdoo-0.6.5-sdk
22 #
23 QOOXDOO_URI = ../../qooxdoo-0.6.5-sdk
24
25
26
27
28
29
30 ################################################################################
31 # BASIC SETTINGS
32 ################################################################################
33
34 #
35 # Full namespace of your application
36 #
37 APPLICATION_NAMESPACE = swat
38
39 #
40 # Titles used in your API viewer and during the build process
41 #
42 APPLICATION_MAKE_TITLE = SWAT
43 APPLICATION_API_TITLE = Swat
44
45 #
46 # Additional static files of your application (space separated list)
47 #
48 APPLICATION_FILES = index.html
49
50 #
51 # Locales to build (space separated list)
52 # To set a specific locale like "en_US" the generic locale "en" has to be added as well
53 # Example: APPLICATION_LOCALES = en en_US de de_DE es
54 #
55 APPLICATION_LOCALES =
56
57
58
59
60
61
62 ################################################################################
63 # ADVANCED SETTINGS
64 ################################################################################
65
66 #
67 # Please take a look at $(QOOXDOO_PATH)/frontend/framework/tool/make/application.mk
68 # for an overview of available options
69 #
70
71 include $(QOOXDOO_PATH)/frontend/framework/tool/make/apiviewer.mk
72
73 APPLICATION_CLASSNAME = $(APPLICATION_NAMESPACE).main.Main
74 APPLICATION_LINEBREAKS_BUILD = true
75 APPLICATION_LINEBREAKS_SOURCE = true
76 APPLICATION_OPTIMIZE_STRINGS = false
77 APPLICATION_OPTIMIZE_VARIABLES = false
78 APPLICATION_ADDITIONAL_CLASS_PATH = \
79   --class-path $(APIVIEWER_PATH)/source/class
80 APPLICATION_ADDITIONAL_RESOURCE = \
81   --resource-input $(APIVIEWER_PATH)/source/resource \
82   --resource-output $(APPLICATION_BUILD_PATH)/resource/apiviewer \
83   --define-runtime-setting apiviewer.resourceUri:$(APPLICATION_PAGE_TO_TOPLEVEL)/resource/apiviewer
84 APPLICATION_RESOURCE_FILTER = true
85 APPLICATION_COMPLETE_SOURCE = false
86
87
88 ################################################################################
89 # INCLUDE CORE
90 ################################################################################
91
92 ifneq ($(QOOXDOO_PATH),PLEASE_DEFINE_QOOXDOO_PATH)
93         include $(QOOXDOO_PATH)/frontend/framework/tool/make/targets.mk
94         include $(QOOXDOO_PATH)/frontend/framework/tool/make/application.mk
95 endif
96
97 error:
98         @echo "  * Please configure QOOXDOO_PATH"