aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/term/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/term/rules.mk')
-rw-r--r--sys/cmd/term/rules.mk16
1 files changed, 10 insertions, 6 deletions
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)