Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 1 | |
| 2 | ifdef POST_EVALUATION |
| 3 | |
| 4 | cbfsobj := |
Patrick Georgi | b7b56dd8 | 2009-09-14 13:29:27 +0000 | [diff] [blame] | 5 | cbfsobj += common.o |
| 6 | cbfsobj += compress.o |
| 7 | cbfsobj += minilzma.o |
| 8 | cbfsobj += LZMAEncoder.o |
| 9 | cbfsobj += LZInWindow.o |
| 10 | cbfsobj += RangeCoderBit.o |
| 11 | cbfsobj += StreamUtils.o |
| 12 | cbfsobj += OutBuffer.o |
| 13 | cbfsobj += Alloc.o |
| 14 | cbfsobj += CRC.o |
| 15 | cbfsobj += cbfs-mkstage.o |
| 16 | cbfsobj += cbfs-mkpayload.o |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 17 | cbfsobj += cbfstool.o |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 18 | |
Patrick Georgi | ab13458 | 2009-09-16 08:19:07 +0000 | [diff] [blame^] | 19 | CBFSTOOLFLAGS=-DCOMPACT -g |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 20 | |
| 21 | $(obj)/util/cbfstool: |
Patrick Georgi | 2b7418e | 2009-08-25 19:38:46 +0000 | [diff] [blame] | 22 | mkdir -p $@ |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 23 | |
| 24 | $(obj)/util/cbfstool/%.o: $(top)/util/cbfstool/%.c |
Patrick Georgi | 2b7418e | 2009-08-25 19:38:46 +0000 | [diff] [blame] | 25 | printf " HOSTCC $(subst $(obj)/,,$(@))\n" |
Patrick Georgi | b7b56dd8 | 2009-09-14 13:29:27 +0000 | [diff] [blame] | 26 | $(HOSTCC) $(CBFSTOOLFLAGS) $(HOSTCFLAGS) -c -o $@ $< |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 27 | |
Patrick Georgi | b7b56dd8 | 2009-09-14 13:29:27 +0000 | [diff] [blame] | 28 | $(obj)/util/cbfstool/%.o: $(top)/util/cbfstool/lzma/%.cc |
| 29 | printf " HOSTCXX $(subst $(obj)/,,$(@))\n" |
| 30 | $(HOSTCXX) $(CBFSTOOLFLAGS) $(HOSTCXXFLAGS) -c -o $@ $< |
| 31 | |
| 32 | $(obj)/util/cbfstool/%.o: $(top)/util/cbfstool/lzma/C/7zip/Compress/LZMA/%.cpp |
| 33 | printf " HOSTCXX $(subst $(obj)/,,$(@))\n" |
| 34 | $(HOSTCXX) $(CBFSTOOLFLAGS) $(HOSTCXXFLAGS) -c -o $@ $< |
| 35 | |
| 36 | $(obj)/util/cbfstool/%.o: $(top)/util/cbfstool/lzma/C/7zip/Compress/LZ/%.cpp |
| 37 | printf " HOSTCXX $(subst $(obj)/,,$(@))\n" |
| 38 | $(HOSTCXX) $(CBFSTOOLFLAGS) $(HOSTCXXFLAGS) -c -o $@ $< |
| 39 | |
| 40 | $(obj)/util/cbfstool/%.o: $(top)/util/cbfstool/lzma/C/7zip/Compress/RangeCoder/%.cpp |
| 41 | printf " HOSTCXX $(subst $(obj)/,,$(@))\n" |
| 42 | $(HOSTCXX) $(CBFSTOOLFLAGS) $(HOSTCXXFLAGS) -c -o $@ $< |
| 43 | |
| 44 | $(obj)/util/cbfstool/%.o: $(top)/util/cbfstool/lzma/C/7zip/Common/%.cpp |
| 45 | printf " HOSTCXX $(subst $(obj)/,,$(@))\n" |
| 46 | $(HOSTCXX) $(CBFSTOOLFLAGS) $(HOSTCXXFLAGS) -c -o $@ $< |
| 47 | |
| 48 | $(obj)/util/cbfstool/%.o: $(top)/util/cbfstool/lzma/C/Common/%.cpp |
| 49 | printf " HOSTCXX $(subst $(obj)/,,$(@))\n" |
| 50 | $(HOSTCXX) $(CBFSTOOLFLAGS) $(HOSTCXXFLAGS) -c -o $@ $< |
| 51 | |
| 52 | $(obj)/util/cbfstool/cbfstool: $(obj)/util/cbfstool $(addprefix $(obj)/util/cbfstool/,$(cbfsobj)) |
| 53 | printf " HOSTCXX $(subst $(obj)/,,$(@)) (link)\n" |
| 54 | $(HOSTCXX) $(CBFSTOOLFLAGS) -o $@ $(addprefix $(obj)/util/cbfstool/,$(cbfsobj)) |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 55 | |
| 56 | endif |
| 57 | |