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 set_properties get_properties
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/property-daemon
34 INSTALL_SRCS = Makefile set_properties.cc get_properties.cc bank.idl README
35 INSTALL_SCRIPTS = start_demo
37 bank.h bank.cc: bank.idl
38 $(IDL) $(IDLFLAGS) --any bank.idl
40 set_properties: set_properties.o bank.o $(DEPS)
41 $(LD) $(CXXFLAGS) $(LDFLAGS) set_properties.o bank.o $(LDLIBS) -o $@
43 get_properties: get_properties.o bank.o $(DEPS)
44 $(LD) $(CXXFLAGS) $(LDFLAGS) get_properties.o bank.o $(LDLIBS) -o $@
47 rm -f .depend *.o bank.cc bank.h core get_properties set_properties *~
49 set_properties.o get_properties.o: bank.h