Blame sofort/core/flavor.mk

2ccc78
# flavor.mk: top-level handling of build flavors.
2ccc78
# this file is covered by COPYING.SOFORT.
2ccc78
395e41
include $(PROJECT_DIR)/sofort/exrules/$(OS_DSO_EXRULES).mk
c9d3ad
c9d3ad
ifeq ($(DISABLE_STATIC),yes)
c9d3ad
package-static:
c9d3ad
package-install-static:
c9d3ad
else
c9d3ad
package-static:		static
c9d3ad
package-install-static:	install-static
c9d3ad
endif
c9d3ad
c9d3ad
ifeq ($(DISABLE_SHARED),yes)
c9d3ad
package-shared:
c9d3ad
package-install-shared:
c9d3ad
else
c9d3ad
package-shared:		shared
c9d3ad
package-install-shared:	install-shared
c9d3ad
endif
c9d3ad
c9d3ad
c9d3ad
c9d3ad
ifeq ($(DISABLE_FRONTEND),yes)
c9d3ad
app-tag:
c9d3ad
package-install-app:
c9d3ad
package-install-extras:
c9d3ad
else
c9d3ad
app-tag:		package-app app.tag
c9d3ad
package-install-app:	install-app
c9d3ad
package-install-extras:	install-extras
c9d3ad
endif
c9d3ad
c9d3ad
c9d3ad
c9d3ad
ifeq ($(ALL_STATIC),yes)
c9d3ad
c9d3ad
package-app:	static-app
c9d3ad
app:		PACKAGE_APP = $(STATIC_APP)
c9d3ad
app-tag:	PACKAGE_APP = $(STATIC_APP)
c9d3ad
app.tag:	$(STATIC_APP)
c9d3ad
c9d3ad
c9d3ad
else ifeq ($(ALL_SHARED),yes)
c9d3ad
c9d3ad
package-app:	shared-app
c9d3ad
app:		PACKAGE_APP = $(SHARED_APP)
c9d3ad
app-tag:	PACKAGE_APP = $(SHARED_APP)
c9d3ad
app.tag:	$(SHARED_APP)
c9d3ad
c9d3ad
c9d3ad
else
c9d3ad
c9d3ad
package-app:	default-app
c9d3ad
app:		PACKAGE_APP = $(DEFAULT_APP)
c9d3ad
app-tag:	PACKAGE_APP = $(DEFAULT_APP)
c9d3ad
app.tag:	$(DEFAULT_APP)
c9d3ad
c9d3ad
endif
c9d3ad
c9d3ad
c9d3ad
c9d3ad
ifeq ($(CUSTOM_INSTALL_HEADERS),yes)
c9d3ad
c9d3ad
install-headers:install-headers-custom
c9d3ad
c9d3ad
else
c9d3ad
c9d3ad
install-headers:install-headers-default
c9d3ad
c9d3ad
endif