tg_shl.mk (4d2a3edf) | tg_shl.mk (cde270a3) |
---|---|
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 --- 39 unchanged lines hidden (view full) --- 48SHL$(TNR)STDSHL=$(subst,CPPRUNTIME,$(STDLIBCPP) $(STDSHL)) 49SHL$(TNR)LINKFLAGS+=$(LINKFLAGS) 50.ENDIF # "$(SHL$(TNR)CODETYPE)"=="C" 51 52SHL$(TNR)RPATH*=OOO 53LINKFLAGSRUNPATH_$(SHL$(TNR)RPATH)*=/ERROR:/Bad_SHL$(TNR)RPATH_value 54SHL$(TNR)LINKFLAGS+=$(LINKFLAGSRUNPATH_$(SHL$(TNR)RPATH)) 55 | 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 --- 39 unchanged lines hidden (view full) --- 48SHL$(TNR)STDSHL=$(subst,CPPRUNTIME,$(STDLIBCPP) $(STDSHL)) 49SHL$(TNR)LINKFLAGS+=$(LINKFLAGS) 50.ENDIF # "$(SHL$(TNR)CODETYPE)"=="C" 51 52SHL$(TNR)RPATH*=OOO 53LINKFLAGSRUNPATH_$(SHL$(TNR)RPATH)*=/ERROR:/Bad_SHL$(TNR)RPATH_value 54SHL$(TNR)LINKFLAGS+=$(LINKFLAGSRUNPATH_$(SHL$(TNR)RPATH)) 55 |
56.IF "$(SHL$(TNR)USE_EXPORTS)"=="" | 56.IF "$(SHL$(TNR)USE_EXPORTS)"=="" || "$(GUI)"=="OS2" |
57SHL$(TNR)DEF*=$(MISC)/$(SHL$(TNR)TARGET).def 58.ENDIF # "$(SHL$(TNR)USE_EXPORTS)"=="" 59 60EXTRALIBPATHS$(TNR)=$(EXTRALIBPATHS) 61.IF "$(UPDATER)"=="YES" 62.IF "$(SHL$(TNR)NOCHECK)"=="" 63.IF "$(SOLAR_STLLIBPATH)"!="" 64EXTRALIBPATHS$(TNR)+=-L$(SOLAR_STLLIBPATH) --- 479 unchanged lines hidden (view full) --- 544 $(SHL$(TNR)OBJS) $(SHL$(TNR)VERSIONOBJ) \ 545 $(SHL$(TNR)LIBS) \ 546 $(SHL$(TNR)LINKRES) \ 547 $(SHL$(TNR)STDLIBS) \ 548 $(SHL$(TNR)STDSHL) $(STDSHL$(TNR)) 549 550.ENDIF # "$(USE_DEFFILE)"!="" 551 | 57SHL$(TNR)DEF*=$(MISC)/$(SHL$(TNR)TARGET).def 58.ENDIF # "$(SHL$(TNR)USE_EXPORTS)"=="" 59 60EXTRALIBPATHS$(TNR)=$(EXTRALIBPATHS) 61.IF "$(UPDATER)"=="YES" 62.IF "$(SHL$(TNR)NOCHECK)"=="" 63.IF "$(SOLAR_STLLIBPATH)"!="" 64EXTRALIBPATHS$(TNR)+=-L$(SOLAR_STLLIBPATH) --- 479 unchanged lines hidden (view full) --- 544 $(SHL$(TNR)OBJS) $(SHL$(TNR)VERSIONOBJ) \ 545 $(SHL$(TNR)LIBS) \ 546 $(SHL$(TNR)LINKRES) \ 547 $(SHL$(TNR)STDLIBS) \ 548 $(SHL$(TNR)STDSHL) $(STDSHL$(TNR)) 549 550.ENDIF # "$(USE_DEFFILE)"!="" 551 |
552 $(COMMAND_ECHO)+$(IMPLIB) -p256 $(IMPLIBFLAGS) $(SHL$(TNR)IMPLIBN) $@ 553 $(COMMAND_ECHO)+$(IMPLIB) -p256 $(IMPLIBFLAGS) $(LB)/$(SHL$(TNR)TARGET).lib $@ | 552.IF "$(SHL$(TNR)USE_EXPORTS)"=="name" 553#03/11/2012 if 'name' is used, export from DLL file (only names, no ordinals) 554 @echo Build import library from DLL file. 555 $(COMMAND_ECHO)+$(IMPLIB) $(IMPLIBFLAGS) $(LB)/$(SHL$(TNR)TARGETN:b).lib $@ 556.ENDIF # "$(SHL$(TNR)USE_EXPORTS)"=="" |
554 555.IF "$(SHL$(TNR)TARGET8)" != "$(SHL$(TNR)TARGET)" 556 $(COMMAND_ECHO)+$(COPY) $@ $(@:d)$(SHL$(TNR)TARGET8).dll 557.ENDIF 558 559.ENDIF # "$(GUI)" == "OS2" 560 561.ENDIF # "$(SHL$(TNR)TARGETN)"!="" --- 42 unchanged lines hidden (view full) --- 604.ELSE # "$(USE_DEFFILE)=="" 605 @echo build of $(SHL$(TNR)TARGETN) creates $@ 606 @$(TOUCH) $@ 607.ENDIF # "$(USE_DEFFILE)=="" 608.ENDIF # "$(COM)"=="GCC" 609 610.ELIF "$(GUI)" == "OS2" 611 | 557 558.IF "$(SHL$(TNR)TARGET8)" != "$(SHL$(TNR)TARGET)" 559 $(COMMAND_ECHO)+$(COPY) $@ $(@:d)$(SHL$(TNR)TARGET8).dll 560.ENDIF 561 562.ENDIF # "$(GUI)" == "OS2" 563 564.ENDIF # "$(SHL$(TNR)TARGETN)"!="" --- 42 unchanged lines hidden (view full) --- 607.ELSE # "$(USE_DEFFILE)=="" 608 @echo build of $(SHL$(TNR)TARGETN) creates $@ 609 @$(TOUCH) $@ 610.ENDIF # "$(USE_DEFFILE)=="" 611.ENDIF # "$(COM)"=="GCC" 612 613.ELIF "$(GUI)" == "OS2" 614 |
612# touch creates an empty file, but this is not good for emxomfar, so 613# create a dummy lib here 614 $(COMMAND_ECHO)-$(LIBMGR) $(LIBFLAGS) $@ $(SHL$(TNR)VERSIONOBJ) 615 +@echo build of $(SHL$(TNR)TARGETN) creates $@ | 615 @echo Import libs generated with .def file or with .dll file. 616# make 'dmake' happy 617 @-$(RM) $@ 618 @$(TOUCH) $@ |
616 617.ELSE 618 @echo no ImportLibs on Mac and *ix 619 @-$(RM) $@ 620 @$(TOUCH) $@ 621.ENDIF 622.ENDIF 623 624# unroll end 625####################################################### 626 | 619 620.ELSE 621 @echo no ImportLibs on Mac and *ix 622 @-$(RM) $@ 623 @$(TOUCH) $@ 624.ENDIF 625.ENDIF 626 627# unroll end 628####################################################### 629 |