Changeset 15549 for gsdl/trunk/src/corba/Makefile.in
- Timestamp:
- 2008-05-16T16:07:03+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/corba/Makefile.in
r15548 r15549 1 USE_CORBA = @USE_CORBA@ 2 ifneq ($(USE_CORBA), 0) 1 ########################################################################### 2 # 3 # Makefile -- src/corba 4 # A component of the Greenstone digital library software 5 # from the New Zealand Digital Library Project at the 6 # University of Waikato, New Zealand. 7 # 8 # Copyright (C) 1999-2008 The New Zealand Digital Library Project 9 # 10 # 11 # This program is free software; you can redistribute it and/or modify 12 # it under the terms of the GNU General Public License as published by 13 # the Free Software Foundation; either version 2 of the License, or 14 # (at your option) any later version. 15 # 16 # This program is distributed in the hope that it will be useful, 17 # but WITHOUT ANY WARRANTY; without even the implied warranty of 18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 # GNU General Public License for more details. 20 # 21 # You should have received a copy of the GNU General Public License 22 # along with this program; if not, write to the Free Software 23 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 24 # 25 ########################################################################### 26 27 GSDL_DIR = ../.. 28 INDEXERS_DIR = $(GSDL_DIR)/indexers 29 PACKAGES_DIR = $(GSDL_DIR)/packages 30 COLSERVR_DIR = $(GSDL_DIR)/src/colservr 31 PROTOCOL_DIR = $(GSDL_DIR)/src/protocol 3 32 4 33 34 USE_CORBA = @USE_CORBA@ 35 ifeq ($(USE_CORBA), 1) 5 36 6 37 # FROM LIB … … 22 53 MCFLAGS = -Wall -Wunused 23 54 24 ifneq ($(USE_CORBA), 0)25 55 MCOMPILE = $(MICO_PATH)mico-c++ -x c++ $(MCFLAGS) $(DEFS) $(MINCLUDES) -c 26 else27 MCOMPILE = $(COMPILE)28 endif29 56 30 57 … … 40 67 CORBAOBJECTS = \ 41 68 corbaiface.o corbatext_t.o corbaconv_text_t.o corbaiface_skel.o 42 else 43 CORBAHEADERS = 44 CORBASOURCE = 45 CORBAOBJECTS = 46 endif 69 47 70 48 71 corbaiface_skel.h: corbaiface.idl … … 81 104 $(MCOMPILE) $< 82 105 83 ifneq ($(USE_CORBA), 0)84 106 CORBAHEADERS = corbaServer.h 85 107 CORBASOURCES = corbaServer.mpp 86 108 CORBAOBJECTS = corbaServer.o ../../lib/corbaiface_skel.o 87 else88 CORBAHEADERS =89 CORBASOURCES =90 CORBAOBJECTS =91 endif92 109 93 110 # =========================================================================================== … … 96 113 # FROM RECPT 97 114 98 USE_CORBA = @USE_CORBA@99 ifeq ($(USE_CORBA), 1)100 115 CORBA_CFLAGS=-DUSE_CORBA 101 else102 CORBA_CFLAGS=103 endif104 116 105 117 106 ifeq ($(USE_CORBA), 1)107 118 EXEC = corbaserver corbarecptldd 108 endif109 119 110 120 … … 167 177 $(MLINK) $(CORBARECPT_OBJS) $(MLIBS) 168 178 179 else 180 all: 181 install: 182 clean: 183 distclean: 184 depend: 169 185 endif
Note:
See TracChangeset
for help on using the changeset viewer.