summaryrefslogtreecommitdiff
path: root/webapps/swat/Makefile
blob: afff0594c176c30b613168907f80f8eed097d0fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
################################################################################
# REQUIRED SETTINGS
################################################################################

#
# Path to the folder of your qooxdoo distribution.
# Can either be
# a) a path relative to the location of this Makefile (preferred) or
# b) an absolute path starting at the root of your file system
# Example: If you put the skeleton folder next to the qooxdoo SDK folder,
# you can use the following relative path:
# QOOXDOO_PATH = ../qooxdoo-0.6.5-sdk
#
QOOXDOO_PATH = ../qooxdoo-0.6.5-sdk

#
# Similar to above, but from the webserver point of view.
# Starting point is now the application HTML file of the source folder
# (source/index.html by default). In most cases just prepend a "../" to
# QOOXDOO_PATH from above.
# Example: QOOXDOO_URI = ../../qooxdoo-0.6.5-sdk
#
QOOXDOO_URI = ../../qooxdoo-0.6.5-sdk






################################################################################
# BASIC SETTINGS
################################################################################

#
# Full namespace of your application
#
APPLICATION_NAMESPACE = swat

#
# Titles used in your API viewer and during the build process
#
APPLICATION_MAKE_TITLE = SWAT
APPLICATION_API_TITLE = Swat

#
# Additional static files of your application (space separated list)
#
APPLICATION_FILES = index.html

#
# Locales to build (space separated list)
# To set a specific locale like "en_US" the generic locale "en" has to be added as well
# Example: APPLICATION_LOCALES = en en_US de de_DE es
#
APPLICATION_LOCALES =






################################################################################
# ADVANCED SETTINGS
################################################################################

#
# Please take a look at $(QOOXDOO_PATH)/frontend/framework/tool/make/application.mk
# for an overview of available options
#

include $(QOOXDOO_PATH)/frontend/framework/tool/make/apiviewer.mk

APPLICATION_CLASSNAME = $(APPLICATION_NAMESPACE).main.Main
APPLICATION_LINEBREAKS_BUILD = true
APPLICATION_LINEBREAKS_SOURCE = true
APPLICATION_OPTIMIZE_STRINGS = false
APPLICATION_OPTIMIZE_VARIABLES = false
APPLICATION_ADDITIONAL_CLASS_PATH = \
  --class-path $(APIVIEWER_PATH)/source/class \
  --class-uri $(APIVIEWER_PATH)/source/class
APPLICATION_ADDITIONAL_RESOURCE = \
  --resource-input $(APIVIEWER_PATH)/source/resource \
  --resource-output $(APPLICATION_BUILD_PATH)/resource/apiviewer \
  --define-runtime-setting apiviewer.resourceUri:$(APPLICATION_PAGE_TO_TOPLEVEL)/resource/apiviewer
APPLICATION_RESOURCE_FILTER = true
APPLICATION_COMPLETE_SOURCE = false

# Typically, we just need a "build"
.PHONY: default

default:	build


################################################################################
# INCLUDE CORE
################################################################################

ifneq ($(QOOXDOO_PATH),PLEASE_DEFINE_QOOXDOO_PATH)
include $(QOOXDOO_PATH)/frontend/framework/tool/make/targets.mk
include $(QOOXDOO_PATH)/frontend/framework/tool/make/application.mk
endif

error:
	@echo "  * Please configure QOOXDOO_PATH"