mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-27 01:33:26 +01:00
39 lines
2.6 KiB
Makefile
39 lines
2.6 KiB
Makefile
# Help target
|
|
help:
|
|
@echo "-- Targets --"
|
|
@echo " all: Build toxic and documentation [DEFAULT]"
|
|
@echo " toxic: Build toxic"
|
|
@echo " doc: Build documentation"
|
|
@echo " install: Build toxic and install it in PREFIX (default PREFIX is \"$(abspath $(PREFIX))\")"
|
|
@echo " uninstall: Remove toxic from PREFIX (default PREFIX is \"$(abspath $(PREFIX))\")"
|
|
@echo " clean: Remove built files"
|
|
@echo " help: This help"
|
|
@echo
|
|
@echo "-- Variables --"
|
|
@echo " DISABLE_X11: Set to \"1\" to force building without X11 support"
|
|
@echo " DISABLE_AV: Set to \"1\" to force building without audio call support"
|
|
@echo " DISABLE_SOUND_NOTIFY: Set to \"1\" to force building without sound notification support"
|
|
@echo " DISABLE_DESKTOP_NOTIFY: Set to \"1\" to force building without desktop notifications support"
|
|
@echo " DISABLE_QRCODE: Set to \"1\" to force building without QR export support"
|
|
@echo " DISABLE_QRPNG: Set to \"1\" to force building without QR exported as PNG support"
|
|
@echo " DISABLE_GAMES: Set to \"1\" to force building without game support"
|
|
@echo " ENABLE_PYTHON: Set to \"1\" to enable building with Python scripting support"
|
|
@echo " ENABLE_RELEASE: Set to \"1\" to build without debug symbols and with full compiler optimizations"
|
|
@echo " ENABLE_ASAN: Set to \"1\" to build with LLVM address sanitizer enabled.
|
|
@echo " USER_CFLAGS: Add custom flags to default CFLAGS"
|
|
@echo " USER_LDFLAGS: Add custom flags to default LDFLAGS"
|
|
@echo " PREFIX: Specify a prefix directory for binaries, data files,... (default is \"$(abspath $(PREFIX))\")"
|
|
@echo " DESTDIR: Specify a directory where to store installed files (mainly for packaging purpose)"
|
|
@echo " MANDIR: Specify a directory where to store man pages (default is \"$(abspath $(PREFIX)/share/man)\")"
|
|
@echo
|
|
@echo "-- Environment Variables --"
|
|
@echo " CFLAGS: Add custom flags to default CFLAGS"
|
|
@echo " LDFLAGS: Add custom flags to default LDFLAGS"
|
|
@echo " USER_CFLAGS: Add custom flags to default CFLAGS"
|
|
@echo " USER_LDFLAGS: Add custom flags to default LDFLAGS"
|
|
@echo " PREFIX: Specify a prefix directory for binaries, data files,... (default is \"$(abspath $(PREFIX))\")"
|
|
@echo " DESTDIR: Specify a directory where to store installed files (mainly for packaging purpose)"
|
|
@echo " MANDIR: Specify a directory where to store man pages (default is \"$(abspath $(PREFIX)/share/man)\")"
|
|
|
|
.PHONY: help
|