Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: bison/src/bison/2.4.1/bison-2.4.1/Makefile.mingw

Issue 10807020: Add native Windows binary for bison. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bison/src/bison/2.4.1/bison-2.4.1/Makefile ('k') | bison/src/bison/2.4.1/bison-2.4.1/build-aux/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bison/src/bison/2.4.1/bison-2.4.1/Makefile.mingw
===================================================================
--- bison/src/bison/2.4.1/bison-2.4.1/Makefile.mingw (revision 0)
+++ bison/src/bison/2.4.1/bison-2.4.1/Makefile.mingw (revision 0)
@@ -0,0 +1,32 @@
+export DEFSPLUS= -DPDC_DLL_BUILD
+export INCLUDESPLUS=
+export CFLAGSPLUS=
+export LDFLAGSPLUS=
+export LIBSPLUS=
+export DLLFLAG=
+sedfiles=Makefile libtool config.h
+BUILDDIR=$(shell cygpath -m `pwd`)
+BUILD0DIR=$(shell basename $(BUILDDIR))
+SRCDIR=../$(BUILD0DIR)-src
+INSTALLDIR=$(BUILD0DIR)
+INSTALLDIR=$(shell echo $(BUILD0DIR) | sed -e "s/-[^-]*$$//")
+PREFIX=c:/progra~1/$(INSTALLDIR)
+
+export ac_cv_path_M4=m4
+
+.PHONY: all
+all: CONF MFSED
+CONF:
+# if [ ! -e Makefile.in.sed ]; then \
+# cp -fp k:/Makefile.in.sed .; \
+# fi
+# find.exe $(SRCDIR) -iname Makefile.in -exec sed -i -f Makefile.in.sed '{}' ';'
+ $(SRCDIR)/configure --prefix="$(PREFIX)" --srcdir="$(SRCDIR)"
+
+# --infodir="$(PREFIX)/info" --mandir="$(PREFIX)/man" --docdir="$(PREFIX)/doc"
+
+-include $(DVLDIR)/makefile.chg
+
+# make all
+# make check
+# make install prefix=c:/temp/$(INSTALLDIR)
« no previous file with comments | « bison/src/bison/2.4.1/bison-2.4.1/Makefile ('k') | bison/src/bison/2.4.1/bison-2.4.1/build-aux/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698