summaryrefslogtreecommitdiffstats
path: root/winsup/cygserver/Makefile.in
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-07-02 02:31:32 +0000
committerChristopher Faylor <me@cgf.cx>2003-07-02 02:31:32 +0000
commit4d8d80b8a7a9ea21f5a90d912741267b11c50d22 (patch)
treee113554715fad576442972a14f4197ece2474289 /winsup/cygserver/Makefile.in
parent1847a1637dab3a009298f3451b962d2ac48d0bae (diff)
downloadcygnal-4d8d80b8a7a9ea21f5a90d912741267b11c50d22.tar.gz
cygnal-4d8d80b8a7a9ea21f5a90d912741267b11c50d22.tar.bz2
cygnal-4d8d80b8a7a9ea21f5a90d912741267b11c50d22.zip
* Makefile.in (OBJS): Move some more files from cygwin directory.
* woutsup.h: Define _MT_SAFE.
Diffstat (limited to 'winsup/cygserver/Makefile.in')
-rw-r--r--winsup/cygserver/Makefile.in19
1 files changed, 15 insertions, 4 deletions
diff --git a/winsup/cygserver/Makefile.in b/winsup/cygserver/Makefile.in
index beda6279f..eb326aaed 100644
--- a/winsup/cygserver/Makefile.in
+++ b/winsup/cygserver/Makefile.in
@@ -32,12 +32,12 @@ CXX_FOR_TARGET:=$(CXX)
CFLAGS:=@CFLAGS@ -I$(cygwin_source)
CXXFLAGS:=@CXXFLAGS@ -I$(cygwin_source)
-override CXXFLAGS+=-fno-exceptions -fno-rtti -DHAVE_DECL_GETOPT=0
+override CXXFLAGS+=-fno-exceptions -fno-rtti -DHAVE_DECL_GETOPT=0 -D__OUTSIDE_CYGWIN__
include $(srcdir)/../Makefile.common
-OBJS:= cygserver.o client.o process.o shm.o transport.o transport_pipes.o \
- transport_sockets.o
+OBJS:= cygserver.o client.o process.o shm.o threaded_queue.o transport.o \
+ transport_pipes.o transport_sockets.o
CYGWIN_OBJS:=$(cygwin_build)/smallprint.o $(cygwin_build)/version.o \
$(cygwin_build)/wincap.o
@@ -46,5 +46,16 @@ all: cygserver.exe
install: all
+clean:
+ rm -f $(OBJS)
+
cygserver.exe: $(OBJS) $(CYGWIN_OBJS)
- $(CXX) -o $@ $^ -lstdc++
+ $(CXX) -o $@ $^
+
+$(cygwin_build)/%.o: $(cygwin_source)/%.cc
+ @$(MAKE) -C $(@D) $(@F)
+
+$(cygwin_build)/%.o: $(cygwin_source)/%.c
+ @$(MAKE) -C $(@D) $(@F)
+
+Makefile: Makefile.in configure