Show More
@@ -56,98 +56,74 xdiff_fuzzer: xdiff.cc fuzz-xdiffi.o fuz | |||
|
56 | 56 | fuzz-xdiffi.o fuzz-xprepare.o fuzz-xutils.o \ |
|
57 | 57 | $(LIB_FUZZING_ENGINE) -o $$OUT/xdiff_fuzzer |
|
58 | 58 | |
|
59 |
|
|
|
60 |
$(CC) |
|
|
61 | -I../../mercurial \ | |
|
62 | -c -o manifest.o ../../mercurial/cext/manifest.c | |
|
63 | ||
|
64 | charencode.o: ../../mercurial/cext/charencode.c | |
|
65 | $(CC) $(CFLAGS) `$(PYTHON_CONFIG) --cflags` \ | |
|
66 | -I../../mercurial \ | |
|
67 | -c -o charencode.o ../../mercurial/cext/charencode.c | |
|
68 | ||
|
69 | parsers.o: ../../mercurial/cext/parsers.c | |
|
70 | $(CC) $(CFLAGS) `$(PYTHON_CONFIG) --cflags` \ | |
|
71 | -I../../mercurial \ | |
|
72 | -c -o parsers.o ../../mercurial/cext/parsers.c | |
|
59 | parsers-%.o: ../../mercurial/cext/%.c | |
|
60 | $(CC) -I../../mercurial `$(PYTHON_CONFIG) --cflags` $(CFLAGS) -c \ | |
|
61 | -o $@ $< | |
|
73 | 62 | |
|
74 | dirs.o: ../../mercurial/cext/dirs.c | |
|
75 | $(CC) $(CFLAGS) `$(PYTHON_CONFIG) --cflags` \ | |
|
76 | -I../../mercurial \ | |
|
77 | -c -o dirs.o ../../mercurial/cext/dirs.c | |
|
63 | PARSERS_OBJS=parsers-manifest.o parsers-charencode.o parsers-parsers.o parsers-dirs.o parsers-pathencode.o parsers-revlog.o | |
|
78 | 64 | |
|
79 | pathencode.o: ../../mercurial/cext/pathencode.c | |
|
80 | $(CC) $(CFLAGS) `$(PYTHON_CONFIG) --cflags` \ | |
|
81 | -I../../mercurial \ | |
|
82 | -c -o pathencode.o ../../mercurial/cext/pathencode.c | |
|
83 | ||
|
84 | revlog.o: ../../mercurial/cext/revlog.c | |
|
85 | $(CC) $(CFLAGS) `$(PYTHON_CONFIG) --cflags` \ | |
|
86 | -I../../mercurial \ | |
|
87 | -c -o revlog.o ../../mercurial/cext/revlog.c | |
|
88 | ||
|
89 | dirs_fuzzer: dirs.cc manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o | |
|
65 | dirs_fuzzer: dirs.cc pyutil.o $(PARSERS_OBJS) | |
|
90 | 66 | $(CXX) $(CXXFLAGS) `$(PYTHON_CONFIG) --cflags` \ |
|
91 | 67 | -Wno-register -Wno-macro-redefined \ |
|
92 | 68 | -I../../mercurial dirs.cc \ |
|
93 | manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o \ | |
|
69 | pyutil.o $(PARSERS_OBJS) \ | |
|
94 | 70 | $(LIB_FUZZING_ENGINE) `$(PYTHON_CONFIG) --ldflags` \ |
|
95 | 71 | -o $$OUT/dirs_fuzzer |
|
96 | 72 | |
|
97 | fncache_fuzzer: fncache.cc manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o | |
|
73 | fncache_fuzzer: fncache.cc | |
|
98 | 74 | $(CXX) $(CXXFLAGS) `$(PYTHON_CONFIG) --cflags` \ |
|
99 | 75 | -Wno-register -Wno-macro-redefined \ |
|
100 | 76 | -I../../mercurial fncache.cc \ |
|
101 | manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o \ | |
|
77 | pyutil.o $(PARSERS_OBJS) \ | |
|
102 | 78 | $(LIB_FUZZING_ENGINE) `$(PYTHON_CONFIG) --ldflags` \ |
|
103 | 79 | -o $$OUT/fncache_fuzzer |
|
104 | 80 | |
|
105 | jsonescapeu8fast_fuzzer: jsonescapeu8fast.cc manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o | |
|
81 | jsonescapeu8fast_fuzzer: jsonescapeu8fast.cc pyutil.o $(PARSERS_OBJS) | |
|
106 | 82 | $(CXX) $(CXXFLAGS) `$(PYTHON_CONFIG) --cflags` \ |
|
107 | 83 | -Wno-register -Wno-macro-redefined \ |
|
108 | 84 | -I../../mercurial jsonescapeu8fast.cc \ |
|
109 | manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o \ | |
|
85 | pyutil.o $(PARSERS_OBJS) \ | |
|
110 | 86 | $(LIB_FUZZING_ENGINE) `$(PYTHON_CONFIG) --ldflags` \ |
|
111 | 87 | -o $$OUT/jsonescapeu8fast_fuzzer |
|
112 | 88 | |
|
113 | 89 | manifest_corpus.zip: |
|
114 | 90 | python manifest_corpus.py $$OUT/manifest_fuzzer_seed_corpus.zip |
|
115 | 91 | |
|
116 | manifest_fuzzer: manifest.cc manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o | |
|
92 | manifest_fuzzer: manifest.cc pyutil.o $(PARSERS_OBJS) | |
|
117 | 93 | $(CXX) $(CXXFLAGS) `$(PYTHON_CONFIG) --cflags` \ |
|
118 | 94 | -Wno-register -Wno-macro-redefined \ |
|
119 | 95 | -I../../mercurial manifest.cc \ |
|
120 | manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o \ | |
|
96 | pyutil.o $(PARSERS_OBJS) \ | |
|
121 | 97 | $(LIB_FUZZING_ENGINE) `$(PYTHON_CONFIG) --ldflags` \ |
|
122 | 98 | -o $$OUT/manifest_fuzzer |
|
123 | 99 | |
|
124 | revlog_fuzzer: revlog.cc manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o | |
|
100 | revlog_fuzzer: revlog.cc pyutil.o $(PARSERS_OBJS) | |
|
125 | 101 | $(CXX) $(CXXFLAGS) `$(PYTHON_CONFIG) --cflags` \ |
|
126 | 102 | -Wno-register -Wno-macro-redefined \ |
|
127 | 103 | -I../../mercurial revlog.cc \ |
|
128 | manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o \ | |
|
104 | pyutil.o $(PARSERS_OBJS) \ | |
|
129 | 105 | $(LIB_FUZZING_ENGINE) `$(PYTHON_CONFIG) --ldflags` \ |
|
130 | 106 | -o $$OUT/revlog_fuzzer |
|
131 | 107 | |
|
132 | 108 | revlog_corpus.zip: |
|
133 | 109 | python revlog_corpus.py $$OUT/revlog_fuzzer_seed_corpus.zip |
|
134 | 110 | |
|
135 | dirstate_fuzzer: dirstate.cc manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o | |
|
111 | dirstate_fuzzer: dirstate.cc pyutil.o $(PARSERS_OBJS) | |
|
136 | 112 | $(CXX) $(CXXFLAGS) `$(PYTHON_CONFIG) --cflags` \ |
|
137 | 113 | -Wno-register -Wno-macro-redefined \ |
|
138 | 114 | -I../../mercurial dirstate.cc \ |
|
139 | manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o \ | |
|
115 | pyutil.o $(PARSERS_OBJS) \ | |
|
140 | 116 | $(LIB_FUZZING_ENGINE) `$(PYTHON_CONFIG) --ldflags` \ |
|
141 | 117 | -o $$OUT/dirstate_fuzzer |
|
142 | 118 | |
|
143 | 119 | dirstate_corpus.zip: |
|
144 | 120 | python dirstate_corpus.py $$OUT/dirstate_fuzzer_seed_corpus.zip |
|
145 | 121 | |
|
146 | fm1readmarkers_fuzzer: fm1readmarkers.cc manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o | |
|
122 | fm1readmarkers_fuzzer: fm1readmarkers.cc pyutil.o $(PARSERS_OBJS) | |
|
147 | 123 | $(CXX) $(CXXFLAGS) `$(PYTHON_CONFIG) --cflags` \ |
|
148 | 124 | -Wno-register -Wno-macro-redefined \ |
|
149 | 125 | -I../../mercurial fm1readmarkers.cc \ |
|
150 | manifest.o charencode.o parsers.o dirs.o pathencode.o revlog.o pyutil.o \ | |
|
126 | pyutil.o $(PARSERS_OBJS) \ | |
|
151 | 127 | $(LIB_FUZZING_ENGINE) `$(PYTHON_CONFIG) --ldflags` \ |
|
152 | 128 | -o $$OUT/fm1readmarkers_fuzzer |
|
153 | 129 |
General Comments 0
You need to be logged in to leave comments.
Login now