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

Unified Diff: gperf/src/gperf/3.0.1/gperf-3.0.1/gperf-3.0.1-src.diff

Issue 10804012: Add native Windows binary for gperf. (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 | « gperf/src/gperf/3.0.1/gperf-3.0.1/doc/config.status ('k') | gperf/src/gperf/3.0.1/gperf-3.0.1/lib/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gperf/src/gperf/3.0.1/gperf-3.0.1/gperf-3.0.1-src.diff
===================================================================
--- gperf/src/gperf/3.0.1/gperf-3.0.1/gperf-3.0.1-src.diff (revision 0)
+++ gperf/src/gperf/3.0.1/gperf-3.0.1/gperf-3.0.1-src.diff (revision 0)
@@ -0,0 +1,97 @@
+diff -ipuwrN -x '*.bak' -x '*.orig' -x '*.rej' -x '*.new' -x '*~' gperf-3.0.1-orig/doc/Makefile.in gperf-3.0.1-src/doc/Makefile.in
+--- gperf-3.0.1-orig/doc/Makefile.in 2003-06-02 13:42:02.000000000 +0200
++++ gperf-3.0.1-src/doc/Makefile.in 2004-10-31 19:01:42.812500000 +0100
+@@ -62,7 +62,7 @@ MKINSTALLDIRS = $(SHELL) $(srcdir)/../mk
+
+ SHELL = /bin/sh
+
+-VPATH = $(srcdir)
++VPATH = $(srcdir) $(resdir)
+
+ all : info dvi ps pdf html
+
+diff -ipuwrN -x '*.bak' -x '*.orig' -x '*.rej' -x '*.new' -x '*~' gperf-3.0.1-orig/lib/Makefile.in gperf-3.0.1-src/lib/Makefile.in
+--- gperf-3.0.1-orig/lib/Makefile.in 2002-11-25 14:00:26.000000000 +0100
++++ gperf-3.0.1-src/lib/Makefile.in 2004-10-31 19:01:42.859375000 +0100
+@@ -58,7 +58,7 @@ INSTALL_DATA = @INSTALL_DATA@
+
+ SHELL = /bin/sh
+
+-VPATH = $(srcdir)
++VPATH = $(srcdir) $(resdir)
+
+ OBJECTS = getopt.o getopt1.o getline.o hash.o
+ CPPFLAGS = -I$(srcdir)
+diff -ipuwrN -x '*.bak' -x '*.orig' -x '*.rej' -x '*.new' -x '*~' gperf-3.0.1-orig/src/Makefile.in gperf-3.0.1-src/src/Makefile.in
+--- gperf-3.0.1-orig/src/Makefile.in 2003-04-10 12:25:01.000000000 +0200
++++ gperf-3.0.1-src/src/Makefile.in 2004-10-31 19:36:01.593750000 +0100
+@@ -31,6 +31,7 @@ prefix = @prefix@
+ local_prefix = /usr/local
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
++resdir = ../res
+
+ # Programs used by "make":
+ # C compiler
+@@ -42,10 +43,10 @@ CXX = @CXX@
+ CXXFLAGS = @CXXFLAGS@
+ CXXCPP = @CXXCPP@
+ # Both C and C++ compiler
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -Wl,--major-image-version=$(MAJOR) -Wl,--minor-image-version=$(MINOR)
+ # Other
+ MV = mv
+-LN = ln
++LN = cp -fp
+ RM = rm -f
+ @SET_MAKE@
+
+@@ -57,22 +58,33 @@ MKINSTALLDIRS = $(SHELL) $(srcdir)/../mk
+
+ #### End of system configuration section. ####
+
++VERSION=3.0.2
++MAJOR=3
++MINOR=0
++
+ SHELL = /bin/sh
+
+-VPATH = $(srcdir)
++VPATH = $(srcdir) $(resdir)
++
++EXEEXT=@EXEEXT@
+
+-OBJECTS = version.o positions.o options.o keyword.o keyword-list.o \
++OBJECTS = gperf-res.o version.o positions.o options.o keyword.o keyword-list.o \
+ input.o bool-array.o hash-table.o search.o output.o main.o
+ LIBS = ../lib/libgp.a @GPERF_LIBM@
+ CPPFLAGS = -I. -I$(srcdir)/../lib
+
+-TARGETPROG = gperf
++TARGETPROG = gperf$(EXEEXT)
+
+ all : $(TARGETPROG)
+
+ $(TARGETPROG): $(OBJECTS)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBS)
+
++.SUFFIXES: .c .o .rc
++# Rule to make compiled resource (Windows)
++.rc.o:
++ windres --include-dir $(resdir) -i $< -o $@
++
+ # Don't use implicit rules, since AIX "make" and OSF/1 "make" don't always
+ # expand $< correctly in this context.
+ #
+diff -ipuwrN -x '*.bak' -x '*.orig' -x '*.rej' -x '*.new' -x '*~' gperf-3.0.1-orig/tests/Makefile.in gperf-3.0.1-src/tests/Makefile.in
+--- gperf-3.0.1-orig/tests/Makefile.in 2003-06-02 13:42:40.000000000 +0200
++++ gperf-3.0.1-src/tests/Makefile.in 2004-10-31 19:01:42.984375000 +0100
+@@ -45,7 +45,7 @@ RM = rm -f
+
+ SHELL = /bin/sh
+
+-VPATH = $(srcdir)
++VPATH = $(srcdir) $(resdir)
+
+ GPERF = ../src/gperf
+ #GPERF = valgrind --num-callers=20 --leak-check=yes --leak-resolution=high --show-reachable=yes ../src/gperf
« no previous file with comments | « gperf/src/gperf/3.0.1/gperf-3.0.1/doc/config.status ('k') | gperf/src/gperf/3.0.1/gperf-3.0.1/lib/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698