tg_def.mk (7871dc3e) tg_def.mk (534c536d)
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

--- 178 unchanged lines hidden (view full) ---

187 @-$(RM) $@
188 @$(RENAME) $@.tmpfile $@
189.ENDIF # "$(GUI)"=="WNT"
190
191.IF "$(GUI)"=="OS2"
192
193#21/02/2006 YD dll names must be 8.3, invoke fix script
194#check osl/os2/module.c/osl_loadModule()
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

--- 178 unchanged lines hidden (view full) ---

187 @-$(RM) $@
188 @$(RENAME) $@.tmpfile $@
189.ENDIF # "$(GUI)"=="WNT"
190
191.IF "$(GUI)"=="OS2"
192
193#21/02/2006 YD dll names must be 8.3, invoke fix script
194#check osl/os2/module.c/osl_loadModule()
195SHL$(TNR)TARGET8=$(shell @fix_shl $(SHL$(TNR)TARGETN:f))
195SHL$(TNR)TARGET8=$(shell @fix_shl.cmd $(SHL$(TNR)TARGETN:f))
196
197DEF$(TNR)FILTER=$(SOLARENV)/inc/dummy.flt
198DEF$(TNR)NAMELIST=$(foreach,i,$(DEFLIB$(TNR)NAME) $(SLB)/$(i).lib)
199
200.IF "$(link_always)"==""
201$(DEF$(TNR)TARGETN) : \
202 $(DEF$(TNR)DEPN) \
203 $(DEF$(TNR)EXPORTFILE)
204.ELSE # "$(link_always)"==""
205$(DEF$(TNR)TARGETN) .PHONY :
206.ENDIF # "$(link_always)"==""
207 @+-$(RM) $@.tmpfile
208 @echo "Making: module definition file" $(@:f)
209 @echo LIBRARY $(SHL$(TNR)TARGET8) INITINSTANCE TERMINSTANCE >$@.tmpfile
210 @echo DATA MULTIPLE >>$@.tmpfile
196
197DEF$(TNR)FILTER=$(SOLARENV)/inc/dummy.flt
198DEF$(TNR)NAMELIST=$(foreach,i,$(DEFLIB$(TNR)NAME) $(SLB)/$(i).lib)
199
200.IF "$(link_always)"==""
201$(DEF$(TNR)TARGETN) : \
202 $(DEF$(TNR)DEPN) \
203 $(DEF$(TNR)EXPORTFILE)
204.ELSE # "$(link_always)"==""
205$(DEF$(TNR)TARGETN) .PHONY :
206.ENDIF # "$(link_always)"==""
207 @+-$(RM) $@.tmpfile
208 @echo "Making: module definition file" $(@:f)
209 @echo LIBRARY $(SHL$(TNR)TARGET8) INITINSTANCE TERMINSTANCE >$@.tmpfile
210 @echo DATA MULTIPLE >>$@.tmpfile
211 @echo DESCRIPTION 'StarView 3.00 $(DEF$(TNR)DES) $(UPD) $(UPDMINOR)' >>$@.tmpfile
212 @echo EXPORTS >>$@.tmpfile
213.IF "$(VERSIONOBJ)"!=""
214# getversioninfo fuer alle!!
215 @echo _GetVersionInfo >$@.tmp_ord
216.ENDIF
217
218.IF "$(DEFLIB$(TNR)NAME)"!=""
219 @+echo $(SLB)/$(DEFLIB$(TNR)NAME).lib

--- 90 unchanged lines hidden ---
211 @echo EXPORTS >>$@.tmpfile
212.IF "$(VERSIONOBJ)"!=""
213# getversioninfo fuer alle!!
214 @echo _GetVersionInfo >$@.tmp_ord
215.ENDIF
216
217.IF "$(DEFLIB$(TNR)NAME)"!=""
218 @+echo $(SLB)/$(DEFLIB$(TNR)NAME).lib

--- 90 unchanged lines hidden ---