This commit is contained in:
2026-03-16 01:59:49 -04:00
parent a09a4096b0
commit bba5f6794a
468 changed files with 60004 additions and 0 deletions

27
slstatus-1.1/config.mk Normal file
View File

@@ -0,0 +1,27 @@
# slstatus version
VERSION = 1.1
# customize below to fit your system
# paths
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
# glib-devel
# required for bluetooth
GIOINC = -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
GIOLIB = -lgio-2.0 -lgobject-2.0 -lglib-2.0
# flags
CPPFLAGS = -I$(X11INC) $(GIOINC) -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\"
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -O2 -march=native
LDFLAGS = -L$(X11LIB) $(GIOLIB) -s
# OpenBSD: add -lsndio
# FreeBSD: add -lkvm -lsndio
LDLIBS = -lX11
# compiler and linker
CC = clang