Changeset 1860 for trunk/gsdl/lib/Makefile.in
- Timestamp:
- 2001-01-26T07:26:45+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/lib/Makefile.in
r1283 r1860 28 28 AR = ar 29 29 CC = @CC@ 30 CPP = @CXX@ 30 31 #CCFLAGS = @CFLAGS@ -Wall -Wunused -pedantic -W -Woverloaded-virtual 31 32 CCFLAGS = @CFLAGS@ 33 MCFLAGS = @CFLAGS@ -Wall -Wunused 32 34 DEFS = @DEFS@ 33 INCLUDES = -I../packages/mg/lib 35 INCLUDES = -I../packages/mg/lib -I.. 36 MICO_DIR = @MICO_DIR@ 37 ifeq ($(MICO_DIR), default) 38 MICO_INC = -I../packages/mico/include 39 else 40 ifeq ($(MICO_DIR), yes) 41 MICO_INC = 42 else 43 MICO_INC = -I$(MICO_DIR) 44 endif 45 endif 46 MINCLUDES = -I. -I../packages/mg/lib $(MICO_INC) -I.. 34 47 RANLIB = @RANLIB@ 48 USE_CORBA = @USE_CORBA@ 35 49 36 50 COMPILE = $(CC) -c $(CCFLAGS) $(DEFS) $(INCLUDES) 51 CPPCOMPILE = $(CPP) -c $(CCFLAGS) $(DEFS) $(INCLUDES) 52 53 ifneq ($(USE_CORBA), 0) 54 MCOMPILE = mico-c++ -x c++ $(MCFLAGS) $(DEFS) $(MINCLUDES) -c 55 else 56 MCOMPILE = $(COMPILE) 57 endif 37 58 38 59 .SUFFIXES: … … 43 64 .SUFFIXES: .cpp .o 44 65 .cpp.o: 45 $(COMPILE) $< 66 $(CPPCOMPILE) $< 67 68 .SUFFIXES: .mpp .o 69 .mpp.o: 70 $(MCOMPILE) $< 46 71 47 72 73 ifneq ($(USE_CORBA), 0) 74 CORBAHEADERS = \ 75 corbaconv_text_t.h corbatext_t.h 76 CORBASOURCES = \ 77 corbaiface.mpp corbatext_t.mpp corbaconv_text_t.mpp 78 CORBAOBJECTS = \ 79 corbaiface.o corbatext_t.o corbaconv_text_t.o 80 else 81 CORBAHEADERS = 82 CORBASOURCE = 83 CORBAOBJECTS = 84 endif 85 48 86 HEADERS = \ 49 cfgread.h fileutil.h gsdlunicode.h text_t.h \ 50 display.h gsdlconf.h gsdltimes.h gsdltools.h 87 cfgread.h fileutil.h gsdlunicode.h gsdltools.h text_t.h \ 88 display.h gsdlconf.h gsdltimes.h cnfgable.h cnfgator.h \ 89 $(CORBAHEADERS) 90 51 91 52 92 SOURCES = \ 53 cfgread.cpp fileutil.cpp text_t.cpp \ 54 display.cpp gsdlunicode.cpp gsdltimes.cpp gsdltools.cpp 93 cfgread.cpp fileutil.cpp text_t.cpp cnfgable.cpp \ 94 display.cpp gsdlunicode.cpp gsdltimes.cpp gsdltools.cpp \ 95 cnfgator.cpp $(CORBASOURCES) 55 96 56 97 OBJECTS = \ 57 cfgread.o fileutil.o text_t.o \ 58 display.o gsdlunicode.o gsdltimes.o gsdltools.o 98 cfgread.o fileutil.o text_t.o cnfgable.o \ 99 display.o gsdlunicode.o gsdltimes.o gsdltools.o \ 100 cnfgator.o $(CORBAOBJECTS) 59 101 60 102 61 103 all: gsdllib.a 62 104 105 corbaiface.mpp: corbaiface.idl 106 idl --c++-suffix=mpp $? 63 107 64 108 GSDLLIBOBJECTS = $(OBJECTS) … … 69 113 $(RANLIB) gsdllib.a 70 114 71 distclean:72 rm -f $(OBJECTS) gsdllib.a Makefile73 74 115 clean: 75 116 rm -f $(OBJECTS) gsdllib.a … … 79 120 depend: 80 121 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES) 122 123 124 125
Note:
See TracChangeset
for help on using the changeset viewer.