[llvm-commits] [hlvm] r38053 - /hlvm/trunk/hlvm/Reader/XML/Makefile
Reid Spencer
reid at x10sys.com
Sat Jul 7 16:59:21 PDT 2007
Author: reid
Date: Sat Jul 7 18:59:21 2007
New Revision: 38053
URL: http://llvm.org/viewvc/llvm-project?rev=38053&view=rev
Log:
Put the HLVM.rng.inc file in the obj directory since it is generated.
Modified:
hlvm/trunk/hlvm/Reader/XML/Makefile
Modified: hlvm/trunk/hlvm/Reader/XML/Makefile
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Reader/XML/Makefile?rev=38053&r1=38052&r2=38053&view=diff
==============================================================================
--- hlvm/trunk/hlvm/Reader/XML/Makefile (original)
+++ hlvm/trunk/hlvm/Reader/XML/Makefile Sat Jul 7 18:59:21 2007
@@ -9,7 +9,7 @@
DONT_BUILD_RELINKED := 1
BUILD_ARCHIVE := 1
EXTRA_DIST := HLVM.rng
-BUILT_SOURCES := HLVMTokenizer.cpp HLVM.rng.inc
+BUILT_SOURCES = HLVMTokenizer.cpp $(PROJ_OBJ_DIR)/HLVM.rng.inc
INSTALL_INCLUDES := XMLReader.h
include $(LEVEL)/Makefile.hlvm
@@ -28,7 +28,7 @@
$(Verb) $(HLVM_top_srcdir)/utils/bin/mkTokenizer -f \
$(PROJ_SRC_DIR)/HLVM.rng
-HLVM.rng.inc : $(PROJ_SRC_DIR)/HLVM.rng Makefile
+$(PROJ_OBJ_DIR)/HLVM.rng.inc : $(PROJ_SRC_DIR)/HLVM.rng Makefile
$(Echo) "Converting HLVM.rng -> HLVM.inc"
$(Verb) sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' \
-e 's/^/"/' -e 's/$$/"/' $< > $@
More information about the llvm-commits
mailing list