blob: ddc9c76d9b84e55dbe2ad1d6528bfeb78dbf653a (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
FLAGS = -ggdb -I${BOOST_ROOT} -lboost_regex -lboost_filesystem
all: decuda_to_ptxplus
decuda_to_ptxplus: stringList.o decudaInst.o decudaInstList.o decudaLexer.o decudaParser.o headerParser.o headerLexer.o decuda_to_ptxplus.o lex.ptx_.o ptx.tab.o
g++ ${FLAGS} -odecuda_to_ptxplus stringList.o decudaInst.o decudaInstList.o decudaLexer.o decudaParser.o headerParser.o headerLexer.o decuda_to_ptxplus.o lex.ptx_.o ptx.tab.o
stringList.o : stringList.cc stringList.h
g++ ${FLAGS} -c -ostringList.o stringList.cc
decudaInst.o : decudaInst.cc decudaInst.h stringList.h
g++ ${FLAGS} -c -odecudaInst.o decudaInst.cc
decudaInstList.o : decudaInstList.cc decudaInstList.h decudaInst.h
g++ ${FLAGS} -c -odecudaInstList.o decudaInstList.cc
decudaParser.cpp : decuda.y decudaInstList.h
bison -d -odecudaParser.cpp decuda.y
decudaParser.hpp : decudaParser.cpp
decudaLexer.cpp : decuda.l decudaParser.hpp
flex -B -odecudaLexer.cpp decuda.l
headerParser.cpp : header.y decudaInstList.h
bison --name-prefix=header_ -d -oheaderParser.cpp header.y
headerParser.hpp : headerParser.cpp
headerLexer.cpp : header.l headerParser.hpp
flex -B -oheaderLexer.cpp header.l
decudaLexer.o : decudaLexer.cpp
g++ ${FLAGS} -c -Igenerated -odecudaLexer.o decudaLexer.cpp
decudaParser.o : decudaParser.cpp stringList.h decudaInst.h decudaInstList.h
g++ ${FLAGS} -c -Igenerated -odecudaParser.o decudaParser.cpp
headerLexer.o : headerLexer.cpp
g++ ${FLAGS} -c -Igenerated -oheaderLexer.o headerLexer.cpp
headerParser.o : headerParser.cpp stringList.h decudaInst.h decudaInstList.h
g++ ${FLAGS} -c -Igenerated -oheaderParser.o headerParser.cpp
decuda_to_ptxplus.o : decuda_to_ptxplus.cc decudaInstList.h
g++ ${FLAGS} -c -odecuda_to_ptxplus.o decuda_to_ptxplus.cc
lex.ptx_.c : ../src/cuda-sim/ptx.l
flex ../src/cuda-sim/ptx.l
ptx.tab.c : ../src/cuda-sim/ptx.y
bison --name-prefix=ptx_ -v -d ../src/cuda-sim/ptx.y
ptx.tab.h : ptx.tab.c
lex.ptx_.o : lex.ptx_.c ptx.tab.h
g++ ${FLAGS} -c lex.ptx_.c
ptx.tab.o : ptx.tab.c
g++ ${FLAGS} -c ptx.tab.c
SRCS = $(shell ls *.cc)
depend:
makedepend $(SRCS) 2> /dev/null
clean:
rm -f ./stringList.o ./decudaInst.o ./decudaInstList.o ./decudaParser.o ./decudaLexer.o ./headerParser.o ./headerLexer.o ./decuda_to_ptxplus.o
rm -f ./decudaParser.hpp ./headerParser.hpp
rm -f ./decudaParser.cpp ./decudaLexer.cpp ./headerParser.cpp ./headerLexer.cpp
rm -f ./decuda_to_ptxplus
rm -f ./ptx.output ./ptx.tab.c ./ptx.tab.h ./ptx.tab.o
rm -f ./lex.ptx_.c ./lex.ptx_.o
# DO NOT DELETE
decudaInst.o: decudaInst.h stringList.h /usr/include/assert.h
decudaInst.o: /usr/include/features.h /usr/include/sys/cdefs.h
decudaInst.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
decudaInst.o: /usr/include/gnu/stubs-64.h /usr/include/stdlib.h
decudaInst.o: /usr/include/sys/types.h /usr/include/bits/types.h
decudaInst.o: /usr/include/bits/typesizes.h /usr/include/time.h
decudaInst.o: /usr/include/endian.h /usr/include/bits/endian.h
decudaInst.o: /usr/include/bits/byteswap.h /usr/include/sys/select.h
decudaInst.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
decudaInst.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
decudaInst.o: /usr/include/bits/pthreadtypes.h /usr/include/alloca.h
decudaInstList.o: decudaInstList.h decudaInst.h stringList.h
decudaInstList.o: /usr/include/assert.h /usr/include/features.h
decudaInstList.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
decudaInstList.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h
decudaInstList.o: /usr/include/stdio.h /usr/include/bits/types.h
decudaInstList.o: /usr/include/bits/typesizes.h /usr/include/libio.h
decudaInstList.o: /usr/include/_G_config.h /usr/include/wchar.h
decudaInstList.o: /usr/include/bits/stdio_lim.h
decudaInstList.o: /usr/include/bits/sys_errlist.h /usr/include/stdlib.h
decudaInstList.o: /usr/include/sys/types.h /usr/include/time.h
decudaInstList.o: /usr/include/endian.h /usr/include/bits/endian.h
decudaInstList.o: /usr/include/bits/byteswap.h /usr/include/sys/select.h
decudaInstList.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
decudaInstList.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
decudaInstList.o: /usr/include/bits/pthreadtypes.h /usr/include/alloca.h
decuda_to_ptxplus.o: decudaInstList.h decudaInst.h stringList.h
decuda_to_ptxplus.o: /usr/include/assert.h /usr/include/features.h
decuda_to_ptxplus.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
decuda_to_ptxplus.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h
decuda_to_ptxplus.o: /usr/include/stdio.h /usr/include/bits/types.h
decuda_to_ptxplus.o: /usr/include/bits/typesizes.h /usr/include/libio.h
decuda_to_ptxplus.o: /usr/include/_G_config.h /usr/include/wchar.h
decuda_to_ptxplus.o: /usr/include/bits/stdio_lim.h
decuda_to_ptxplus.o: /usr/include/bits/sys_errlist.h /usr/include/stdlib.h
decuda_to_ptxplus.o: /usr/include/sys/types.h /usr/include/time.h
decuda_to_ptxplus.o: /usr/include/endian.h /usr/include/bits/endian.h
decuda_to_ptxplus.o: /usr/include/bits/byteswap.h /usr/include/sys/select.h
decuda_to_ptxplus.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
decuda_to_ptxplus.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
decuda_to_ptxplus.o: /usr/include/bits/pthreadtypes.h /usr/include/alloca.h
stringList.o: stringList.h /usr/include/stdio.h /usr/include/features.h
stringList.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
stringList.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h
stringList.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
stringList.o: /usr/include/libio.h /usr/include/_G_config.h
stringList.o: /usr/include/wchar.h /usr/include/bits/stdio_lim.h
stringList.o: /usr/include/bits/sys_errlist.h
|