917722cf70
This change adds the display(1) graphical user interface and desktop environment with basic windowing support and the graphical terminal(1) emulator along with integrations in chkblayout(1), chvideomode(1), sysinstall(8), sysupgrade(8), as well as the games and ports. Adopt the Aurora procedural wallpaper in display(1) and login(8). Remove the obsolete dispd. Juhani contributed keyboard and video mode APIs to the display protocol and other miscellaneous changes. dzwdz contributed the initial functioning window buttons, improved title bar, window tiling, and minor bug fixes Co-authored-by: Juhani Krekelä <juhani@krekelä.fi> Co-authored-by: dzwdz <kg67199@gmail.com>
30 lines
569 B
Makefile
30 lines
569 B
Makefile
SOFTWARE_MEANT_FOR_SORTIX=1
|
|
include ../build-aux/platform.mak
|
|
include ../build-aux/compiler.mak
|
|
include ../build-aux/dirs.mak
|
|
|
|
OPTLEVEL?=$(DEFAULT_OPTLEVEL)
|
|
CFLAGS?=$(OPTLEVEL)
|
|
|
|
CFLAGS += -Wall -Wextra
|
|
|
|
BINARIES = chvideomode
|
|
MANPAGES1 = chvideomode.1
|
|
|
|
LIBS = -ldisplay
|
|
|
|
all: $(BINARIES)
|
|
|
|
.PHONY: all install clean
|
|
|
|
install: all
|
|
mkdir -p $(DESTDIR)$(BINDIR)
|
|
install $(BINARIES) $(DESTDIR)$(BINDIR)
|
|
mkdir -p $(DESTDIR)$(MANDIR)/man1
|
|
cp $(MANPAGES1) $(DESTDIR)$(MANDIR)/man1
|
|
|
|
%: %.c
|
|
$(CC) -std=gnu11 $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LIBS)
|
|
|
|
clean:
|
|
rm -f $(BINARIES)
|