2 # MICO --- a free CORBA implementation
3 # Copyright (C) 1997 Kay Roemer & Arno Puder
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.
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.
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.
19 # Send comments and/or bug reports to:
20 # mico@informatik.uni-frankfurt.de
23 all: .depend client server
26 include ../../MakeVars
28 CXXFLAGS := $(COS_CXXFLAGS) $(CXXFLAGS)
29 LDLIBS := $(COS_LDLIBS) $(LDLIBS)
30 LDFLAGS := $(COS_LDFLAGS) $(LDFLAGS)
31 DEPS := $(COS_DEPS) $(DEPS)
33 INSTALL_DIR = services/naming
34 INSTALL_SRCS = Makefile account.idl client.cc server.cc
35 INSTALL_SCRIPTS = account_test
37 client: account.h account.o client.o $(DEPS)
38 $(LD) $(CXXFLAGS) $(LDFLAGS) account.o client.o $(LDLIBS) -o $@
40 server: account.h account.o server.o $(DEPS)
41 $(LD) $(CXXFLAGS) $(LDFLAGS) account.o server.o $(LDLIBS) -o $@
43 account.h account.cc : account.idl $(IDLGEN)
47 rm -f .depend account.cc account.h *.o core client server *~