OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I386LINUX / util / I386LINUX / doc / mico / examples / services / property-daemon / 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 set_properties get_properties
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/property-daemon
34 INSTALL_SRCS    = Makefile set_properties.cc get_properties.cc bank.idl README
35 INSTALL_SCRIPTS = start_demo
36
37 bank.h bank.cc: bank.idl
38         $(IDL) $(IDLFLAGS) --any bank.idl
39
40 set_properties: set_properties.o bank.o $(DEPS)
41         $(LD) $(CXXFLAGS) $(LDFLAGS) set_properties.o bank.o $(LDLIBS) -o $@
42
43 get_properties: get_properties.o bank.o $(DEPS)
44         $(LD) $(CXXFLAGS) $(LDFLAGS) get_properties.o bank.o $(LDLIBS) -o $@
45
46 clean:
47         rm -f .depend *.o bank.cc bank.h core get_properties set_properties *~
48
49 set_properties.o get_properties.o: bank.h