Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-12-26 08:37:54 +0300
committerChristopher Faylor <me@cgf.cx>2003-12-26 08:37:54 +0300
commit91301b852f178803c696706bd2b40d98f932645c (patch)
tree2d3015613060e04a1f66adb05a0c82a2a8162087 /winsup/cygserver/Makefile.in
parent76832a5b32dd03a995e5c9c58b84da2ac5c6b26c (diff)
* Makefile.in (CFLAGS, CXXFLAGS): Remove unneeded include.
(CYGWIN_LIB): Delete. (cygserver.exe target): Add -L$(cygwin_build) to the link line to force linker to use build tree version of the library. Remove specific inclusion of libcygwin.a from the link line.
Diffstat (limited to 'winsup/cygserver/Makefile.in')
-rw-r--r--winsup/cygserver/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygserver/Makefile.in b/winsup/cygserver/Makefile.in
index 333fcb92b..1b76a7643 100644
--- a/winsup/cygserver/Makefile.in
+++ b/winsup/cygserver/Makefile.in
@@ -31,8 +31,8 @@ AR:=@AR@
include $(srcdir)/../Makefile.common
-CFLAGS:=@CFLAGS@ -I$(cygwin_source)
-CXXFLAGS:=@CXXFLAGS@ -I$(cygwin_source)
+CFLAGS:=@CFLAGS@
+CXXFLAGS:=@CXXFLAGS@
override CXXFLAGS+=-MMD -DHAVE_DECL_GETOPT=0 -D__OUTSIDE_CYGWIN__ -DSYSCONFDIR="\"$(sysconfdir)\""
.SUFFIXES: .c .cc .a .o .d
@@ -68,8 +68,8 @@ libclean:
fullclean: clean libclean
-cygserver.exe: $(OBJS) $(CYGWIN_OBJS) $(CYGWIN_LIB)
- $(CXX) -o $@ $^
+cygserver.exe: $(CYGWIN_LIB) $(OBJS) $(CYGWIN_OBJS)
+ $(CXX) -o $@ ${wordlist 2,999,$^} -L$(cygwin_build)
$(cygwin_build)/%.o: $(cygwin_source)/%.cc
@$(MAKE) -C $(@D) $(@F)