makefile.mk (7871dc3e) | makefile.mk (0817ece2) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 116 unchanged lines hidden (view full) --- 125DEF3DEPN = \ 126 $(MISC)$/$(SHL3TARGET).flt 127 128DEFLIB3NAME =communi 129DEF3DES =Communication 130 131# --- TESTTOOL IDE ------------------------------------------------------ 132 | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 116 unchanged lines hidden (view full) --- 125DEF3DEPN = \ 126 $(MISC)$/$(SHL3TARGET).flt 127 128DEFLIB3NAME =communi 129DEF3DES =Communication 130 131# --- TESTTOOL IDE ------------------------------------------------------ 132 |
133APP1TARGET=testtool | 133#APP1TARGET=testtool |
134 | 134 |
135.IF "$(GUI)"=="UNX" || ("$(COM)"=="GCC" && "$(GUI)"=="WNT") 136APP1DEPN+=$(SHL2TARGETN) $(SHL3TARGETN) 137.ELSE 138APP1DEPN+=$(SHL2IMPLIBN) $(SHL3IMPLIBN) 139.ENDIF 140APP1STDLIBS= \ | 135#.IF "$(GUI)"=="UNX" || ("$(COM)"=="GCC" && "$(GUI)"=="WNT") 136#APP1DEPN+=$(SHL2TARGETN) $(SHL3TARGETN) 137#.ELSE 138#APP1DEPN+=$(SHL2IMPLIBN) $(SHL3IMPLIBN) 139#.ENDIF 140#APP1STDLIBS= \ |
141 $(APP3RDLIB) \ 142 $(SAMPLE3RDLIB) 143 | 141 $(APP3RDLIB) \ 142 $(SAMPLE3RDLIB) 143 |
144APP1STDLIBS+= \ | 144#APP1STDLIBS+= \ |
145 $(CPPUHELPERLIB) \ 146 $(TOOLSLIB) \ 147 $(UNOTOOLSLIB) \ 148 $(SVTOOLLIB) \ 149 $(SVLLIB) \ 150 $(VCLLIB) \ 151 $(SALLIB) \ 152 $(VOSLIB) \ 153 $(UCBHELPERLIB) \ 154 $(COMPHELPERLIB) \ 155 $(BASICLIB) \ 156 $(SIMPLECMLIB) \ 157 $(COMMUNILIB) 158 | 145 $(CPPUHELPERLIB) \ 146 $(TOOLSLIB) \ 147 $(UNOTOOLSLIB) \ 148 $(SVTOOLLIB) \ 149 $(SVLLIB) \ 150 $(VCLLIB) \ 151 $(SALLIB) \ 152 $(VOSLIB) \ 153 $(UCBHELPERLIB) \ 154 $(COMPHELPERLIB) \ 155 $(BASICLIB) \ 156 $(SIMPLECMLIB) \ 157 $(COMMUNILIB) 158 |
159.IF "$(GUI)"=="UNX" 160APP1STDLIBS+= \ | 159#.IF "$(GUI)"=="UNX" 160#APP1STDLIBS+= \ |
161 $(VOSLIB) $(SALLIB) $(BASICLIB) | 161 $(VOSLIB) $(SALLIB) $(BASICLIB) |
162APP1STDLIBS+=$(CPPULIB) 163.ENDIF 164.IF "$(GUI)"=="WNT" || "$(COM)"=="GCC" 165APP1STDLIBS+=$(CPPULIB) 166.ENDIF | 162#APP1STDLIBS+=$(CPPULIB) 163#.ENDIF 164#.IF "$(GUI)"=="WNT" || "$(COM)"=="GCC" 165#APP1STDLIBS+=$(CPPULIB) 166#.ENDIF |
167 | 167 |
168.IF "$(GUI)"=="WNT" 169APP1STDLIBS += \ | 168#.IF "$(GUI)"=="WNT" 169#APP1STDLIBS += \ |
170 $(SHELL32LIB) \ 171 $(ADVAPI32LIB) | 170 $(SHELL32LIB) \ 171 $(ADVAPI32LIB) |
172.ENDIF # "$(GUI)"=="WNT" | 172#.ENDIF # "$(GUI)"=="WNT" |
173 174 175 | 173 174 175 |
176.IF "$(OS)" == "SOLARIS" 177APP1STDLIBS+= -lXm 178.ENDIF | 176#.IF "$(OS)" == "SOLARIS" 177#APP1STDLIBS+= -lXm 178#.ENDIF |
179 | 179 |
180.IF "$(GUI)" == "UNX" 181.IF "$(OS)" == "LINUX" 182APP1STDLIBS+= -lXext -lX11 -lSM -lICE 183.ENDIF 184.IF "$(OS)"=="MACOSX" 185APP1STDLIBS+= -lapp -lsample 186.ENDIF 187.ENDIF | 180#.IF "$(GUI)" == "UNX" 181#.IF "$(OS)" == "LINUX" 182#APP1STDLIBS+= -lXext -lX11 -lSM -lICE 183#.ENDIF 184#.IF "$(OS)"=="MACOSX" 185#APP1STDLIBS+= -lapp -lsample 186#.ENDIF 187#.ENDIF |
188 189 190 | 188 189 190 |
191APP1LIBS=\ | 191#APP1LIBS=\ |
192 $(LB)$/testtool.lib 193 | 192 $(LB)$/testtool.lib 193 |
194APP1OBJS= $(OBJ)$/testbasi.obj \ | 194#APP1OBJS= $(OBJ)$/testbasi.obj \ |
195 $(OBJ)$/cmdbasestream.obj \ 196 $(OBJ)$/svcommstream.obj 197 198# --- TESTTOOL MINIAPP ------------------------------------------------------ 199# ressources are linked here 200 | 195 $(OBJ)$/cmdbasestream.obj \ 196 $(OBJ)$/svcommstream.obj 197 198# --- TESTTOOL MINIAPP ------------------------------------------------------ 199# ressources are linked here 200 |
201RESLIB1NAME=tma 202RESLIB1SRSFILES= \ | 201#RESLIB1NAME=tma 202#RESLIB1SRSFILES= \ |
203 $(SRS)$/miniapp.srs 204 | 203 $(SRS)$/miniapp.srs 204 |
205APP3TARGET=miniapp 206APP3STDLIBS= \ | 205#APP3TARGET=miniapp 206#APP3STDLIBS= \ |
207 $(CPPULIB) \ 208 $(CPPUHELPERLIB) \ 209 $(UCBHELPERLIB) \ 210 $(COMPHELPERLIB) \ 211 $(AUTOMATIONLIB) \ 212 $(SALLIB) \ 213 $(TOOLSLIB) \ 214 $(SVTOOLLIB) \ 215 $(VCLLIB) 216 | 207 $(CPPULIB) \ 208 $(CPPUHELPERLIB) \ 209 $(UCBHELPERLIB) \ 210 $(COMPHELPERLIB) \ 211 $(AUTOMATIONLIB) \ 212 $(SALLIB) \ 213 $(TOOLSLIB) \ 214 $(SVTOOLLIB) \ 215 $(VCLLIB) 216 |
217.IF "$(GUI)"=="UNX" 218.IF "$(OS)"=="MACOSX" 219APP3STDLIBS+= \ | 217#.IF "$(GUI)"=="UNX" 218#.IF "$(OS)"=="MACOSX" 219#APP3STDLIBS+= \ |
220 $(VOSLIB) $(SALLIB) $(LIBSTLPORT) | 220 $(VOSLIB) $(SALLIB) $(LIBSTLPORT) |
221.ELSE 222APP3STDLIBS+= \ | 221#.ELSE 222#APP3STDLIBS+= \ |
223 $(VOSLIB) $(SALLIB) | 223 $(VOSLIB) $(SALLIB) |
224.ENDIF 225.ENDIF | 224#.ENDIF 225#.ENDIF |
226# $(AUTOMATIONLIB) is build in SHL1TARGET | 226# $(AUTOMATIONLIB) is build in SHL1TARGET |
227.IF "$(GUI)"=="UNX" || ("$(COM)"=="GCC" && "$(GUI)"=="WNT") 228APP3DEPN=$(SHL1TARGETN) 229.ELSE 230APP3DEPN=$(SHL1IMPLIBN) 231.ENDIF | 227#.IF "$(GUI)"=="UNX" || ("$(COM)"=="GCC" && "$(GUI)"=="WNT") 228#APP3DEPN=$(SHL1TARGETN) 229#.ELSE 230#APP3DEPN=$(SHL1IMPLIBN) 231#.ENDIF |
232 | 232 |
233APP3LIBS= \ | 233#APP3LIBS= \ |
234 $(LB)$/miniapp.lib 235 | 234 $(LB)$/miniapp.lib 235 |
236.IF "$(GUI)" != "UNX" 237.IF "$(COM)" != "GCC" | 236#.IF "$(GUI)" != "UNX" 237#.IF "$(COM)" != "GCC" |
238# win16 braucht ein appobj | 238# win16 braucht ein appobj |
239APP3OBJS= $(OBJ)$/testapp.obj 240.ENDIF 241.ENDIF | 239#APP3OBJS= $(OBJ)$/testapp.obj 240#.ENDIF 241#.ENDIF |
242 243# --- Targets ----------------------------------------------------------- 244 245.INCLUDE : target.mk 246 247# --- Basic-Filter-Datei --- 248 249$(MISC)$/$(SHL1TARGET).flt: makefile.mk --- 35 unchanged lines hidden --- | 242 243# --- Targets ----------------------------------------------------------- 244 245.INCLUDE : target.mk 246 247# --- Basic-Filter-Datei --- 248 249$(MISC)$/$(SHL1TARGET).flt: makefile.mk --- 35 unchanged lines hidden --- |