Kaydet (Commit) 22e8f9b9 authored tarafından Matúš Kukan's avatar Matúš Kukan Kaydeden (comit) David Tardon

shell: export more symbols, as private

Change-Id: Ifca9712c2ee28c8e38925150b3e6d0f27195ff1d
üst db416d13
......@@ -57,38 +57,31 @@ $(eval $(call gb_Library_use_libraries,ooofilt,\
advapi32 \
comctl32 \
kernel32 \
msvcprt \
ole32 \
shell32 \
uuid \
$(gb_Library_win32_OLDNAMES) \
))
ifneq ($(COM),GCC)
$(eval $(call gb_Library_use_libraries,ooofilt,\
msvcprt \
))
ifneq ($(PRODUCT),full)
$(eval $(call gb_Library_use_libraries,ooofilt,\
msvcrt \
))
endif
$(eval $(call gb_Library_add_ldflags,ooofilt,\
/EXPORT:DllCanUnloadNow \
/EXPORT:DllGetClassObject \
/EXPORT:DllRegisterServer \
/EXPORT:DllUnregisterServer \
))
endif
$(eval $(call gb_Library_use_static_libraries,ooofilt,\
shell_xmlparser \
shlxthandler_common \
))
$(eval $(call gb_Library_add_ldflags,ooofilt,\
/EXPORT:DllCanUnloadNow,PRIVATE \
/EXPORT:DllGetClassObject,PRIVATE \
/EXPORT:DllRegisterServer,PRIVATE \
/EXPORT:DllUnregisterServer,PRIVATE \
))
$(eval $(call gb_Library_add_exception_objects,ooofilt,\
shell/source/win32/shlxthandler/ooofilt/ooofilt \
shell/source/win32/shlxthandler/ooofilt/propspec \
......
......@@ -77,14 +77,12 @@ $(eval $(call gb_Library_use_static_libraries,ooofilt_x64,\
shlxthandler_common_x64 \
))
ifeq ($(COM),MSC)
$(eval $(call gb_Library_add_ldflags,ooofilt_x64,\
/EXPORT:DllCanUnloadNow \
/EXPORT:DllGetClassObject \
/EXPORT:DllRegisterServer \
/EXPORT:DllUnregisterServer \
/EXPORT:DllCanUnloadNow,PRIVATE \
/EXPORT:DllGetClassObject,PRIVATE \
/EXPORT:DllRegisterServer,PRIVATE \
/EXPORT:DllUnregisterServer,PRIVATE \
))
endif
$(eval $(call gb_Library_add_exception_objects,ooofilt_x64,\
CustomTarget/shell/source/win32/shlxthandler/ooofilt/ooofilt \
......
......@@ -59,6 +59,7 @@ $(eval $(call gb_Library_use_libraries,propertyhdl,\
gdi32 \
gdiplus \
kernel32 \
msvcprt \
ole32 \
oleaut32 \
propsys \
......@@ -67,24 +68,16 @@ $(eval $(call gb_Library_use_libraries,propertyhdl,\
uuid \
))
ifneq ($(COM),GCC)
$(eval $(call gb_Library_use_libraries,propertyhdl,\
msvcprt \
))
ifneq ($(PRODUCT),full)
$(eval $(call gb_Library_use_libraries,propertyhdl,\
))
endif
endif
$(eval $(call gb_Library_use_static_libraries,propertyhdl,\
shell_xmlparser \
shlxthandler_common \
))
$(eval $(call gb_Library_add_ldflags,propertyhdl,\
/EXPORT:DllCanUnloadNow,PRIVATE \
/EXPORT:DllGetClassObject,PRIVATE \
))
$(eval $(call gb_Library_add_exception_objects,propertyhdl,\
shell/source/win32/shlxthandler/prophdl/propertyhdl \
))
......
......@@ -78,6 +78,11 @@ $(eval $(call gb_Library_use_static_libraries,propertyhdl_x64,\
shlxthandler_common_x64 \
))
$(eval $(call gb_Library_add_ldflags,propertyhdl_x64,\
/EXPORT:DllCanUnloadNow,PRIVATE \
/EXPORT:DllGetClassObject,PRIVATE \
))
$(eval $(call gb_Library_add_exception_objects,propertyhdl_x64,\
shell/source/win32/shlxthandler/prophdl/propertyhdl \
))
......
......@@ -73,14 +73,12 @@ $(eval $(call gb_Library_use_static_libraries,shlxthdl,\
$(eval $(call gb_Library_add_nativeres,shlxthdl,shlxthdl))
ifeq ($(COM),MSC)
$(eval $(call gb_Library_add_ldflags,shlxthdl,\
/EXPORT:DllCanUnloadNow \
/EXPORT:DllGetClassObject \
/EXPORT:DllRegisterServer \
/EXPORT:DllUnregisterServer \
/EXPORT:DllCanUnloadNow,PRIVATE \
/EXPORT:DllGetClassObject,PRIVATE \
/EXPORT:DllRegisterServer,PRIVATE \
/EXPORT:DllUnregisterServer,PRIVATE \
))
endif
$(eval $(call gb_Library_add_exception_objects,shlxthdl,\
shell/source/win32/shlxthandler/classfactory \
......
......@@ -79,14 +79,12 @@ $(eval $(call gb_Library_use_static_libraries,shlxthdl_x64,\
$(eval $(call gb_Library_add_nativeres,shlxthdl_x64,shlxthdl))
ifeq ($(COM),MSC)
$(eval $(call gb_Library_add_ldflags,shlxthdl_x64,\
/EXPORT:DllCanUnloadNow \
/EXPORT:DllGetClassObject \
/EXPORT:DllRegisterServer \
/EXPORT:DllUnregisterServer \
/EXPORT:DllCanUnloadNow,PRIVATE \
/EXPORT:DllGetClassObject,PRIVATE \
/EXPORT:DllRegisterServer,PRIVATE \
/EXPORT:DllUnregisterServer,PRIVATE \
))
endif
$(eval $(call gb_Library_add_generated_exception_objects,shlxthdl_x64,\
CustomTarget/shell/source/win32/shlxthandler/classfactory \
......
......@@ -63,7 +63,7 @@ $(eval $(call gb_Module_add_targets,shell,\
))
endif
ifeq ($(GUI),WNT)
ifeq ($(OS),WNT)
$(eval $(call gb_Module_add_targets,shell,\
Executable_regsvrex \
......@@ -77,7 +77,7 @@ $(eval $(call gb_Module_add_targets,shell,\
StaticLibrary_simplemapi \
))
ifneq ($(COM),GCC)
ifeq ($(COM),MSC)
$(eval $(call gb_Module_add_targets,shell,\
CustomTarget_shlxthdl_res \
Library_ooofilt \
......
DllGetClassObject PRIVATE
DllCanUnloadNow PRIVATE
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment