diff options
author | Jason King <jason.king@joyent.com> | 2019-11-07 23:35:24 -0600 |
---|---|---|
committer | Jason King <jason.king@joyent.com> | 2020-01-29 15:46:50 -0600 |
commit | 7093fd72e0be9a255aa4b1ed00a701f80699ac7d (patch) | |
tree | f164f20f963e5d228ea6df4ac43d39d3689d746a /usr/src/cmd | |
parent | cebe54d9b6803d3cfa3b14a553098ba7da2fc624 (diff) | |
download | illumos-gate-7093fd72e0be9a255aa4b1ed00a701f80699ac7d.tar.gz |
12247 vtinfo and vtdaemon are missing CTF data
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd')
-rw-r--r-- | usr/src/cmd/vt/Makefile | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/usr/src/cmd/vt/Makefile b/usr/src/cmd/vt/Makefile index a08e04c18b..30ed96000b 100644 --- a/usr/src/cmd/vt/Makefile +++ b/usr/src/cmd/vt/Makefile @@ -23,43 +23,42 @@ # Use is subject to license terms. # # Copyright 2015 RackTop Systems. +# Copyright 2020 Joyent, Inc. # PROG= vtdaemon vtinfo vtxlock VTDAEMON_SRC= vtdaemon.c +VTDAEMON_OBJ= $(VTDAEMON_SRC:%.c=%.o) +vtdaemon := OBJS = $(VTDAEMON_OBJ) + VTINFO_SRC= vtinfo.c +VTINFO_OBJ= $(VTINFO_SRC:%.c=%.o) +vtinfo := OBJS = $(VTINFO_OBJ) -include ../Makefile.cmd +include $(SRC)/cmd/Makefile.cmd +include $(SRC)/cmd/Makefile.ctf CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) vtdaemon := LDLIBS += -lpam -lbsm -lint_vtdaemon := LDLIBS += -lpam -lbsm .KEEP_STATE: -all: $(PROG) +all: $(PROG) -vtdaemon: $(VTDAEMON_SRC) - $(LINK.c) -o $@ $(VTDAEMON_SRC) $(LDLIBS) +vtdaemon: $(VTDAEMON_OBJ) + $(LINK.c) -o $@ $(VTDAEMON_OBJ) $(LDLIBS) $(POST_PROCESS) -vtinfo: $(VTINFO_SRC) - $(LINK.c) -o $@ $(VTINFO_SRC) $(LDLIBS) +vtinfo: $(VTINFO_OBJ) + $(LINK.c) -o $@ $(VTINFO_OBJ) $(LDLIBS) $(POST_PROCESS) install: all $(ROOTLIBPROG) clean: - -lint: lint_vtdaemon lint_vtinfo - -lint_vtdaemon: - $(LINT.c) $(VTDAEMON_SRC) $(LDLIBS) - -lint_vtinfo: - $(LINT.c) $(VTINFO_SRC) $(LDLIBS) + -$(RM) $(VTDAEMON_OBJ) $(VTINFO_OBJ) include ../Makefile.targ |