summaryrefslogtreecommitdiffhomepage
path: root/sofort/core/flavor.mk
blob: bd9ab0645d4c6355879a9d070e1f0b799586f937 (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
ifneq ($(OS_DSO_EXRULES),)
include $(PROJECT_DIR)/sofort/exrules/$(OS_DSO_EXRULES).mk
endif

ifeq ($(DISABLE_STATIC),yes)
package-static:
package-install-static:
else
package-static:		static
package-install-static:	install-static
endif

ifeq ($(DISABLE_SHARED),yes)
package-shared:
package-install-shared:
else
package-shared:		shared
package-install-shared:	install-shared
endif



ifeq ($(DISABLE_FRONTEND),yes)
app-tag:
package-install-app:
package-install-extras:
else
app-tag:		package-app app.tag
package-install-app:	install-app
package-install-extras:	install-extras
endif



ifeq ($(ALL_STATIC),yes)

package-app:	static-app
app:		PACKAGE_APP = $(STATIC_APP)
app-tag:	PACKAGE_APP = $(STATIC_APP)
app.tag:	$(STATIC_APP)


else ifeq ($(ALL_SHARED),yes)

package-app:	shared-app
app:		PACKAGE_APP = $(SHARED_APP)
app-tag:	PACKAGE_APP = $(SHARED_APP)
app.tag:	$(SHARED_APP)


else

package-app:	default-app
app:		PACKAGE_APP = $(DEFAULT_APP)
app-tag:	PACKAGE_APP = $(DEFAULT_APP)
app.tag:	$(DEFAULT_APP)

endif



ifeq ($(CUSTOM_INSTALL_HEADERS),yes)

install-headers:install-headers-custom

else

install-headers:install-headers-default

endif