Print this page
3544 save-args matcher could be considerably more robust
3545 save-args matcher should accept saves may be out-of-order
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Robert Mustacchi <rm@joyent.com>
*** 1,5 ****
--- 1,6 ----
+
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
*** 16,37 ****
include $(SRC)/Makefile.master
include $(SRC)/Makefile.master.64
.KEEP_STATE:
! OBJECTS = testmatch.o saveargs.o data.o
PROG = testmatch
! CPPFLAGS += -I$(SRC)/common/saveargs
ASFLAGS += -P
AS_CPPFLAGS += -D_ASM
- %.o: $(SRC)/common/saveargs/%.c
- $(COMPILE.c) -o $@ $<
-
$(PROG): $(OBJECTS)
! $(LINK.c) -o $@ $(OBJECTS) -lc
clean:
$(RM) $(OBJECTS) $(PROG)
clobber: clean
--- 17,36 ----
include $(SRC)/Makefile.master
include $(SRC)/Makefile.master.64
.KEEP_STATE:
! OBJECTS = testmatch.o data.o
PROG = testmatch
! LDLIBS64 += -lsaveargs
!
ASFLAGS += -P
AS_CPPFLAGS += -D_ASM
$(PROG): $(OBJECTS)
! $(LINK.c) -o $@ $(OBJECTS) $(LDLIBS64)
clean:
$(RM) $(OBJECTS) $(PROG)
clobber: clean