From 388454cc3bbbe79e7e07d3ba1efc1de2d7126206 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 25 Jan 2001 22:08:11 +0000 Subject: [PATCH] makefile.mingw.in Protect the rule to rebuild makefile.mingw if 2001-01-25 Tor Lillqvist * makefile.mingw.in * */makefile.mingw.in: Protect the rule to rebuild makefile.mingw if makefile.mingw.in has changed with a check if said .in file exists. (This rule is mainly a convenience for yours truly.) --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ glib/makefile.mingw.in | 2 ++ gmodule/makefile.mingw.in | 2 ++ gobject/makefile.mingw.in | 2 ++ gthread/makefile.mingw.in | 2 ++ makefile.mingw.in | 2 ++ tests/makefile.mingw.in | 2 ++ 14 files changed, 52 insertions(+) diff --git a/ChangeLog b/ChangeLog index dafcd24..9e7780a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2001-01-25 Tor Lillqvist + * makefile.mingw.in + * */makefile.mingw.in: Protect the rule to rebuild makefile.mingw + if makefile.mingw.in has changed with a check if said .in file + exists. (This rule is mainly a convenience for yours truly.) + * giowin32.c: Socket support rewritten. It was utterly broken, and untested in fact. We still do use a thread for each socket being watched, but instead of blocking in recv() (which of course was diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index dafcd24..9e7780a 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,5 +1,10 @@ 2001-01-25 Tor Lillqvist + * makefile.mingw.in + * */makefile.mingw.in: Protect the rule to rebuild makefile.mingw + if makefile.mingw.in has changed with a check if said .in file + exists. (This rule is mainly a convenience for yours truly.) + * giowin32.c: Socket support rewritten. It was utterly broken, and untested in fact. We still do use a thread for each socket being watched, but instead of blocking in recv() (which of course was diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index dafcd24..9e7780a 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,10 @@ 2001-01-25 Tor Lillqvist + * makefile.mingw.in + * */makefile.mingw.in: Protect the rule to rebuild makefile.mingw + if makefile.mingw.in has changed with a check if said .in file + exists. (This rule is mainly a convenience for yours truly.) + * giowin32.c: Socket support rewritten. It was utterly broken, and untested in fact. We still do use a thread for each socket being watched, but instead of blocking in recv() (which of course was diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index dafcd24..9e7780a 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,5 +1,10 @@ 2001-01-25 Tor Lillqvist + * makefile.mingw.in + * */makefile.mingw.in: Protect the rule to rebuild makefile.mingw + if makefile.mingw.in has changed with a check if said .in file + exists. (This rule is mainly a convenience for yours truly.) + * giowin32.c: Socket support rewritten. It was utterly broken, and untested in fact. We still do use a thread for each socket being watched, but instead of blocking in recv() (which of course was diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index dafcd24..9e7780a 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,5 +1,10 @@ 2001-01-25 Tor Lillqvist + * makefile.mingw.in + * */makefile.mingw.in: Protect the rule to rebuild makefile.mingw + if makefile.mingw.in has changed with a check if said .in file + exists. (This rule is mainly a convenience for yours truly.) + * giowin32.c: Socket support rewritten. It was utterly broken, and untested in fact. We still do use a thread for each socket being watched, but instead of blocking in recv() (which of course was diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index dafcd24..9e7780a 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,5 +1,10 @@ 2001-01-25 Tor Lillqvist + * makefile.mingw.in + * */makefile.mingw.in: Protect the rule to rebuild makefile.mingw + if makefile.mingw.in has changed with a check if said .in file + exists. (This rule is mainly a convenience for yours truly.) + * giowin32.c: Socket support rewritten. It was utterly broken, and untested in fact. We still do use a thread for each socket being watched, but instead of blocking in recv() (which of course was diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index dafcd24..9e7780a 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,10 @@ 2001-01-25 Tor Lillqvist + * makefile.mingw.in + * */makefile.mingw.in: Protect the rule to rebuild makefile.mingw + if makefile.mingw.in has changed with a check if said .in file + exists. (This rule is mainly a convenience for yours truly.) + * giowin32.c: Socket support rewritten. It was utterly broken, and untested in fact. We still do use a thread for each socket being watched, but instead of blocking in recv() (which of course was diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index dafcd24..9e7780a 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,10 @@ 2001-01-25 Tor Lillqvist + * makefile.mingw.in + * */makefile.mingw.in: Protect the rule to rebuild makefile.mingw + if makefile.mingw.in has changed with a check if said .in file + exists. (This rule is mainly a convenience for yours truly.) + * giowin32.c: Socket support rewritten. It was utterly broken, and untested in fact. We still do use a thread for each socket being watched, but instead of blocking in recv() (which of course was diff --git a/glib/makefile.mingw.in b/glib/makefile.mingw.in index 0a4329f..ef4f514 100644 --- a/glib/makefile.mingw.in +++ b/glib/makefile.mingw.in @@ -89,9 +89,11 @@ glibconfig.h: glibconfig.h.win32 config.h: config.h.win32 cp $< $@ +ifeq ($(wildcard makefile.mingw.in),makefile.mingw.in) makefile.mingw: makefile.mingw.in sed -e 's,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@,' \ -e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' <$< >$@ +endif ################ glib diff --git a/gmodule/makefile.mingw.in b/gmodule/makefile.mingw.in index 58423f7..5ce374f 100644 --- a/gmodule/makefile.mingw.in +++ b/gmodule/makefile.mingw.in @@ -24,9 +24,11 @@ all : \ gmodule-$(GLIB_VER).dll \ testgmodule.exe +ifeq ($(wildcard makefile.mingw.in),makefile.mingw.in) makefile.mingw: makefile.mingw.in sed -e 's,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@,' \ -e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' <$< >$@ +endif gmodule_OBJECTS = \ gmodule.o diff --git a/gobject/makefile.mingw.in b/gobject/makefile.mingw.in index 6625d07..ed77f1b 100644 --- a/gobject/makefile.mingw.in +++ b/gobject/makefile.mingw.in @@ -25,10 +25,12 @@ all : \ gobject-$(GLIB_VER).dll \ glib-genmarshal.exe +ifeq ($(wildcard makefile.mingw.in),makefile.mingw.in) makefile.mingw: makefile.mingw.in sed -e 's,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@,' \ -e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' \ -e 's,@RE[B]UILD@,,' <$< >$@ +endif gobject_OBJECTS = \ gboxed.o \ diff --git a/gthread/makefile.mingw.in b/gthread/makefile.mingw.in index f97c4fe..c3757bb 100644 --- a/gthread/makefile.mingw.in +++ b/gthread/makefile.mingw.in @@ -23,9 +23,11 @@ BUILD_DLL = ../build-dll all : \ gthread-$(GLIB_VER).dll +ifeq ($(wildcard makefile.mingw.in),makefile.mingw.in) makefile.mingw: makefile.mingw.in sed -e 's,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@,' \ -e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' <$< >$@ +endif gthread_OBJECTS = \ gthread-impl.o diff --git a/makefile.mingw.in b/makefile.mingw.in index 0a4329f..ef4f514 100644 --- a/makefile.mingw.in +++ b/makefile.mingw.in @@ -89,9 +89,11 @@ glibconfig.h: glibconfig.h.win32 config.h: config.h.win32 cp $< $@ +ifeq ($(wildcard makefile.mingw.in),makefile.mingw.in) makefile.mingw: makefile.mingw.in sed -e 's,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@,' \ -e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' <$< >$@ +endif ################ glib diff --git a/tests/makefile.mingw.in b/tests/makefile.mingw.in index 090c3af..7d6f7f8 100644 --- a/tests/makefile.mingw.in +++ b/tests/makefile.mingw.in @@ -41,9 +41,11 @@ TESTS = \ all: $(TESTS) +ifeq ($(wildcard makefile.mingw.in),makefile.mingw.in) makefile.mingw: makefile.mingw.in sed -e 's,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@,' \ -e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' <$< >$@ +endif .SUFFIXES: .c .exe -- 2.7.4