diff options
author | Christopher Faylor <me@cgf.cx> | 2000-11-16 20:32:27 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-11-16 20:32:27 +0000 |
commit | 992b0a24d043e996bc51873ed55c2503bb2fe42d (patch) | |
tree | 38572196324c8a79ab142e2b7b7006132e695ae0 /winsup/cygwin/Makefile.in | |
parent | cb06d7468a6618bfe07bf2aea86b698eeace8ef4 (diff) | |
download | newlib-992b0a24d043e996bc51873ed55c2503bb2fe42d.zip newlib-992b0a24d043e996bc51873ed55c2503bb2fe42d.tar.gz newlib-992b0a24d043e996bc51873ed55c2503bb2fe42d.tar.bz2 |
* Makefile.in: Make import library creation 'make -j2' friendly.
Diffstat (limited to 'winsup/cygwin/Makefile.in')
-rw-r--r-- | winsup/cygwin/Makefile.in | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index b65e212..073019e 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -175,16 +175,18 @@ maintainer-clean realclean: clean # Rule to build libcygwin.a $(LIB_NAME): $(DEF_FILE) $(LIBCOS) - $(DLLTOOL) --as=$(AS) --dllname $(DLL_NAME) --def $(DEF_FILE) --output-lib temp.a - $(AR) rcv temp.a $(LIBCOS) - mv temp.a $(LIB_NAME) + $(DLLTOOL) --as=$(AS) --dllname $(DLL_NAME) --def $(DEF_FILE) --output-lib templib.a + $(AR) rcv templib.a $(LIBCOS) + mv templib.a $(LIB_NAME) # Rule to make stub library used by testsuite -new-$(LIB_NAME): $(DEF_FILE) $(LIBCOS) - $(DLLTOOL) --as=$(AS) --dllname new-$(DLL_NAME) --def $(DEF_FILE) --output-lib temp.a - $(AR) rcv temp.a $(LIBCOS) - mv temp.a new-$(LIB_NAME) +# dependency set to $(LIB_NAME) to accomodate make -j2. +# Otherwise dlltool gets confused. cgf (11-16-2000) +new-$(LIB_NAME): $(LIB_NAME) + $(DLLTOOL) --as=$(AS) --dllname new-$(DLL_NAME) --def $(DEF_FILE) --output-lib new-templib.a + $(AR) rcv new-temp.a $(LIBCOS) + mv new-templib.a new-$(LIB_NAME) # Rule to build cygwin.dll |