aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/term/rules.mk
blob: 4011839c652cae991dcf9c4f845660f9c7fe168d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
include share/push.mk
# Iterate through subdirectory tree

# Local sources
SRCS_$(d) := $(d)/term.c $(d)/x.c #$(d)/hb.c
BINS_$(d) := $(d)/term

include share/paths.mk

# Local rules
include share/dynamic.mk
$(BINS_$(d)): TCFLAGS = \
			`$(PKG) --cflags fontconfig` \
			`$(PKG) --cflags freetype2`

$(BINS_$(d)): TCLIBS = \
	`$(PKG) --libs fontconfig` \
    `$(PKG) --libs freetype2`  \
	-lm -lrt -lX11 -lutil -lXft -lXrender -lharfbuzz

$(BINS_$(d)): $(OBJS_$(d)) $(OBJ_DIR)/sys/libutf/libutf.a $(OBJ_DIR)/sys/base/base.a
	$(COMPLINK)

include share/pop.mk