Fix makefile's parameter bug for OSX building.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 3 Aug 2006 08:53:53 +0000 (08:53 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 3 Aug 2006 08:53:53 +0000 (08:53 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1184 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/TianoTools/Pccts/antlr/build.xml
Tools/Source/TianoTools/Pccts/antlr/makefile
Tools/Source/TianoTools/Pccts/dlg/build.xml

index 6f4a917..dfc1455 100644 (file)
@@ -57,7 +57,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         <istrue value="${gcc}"/>\r
         <then>\r
            <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="make" failonerror="TRUE">\r
-                 <arg line="-f makefile"/>\r
+                 <arg line="-f makefile BIN_DIR=${BIN_DIR}"/>\r
                </exec>\r
         </then>\r
                  </elseif>\r
index ab64fc6..2aa6cdf 100644 (file)
@@ -179,7 +179,7 @@ OBJ=antlr.o scan.o err.o bits.o build.o fset2.o fset.o gen.o  \
         globals.o hash.o lex.o main.o misc.o set.o pred.o egman.o mrhoist.o fcache.o\r
 \r
 antlr : $(OBJ) $(SRC)\r
-               $(CC) $(CFLAGS) -o ${PACKAGE_DIR}/antlr $(OBJ)\r
+               $(CC) $(CFLAGS) -o $(BIN_DIR)/antlr $(OBJ)\r
 \r
 # what files does PCCTS generate (both ANTLR and DLG)\r
 PCCTS_GEN=antlr.c scan.c err.c tokens.h mode.h parser.dlg stdpccts.h remap.h\r
index 89e7aaa..4195950 100644 (file)
@@ -59,7 +59,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <equals arg1="${ToolChain}" arg2="gcc"/>\r
                        <then>\r
          <exec dir="${PACKAGE_DIR}/Pccts/dlg" executable="make" failonerror="TRUE">\r
-                 <arg line="-f makefile"/>\r
+                 <arg line="-f makefile BIN_DIR=${BIN_DIR}"/>\r
                </exec>\r
                  </then>\r
                </elseif>\r