43 gram.c + gram.h: ../common/gram.y
44 $(YACC) -d ../common/gram.y
45 $(MV) y.tab.c gram.c
46 $(MV) y.tab.h gram.h
47
48 lex.c: ../common/lex.l
49 $(LEX) ../common/lex.l
50 $(MV) lex.yy.c lex.c
51
52 $(PROG): $(OBJS)
53 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
54 # DEMO DELETE START
55 $(POST_PROCESS)
56 # DEMO DELETE END
57
58
59 simp: ../tests/simp.c libsub.so.1
60 $(LINK.c) $(LDFLAG) -o $@ ../tests/simp.c -R. ./libsub.so.1
61
62 libsub.so.1: ../tests/sub.c
63 $(LINK.c) $(LDFLAG) -o $@ -G -Kpic -hlibsub.so.1 ../tests/sub.c
64
65 #
66 # RDB sample runs & tests
67 #
68 test-maps: simp FRC
69 ./rdb -f ../tests/loadmaps ./simp
70
71 test-breaks: simp FRC
72 ./rdb -f ../tests/breaks ./simp
73
74 test-steps: simp FRC
75 ./rdb -f ../tests/steps ./simp
76
77 test-plt_skip: simp FRC
78 ./rdb -f ../tests/plt_skip ./simp
79
80 test-sparc-regs: simp FRC
81 ./rdb -f ../tests/test-sparc-regs simp
82
83 test-object-padding: simp FRC
|
43 gram.c + gram.h: ../common/gram.y
44 $(YACC) -d ../common/gram.y
45 $(MV) y.tab.c gram.c
46 $(MV) y.tab.h gram.h
47
48 lex.c: ../common/lex.l
49 $(LEX) ../common/lex.l
50 $(MV) lex.yy.c lex.c
51
52 $(PROG): $(OBJS)
53 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
54 # DEMO DELETE START
55 $(POST_PROCESS)
56 # DEMO DELETE END
57
58
59 simp: ../tests/simp.c libsub.so.1
60 $(LINK.c) $(LDFLAG) -o $@ ../tests/simp.c -R. ./libsub.so.1
61
62 libsub.so.1: ../tests/sub.c
63 $(LINK.c) $(LDFLAG) -o $@ -G -fpic -hlibsub.so.1 ../tests/sub.c
64
65 #
66 # RDB sample runs & tests
67 #
68 test-maps: simp FRC
69 ./rdb -f ../tests/loadmaps ./simp
70
71 test-breaks: simp FRC
72 ./rdb -f ../tests/breaks ./simp
73
74 test-steps: simp FRC
75 ./rdb -f ../tests/steps ./simp
76
77 test-plt_skip: simp FRC
78 ./rdb -f ../tests/plt_skip ./simp
79
80 test-sparc-regs: simp FRC
81 ./rdb -f ../tests/test-sparc-regs simp
82
83 test-object-padding: simp FRC
|