Changeset 9758 for trunk/gs2build-extra/lib.Makefile.in
- Timestamp:
- 2005-04-27T15:12:47+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gs2build-extra/lib.Makefile.in
r9749 r9758 31 31 #CCFLAGS = @CFLAGS@ -Wall -Wunused -pedantic -W -Woverloaded-virtual 32 32 CCFLAGS = @CFLAGS@ 33 MCFLAGS = -Wall -Wunused34 33 DEFS = @DEFS@ 35 34 INCLUDES = -I../packages/mg/lib -I.. 36 MICO_DIR = @MICO_DIR@37 ifeq ($(MICO_DIR), default)38 MICO_INC = -I../packages/mico/mico/include39 MICO_PATH = ../bin/linux/40 else41 ifeq ($(MICO_DIR), yes)42 MICO_INC =43 else44 MICO_INC = -I$(MICO_DIR)45 endif46 MICO_PATH =47 endif48 MINCLUDES = -I/usr/include/g++-2/ -I/usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/include/ -I/usr/include -I. -I../packages/mg/lib $(MICO_INC) -I..49 35 RANLIB = @RANLIB@ 50 USE_CORBA = @USE_CORBA@51 36 52 37 COMPILE = $(CC) -c $(CCFLAGS) $(DEFS) $(INCLUDES) 53 38 CPPCOMPILE = $(CPP) -c $(CCFLAGS) $(DEFS) $(INCLUDES) 54 55 ifneq ($(USE_CORBA), 0)56 MCOMPILE = $(MICO_PATH)mico-c++ -x c++ $(MCFLAGS) $(DEFS) $(MINCLUDES) -c57 else58 MCOMPILE = $(COMPILE)59 endif60 39 61 40 .SUFFIXES: … … 68 47 $(CPPCOMPILE) $< 69 48 70 .SUFFIXES: .mpp .o71 .mpp.o:72 $(MCOMPILE) $<73 74 75 76 77 ifneq ($(USE_CORBA), 0)78 CORBAHEADERS = \79 corbaconv_text_t.h corbatext_t.h80 CORBASOURCES = \81 corbaiface.mpp corbatext_t.mpp corbaconv_text_t.mpp corbaiface_skel.mpp82 CORBAOBJECTS = \83 corbaiface.o corbatext_t.o corbaconv_text_t.o corbaiface_skel.o84 else85 CORBAHEADERS =86 CORBASOURCE =87 CORBAOBJECTS =88 endif89 90 49 HEADERS = \ 91 cfgread.h fileutil.h gsdlunicode.h gsdltools.h text_t.h \ 92 display.h gsdlconf.h gsdltimes.h cnfgable.h cnfgator.h \ 93 $(CORBAHEADERS) 94 50 text_t.h gsdlconf.h 95 51 96 52 SOURCES = \ 97 cfgread.cpp fileutil.cpp text_t.cpp cnfgable.cpp \ 98 display.cpp gsdlunicode.cpp gsdltimes.cpp gsdltools.cpp \ 99 cnfgator.cpp $(CORBASOURCES) 53 text_t.cpp 100 54 101 55 OBJECTS = \ 102 cfgread.o fileutil.o text_t.o cnfgable.o \ 103 display.o gsdlunicode.o gsdltimes.o gsdltools.o \ 104 cnfgator.o $(CORBAOBJECTS) 56 text_t.o 105 57 106 58 107 59 all: gsdllib.a 108 corbaiface_skel.h: corbaiface.idl109 LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH PATH=$(MICO_PATH):$(PATH) idl --boa --no-poa --c++-skel --c++-suffix=mpp $?110 corbaiface_skel.mpp: corbaiface.idl111 LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH PATH=$(MICO_PATH):$(PATH) idl --boa --no-poa --c++-skel --c++-suffix=mpp $?112 corbaiface.mpp: corbaiface.idl113 LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH PATH=$(MICO_PATH):$(PATH) idl --boa --no-poa --c++-skel --c++-suffix=mpp $?114 60 115 #GSDLLIBOBJECTS = $(OBJECTS)116 GSDLLIBOBJECTS = text_t.o 61 GSDLLIBOBJECTS = $(OBJECTS) 62 117 63 gsdllib.a: $(GSDLLIBOBJECTS) 118 64 rm -f gsdllib.a … … 121 67 122 68 clean: 123 rm -f $(OBJECTS) gsdllib.a corbaiface_skel.mpp corbaiface.h corbaiface.mpp69 rm -f $(OBJECTS) gsdllib.a 124 70 125 71 distclean: clean
Note:
See TracChangeset
for help on using the changeset viewer.