2016-03-28 13:09 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)

* config/dyn.mk
  * config/win/mingw.mk
  * src/dynlib/2nd/Makefile
  * src/dynlib/Makefile
  + src/harbour.def
    + use .def file to specify public symbols of harbour.dll
      for more details, see:
         f238e5f81f
         b2c9e4a63b
    ; NOTE: please make sure to add any new public (HB_EXPORT)
            symbols to this list. Ordinals are not significant
            ATM so the best is to keep alphabetical order.
This commit is contained in:
Viktor Szakats
2016-03-28 13:13:29 +02:00
parent 3b77191f9f
commit b5182e2aec
6 changed files with 3837 additions and 1 deletions

View File

@@ -10,6 +10,20 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2016-03-28 13:09 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* config/dyn.mk
* config/win/mingw.mk
* src/dynlib/2nd/Makefile
* src/dynlib/Makefile
+ src/harbour.def
+ use .def file to specify public symbols of harbour.dll
for more details, see:
https://github.com/vszakats/harbour-core/commit/f238e5f81ff07cb07fa3a21d3c82009db79ab7de
https://github.com/vszakats/harbour-core/commit/b2c9e4a63b1aca42b462cec49d55c4b1cbd1066c
; NOTE: please make sure to add any new public (HB_EXPORT)
symbols to this list. Ordinals are not significant
ATM so the best is to keep alphabetical order.
2016-03-25 17:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbclass.ch
! use more restrictive PP rules to avoid possible wrong

View File

@@ -76,6 +76,7 @@ endif
DYN_FILE :=
IMP_FILE :=
DEF_FILE := $(DEFNAME)
ifneq ($(HB_BUILD_DYN),no)
ifneq ($(DY_RULE),)

View File

@@ -133,7 +133,7 @@ endef
define create_dynlib
$(if $(wildcard __dyn__.tmp),@$(RM) __dyn__.tmp,)
$(foreach file,$^,$(dynlib_object))
$(DY) $(DFLAGS) $(HB_USER_DFLAGS) $(DY_OUT)$(DYN_DIR)/$@ __dyn__.tmp $(DLIBS) -Wl,--out-implib,$(IMP_FILE),--output-def,$(DYN_DIR)/$(basename $@).def $(DYSTRIP)
$(DY) $(DFLAGS) $(HB_USER_DFLAGS) $(DY_OUT)$(DYN_DIR)/$@ __dyn__.tmp $(DEF_FILE) $(DLIBS) -Wl,--out-implib,$(IMP_FILE),--output-def,$(DYN_DIR)/$(basename $@).def $(DYSTRIP)
endef
DY_RULE = $(create_dynlib)

View File

@@ -10,6 +10,7 @@ ifneq ($(DYNDIRLIST_BASE),)
DYNDIRLIST := $(DYNDIRLIST_BASE) src/vm
endif
DYNNAME := $(HB_DYNLIB_BASE_2ND)
DEFNAME := $(TOP)$(ROOT)src/harbour.def
include $(TOP)$(ROOT)config/dyn.mk

View File

@@ -14,6 +14,7 @@ ifneq ($(DYNDIRLIST_BASE),)
DYNDIRLIST := $(DYNDIRLIST_BASE) src/vm/vmmt
endif
DYNNAME := $(HB_DYNLIB_BASE)
DEFNAME := $(TOP)$(ROOT)src/harbour.def
include $(TOP)$(ROOT)config/dyn.mk

3819
src/harbour.def Normal file

File diff suppressed because it is too large Load Diff