diff options
| author | Brian Gaeke <gaeke@uiuc.edu> | 2003-10-29 20:07:35 +0000 |
|---|---|---|
| committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-10-29 20:07:35 +0000 |
| commit | adc07972bcc011453e63574c37da137fa3fc2120 (patch) | |
| tree | 06d862ab044625bdac1cd4125987eb9a10bc4235 | |
| parent | 7086bbb33cacc921257af707248d1c6f324b15db (diff) | |
| download | bcm5719-llvm-adc07972bcc011453e63574c37da137fa3fc2120.tar.gz bcm5719-llvm-adc07972bcc011453e63574c37da137fa3fc2120.zip | |
Tweak sed commands so that they filter out more # stuff and also
work on Mac OS X. Also turn ${...} into $(...); we do not speak BSD
Make.
llvm-svn: 9589
| -rw-r--r-- | llvm/lib/Target/Sparc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Sparc/Makefile b/llvm/lib/Target/Sparc/Makefile index 59db2d3fc0a..b169c579c62 100644 --- a/llvm/lib/Target/Sparc/Makefile +++ b/llvm/lib/Target/Sparc/Makefile @@ -20,10 +20,10 @@ else endif Sparc.burg.in1 : Sparc.burg.in - $(CXX) -E -I$(LLVM_SRC_ROOT)/include $(DEBUG_FLAG) -x c++ $< | ${SED} '/^# /d' | ${SED} 's/Ydefine/#define/' > $@ + $(CXX) -E -I$(LLVM_SRC_ROOT)/include $(DEBUG_FLAG) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/Ydefine/#define/' > $@ Sparc.burm : Sparc.burg.in1 - $(CXX) -E -I$(LLVM_SRC_ROOT)/include $(DEBUG_FLAG) -x c++ $< | ${SED} '/^# /d' | ${SED} 's/Xinclude/#include/g' | ${SED} 's/Xdefine/#define/g' > $@ + $(CXX) -E -I$(LLVM_SRC_ROOT)/include $(DEBUG_FLAG) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/^Xinclude/#include/' | $(SED) 's/^Xdefine/#define/' > $@ Sparc.burm.cpp: Sparc.burm @echo "Burging $<" @@ -52,5 +52,5 @@ $(TARGET_NAME)CodeEmitter.inc:: $(TARGET_NAME).td $(TABLEGEN_FILES) $(TBLGEN) $(TBLGEN) -I $(SourceDir) $< -gen-emitter -o $@ clean:: - ${RM} -f $(TARGET_NAME)CodeEmitter.inc Sparc.burg.in1 Sparc.burm Sparc.burm.cpp + $(RM) -f $(TARGET_NAME)CodeEmitter.inc Sparc.burg.in1 Sparc.burm Sparc.burm.cpp |

