From c8b9286e2184b6d936e6007f81ead3367a4870b6 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Tue, 2 Jun 2020 08:48:31 -0700 Subject: feat: started port of st to wayland --- sys/cmd/term/rules.mk | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'sys/cmd/term/rules.mk') diff --git a/sys/cmd/term/rules.mk b/sys/cmd/term/rules.mk index 2f7cabd..17043a1 100644 --- a/sys/cmd/term/rules.mk +++ b/sys/cmd/term/rules.mk @@ -2,17 +2,21 @@ include share/push.mk # Iterate through subdirectory tree # Local sources -SRCS_$(d) := $(d)/term.c $(d)/x.c +SRCS_$(d) := $(d)/term.c $(d)/wl.c $(d)/xdg-shell.c #$(d)/x.c BINS_$(d) := $(d)/term include share/paths.mk # Local rules -$(BINS_$(d)): TCINCS := `pkg-config --cflags fontconfig` \ - `pkg-config --cflags freetype2` -$(BINS_$(d)): TCLIBS := -L/usr/lib -lX11 -lXft -lm -lrt -lutil \ - `pkg-config --libs fontconfig` \ - `pkg-config --libs freetype2` \ + +include share/dynamic.mk +$(BINS_$(d)): TCINCS := `pkg-config --cflags wayland-client` \ + `pkg-config --cflags fontconfig` \ + `pkg-config --cflags freetype2` +$(BINS_$(d)): TCLIBS := -L/usr/lib -lm -lrt -lutil \ + `pkg-config --libs wayland-client` \ + `pkg-config --libs fontconfig`\ + `pkg-config --libs freetype2`\ $(OBJ_DIR)/libn/libn.a $(BINS_$(d)): $(OBJS_$(d)) $(TCLIBS) -- cgit v1.2.1