|
|
8be377 |
ifeq ($(OS_BINFMT),PE)
|
|
|
8be377 |
include $(PROJECT_DIR)/sysinfo/os/pe.mk
|
|
|
8be377 |
endif
|
|
|
8be377 |
|
|
|
8be377 |
ifeq ($(OS_BINFMT),ELF)
|
|
|
8be377 |
include $(PROJECT_DIR)/sysinfo/os/elf.mk
|
|
|
8be377 |
endif
|
|
|
8be377 |
|
|
|
8be377 |
|
|
|
8be377 |
|
|
|
8be377 |
ifeq ($(DISABLE_STATIC),yes)
|
|
|
8be377 |
package-static:
|
|
|
8be377 |
package-install-static:
|
|
|
8be377 |
else
|
|
|
8be377 |
package-static: static
|
|
|
8be377 |
package-install-static: install-static
|
|
|
8be377 |
endif
|
|
|
8be377 |
|
|
|
8be377 |
ifeq ($(DISABLE_SHARED),yes)
|
|
|
8be377 |
package-shared:
|
|
|
8be377 |
package-install-shared:
|
|
|
8be377 |
else
|
|
|
8be377 |
package-shared: shared
|
|
|
8be377 |
package-install-shared: install-shared
|
|
|
8be377 |
endif
|
|
|
8be377 |
|
|
|
8be377 |
|
|
|
8be377 |
|
|
|
8be377 |
ifeq ($(DISABLE_FRONTEND),yes)
|
|
|
8be377 |
app-tag:
|
|
|
8be377 |
package-install-app:
|
|
|
8be377 |
package-install-extras:
|
|
|
8be377 |
else
|
|
|
8be377 |
app-tag: package-app app.tag
|
|
|
8be377 |
package-install-app: install-app
|
|
|
8be377 |
package-install-extras: install-extras
|
|
|
8be377 |
endif
|
|
|
8be377 |
|
|
|
8be377 |
|
|
|
8be377 |
|
|
|
8be377 |
ifeq ($(ALL_STATIC),yes)
|
|
|
8be377 |
|
|
|
8be377 |
package-app: static-app
|
|
|
8be377 |
app: PACKAGE_APP = $(STATIC_APP)
|
|
|
8be377 |
app-tag: PACKAGE_APP = $(STATIC_APP)
|
|
|
8be377 |
app.tag: $(STATIC_APP)
|
|
|
8be377 |
|
|
|
8be377 |
|
|
|
8be377 |
else ifeq ($(ALL_SHARED),yes)
|
|
|
8be377 |
|
|
|
8be377 |
package-app: shared-app
|
|
|
8be377 |
app: PACKAGE_APP = $(SHARED_APP)
|
|
|
8be377 |
app-tag: PACKAGE_APP = $(SHARED_APP)
|
|
|
8be377 |
app.tag: $(SHARED_APP)
|
|
|
8be377 |
|
|
|
8be377 |
|
|
|
8be377 |
else
|
|
|
8be377 |
|
|
|
8be377 |
package-app: default-app
|
|
|
8be377 |
app: PACKAGE_APP = $(DEFAULT_APP)
|
|
|
8be377 |
app-tag: PACKAGE_APP = $(DEFAULT_APP)
|
|
|
8be377 |
app.tag: $(DEFAULT_APP)
|
|
|
8be377 |
|
|
|
8be377 |
endif
|
|
|
8be377 |
|
|
|
8be377 |
|
|
|
8be377 |
|
|
|
8be377 |
ifeq ($(CUSTOM_INSTALL_HEADERS),yes)
|
|
|
8be377 |
|
|
|
8be377 |
install-headers:install-headers-custom
|
|
|
8be377 |
|
|
|
8be377 |
else
|
|
|
8be377 |
|
|
|
8be377 |
install-headers:install-headers-default
|
|
|
8be377 |
|
|
|
8be377 |
endif
|