Print this page
saveargs: Implement as libsaveargs
saveargs: let disasm do the lifting
3544 save-args matcher could be considerably more robust
3545 save-args matcher should accept saves maybe out-of-order
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>

@@ -24,38 +24,30 @@
 #
 
 SRCS =  kvm_amd64dep.c \
         kvm_isadep.c \
         mdb_amd64util.c \
-        proc_amd64dep.c \
-        saveargs.c
+        proc_amd64dep.c
 
 %.o: %.c
         $(COMPILE.c) $<
         $(CTFCONVERT_O)
 
 %.o: ../../mdb/%.c
         $(COMPILE.c) $<
         $(CTFCONVERT_O)
 
-%.o: $(SRC)/common/saveargs/%.c
-        $(COMPILE.c) $<
-        $(CTFCONVERT_O)
-
 %.ln: %.c
         $(LINT.c) -c $<
 
 %.ln: ../../mdb/%.c
         $(LINT.c) -c $<
 
-%.ln: $(SRC)/common/saveargs/%.c
-        $(LINT.c) -c $<
-
 include ../../../../Makefile.cmd
 include ../../../../Makefile.cmd.64
 include ../../Makefile.amd64
 include ../../../Makefile.mdb
 
 CPPFLAGS += -I../../mdb
-CPPFLAGS += -I$(SRC)/common/saveargs
+LDLIBS += -lsaveargs
 
 install: all $(ISAEXEC) $(ROOTPROG64) $(ROOTLINK64)