OSDN Git Service

First checkins.
[pf3gnuchains/pf3gnuchains4x.git] / winsup / cygserver / Makefile.in
1 # Makefile for Cygwin server
2 # Copyright 2003 Red Hat, Inc.
3
4 # This file is part of Cygwin.
5
6 # This software is a copyrighted work licensed under the terms of the
7 # Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
8 # details.
9
10 SHELL:=@SHELL@
11
12 srcdir:=@srcdir@
13 VPATH:=@srcdir@
14 prefix:=@prefix@
15 exec_prefix:=@exec_prefix@
16
17 bindir:=@bindir@
18 etcdir:=$(exec_prefix)/etc
19 program_transform_name:=@program_transform_name@
20
21 INSTALL:=@INSTALL@
22 INSTALL_PROGRAM:=@INSTALL_PROGRAM@
23 INSTALL_DATA:=@INSTALL_DATA@
24
25 EXEEXT:=@EXEEXT@
26 EXEEXT_FOR_BUILD:=@EXEEXT_FOR_BUILD@
27
28 CC:=@CC@
29 CC_FOR_TARGET:=$(CC)
30 CXX:=@CXX@
31 CXX_FOR_TARGET:=$(CXX)
32
33 CFLAGS:=@CFLAGS@ -I$(cygwin_source)
34 CXXFLAGS:=@CXXFLAGS@ -I$(cygwin_source)
35 override CXXFLAGS+=-fno-exceptions -fno-rtti -DHAVE_DECL_GETOPT=0
36
37 include $(srcdir)/../Makefile.common
38
39 OBJS:=  cygserver.o client.o process.o shm.o transport.o transport_pipes.o \
40         transport_sockets.o
41
42 CYGWIN_OBJS:=$(cygwin_build)/smallprint.o $(cygwin_build)/version.o \
43         $(cygwin_build)/wincap.o
44
45 all: cygserver.exe
46
47 install: all
48
49 cygserver.exe: $(OBJS) $(CYGWIN_OBJS)
50         $(CXX) -o $@ $^ -lstdc++