OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I386LINUX / util / I386LINUX / doc / mico / examples / services / naming / Makefile
1 #
2 # MICO --- a free CORBA implementation
3 # Copyright (C) 1997 Kay Roemer & Arno Puder
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 #
19 # Send comments and/or bug reports to:
20 #                mico@informatik.uni-frankfurt.de
21 #
22
23 all: .depend client server
24
25 DIR_PREFIX=../
26 include ../../MakeVars
27
28 CXXFLAGS  := $(COS_CXXFLAGS) $(CXXFLAGS)
29 LDLIBS    := $(COS_LDLIBS) $(LDLIBS)
30 LDFLAGS   := $(COS_LDFLAGS) $(LDFLAGS)
31 DEPS      := $(COS_DEPS) $(DEPS)
32
33 INSTALL_DIR     = services/naming
34 INSTALL_SRCS    = Makefile account.idl client.cc server.cc
35 INSTALL_SCRIPTS = account_test
36
37 client: account.h account.o client.o $(DEPS)
38         $(LD) $(CXXFLAGS) $(LDFLAGS) account.o client.o $(LDLIBS) -o $@
39
40 server: account.h account.o server.o $(DEPS)
41         $(LD) $(CXXFLAGS) $(LDFLAGS) account.o server.o $(LDLIBS) -o $@
42
43 account.h account.cc : account.idl $(IDLGEN)
44         $(IDL) account.idl
45
46 clean:
47         rm -f .depend account.cc account.h *.o core client server *~