Kaydet (Commit) ab84770b authored tarafından Matúš Kukan's avatar Matúš Kukan

Build nsplugin only in with mozilla case.

This replaces commits 830a2b92
and 68b08a11 with,
hopefully, proper one.
üst 4e85b537
...@@ -101,13 +101,6 @@ endif ...@@ -101,13 +101,6 @@ endif
endif endif
ifeq ($(ENABLE_NSPLUGIN),YES)
$(eval $(call gb_Helper_register_executables,OOO,\
nsplugin \
))
endif
ifeq ($(WITH_MOZILLA),YES) ifeq ($(WITH_MOZILLA),YES)
$(eval $(call gb_Helper_register_executables,OOO,\ $(eval $(call gb_Helper_register_executables,OOO,\
pluginapp.bin \ pluginapp.bin \
...@@ -115,6 +108,14 @@ $(eval $(call gb_Helper_register_executables,OOO,\ ...@@ -115,6 +108,14 @@ $(eval $(call gb_Helper_register_executables,OOO,\
$(eval $(call gb_Helper_register_libraries,OOOLIBS, \ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
pl \ pl \
)) ))
ifeq ($(ENABLE_NSPLUGIN),YES)
$(eval $(call gb_Helper_register_executables,OOO,\
nsplugin \
))
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
npsoplugin \
))
endif
endif # WITH_MOZILLA endif # WITH_MOZILLA
...@@ -324,7 +325,6 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \ ...@@ -324,7 +325,6 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
log_uno \ log_uno \
mcnttype \ mcnttype \
neon \ neon \
npsoplugin \
package2 \ package2 \
reg \ reg \
scriptframe \ scriptframe \
......
...@@ -76,16 +76,8 @@ endif # DISABLE_ATL ...@@ -76,16 +76,8 @@ endif # DISABLE_ATL
endif # WNT endif # WNT
ifeq ($(ENABLE_NSPLUGIN),YES)
$(eval $(call gb_Module_add_targets,extensions,\
Executable_nsplugin \
Library_npsoplugin \
WinResTarget_npsoplugin \
))
endif
ifeq ($(WITH_MOZILLA),YES) ifeq ($(WITH_MOZILLA),YES)
$(eval $(call gb_Module_add_targets,extensions,\ $(eval $(call gb_Module_add_targets,extensions,\
Library_pl \ Library_pl \
)) ))
...@@ -95,9 +87,16 @@ ifneq ($(GUIBASE),aqua) ...@@ -95,9 +87,16 @@ ifneq ($(GUIBASE),aqua)
$(eval $(call gb_Module_add_targets,extensions,\ $(eval $(call gb_Module_add_targets,extensions,\
Executable_pluginapp.bin \ Executable_pluginapp.bin \
)) ))
endif
endif
endif # GUIBASE!=aqua ifeq ($(ENABLE_NSPLUGIN),YES)
endif # GUI=UNX $(eval $(call gb_Module_add_targets,extensions,\
Executable_nsplugin \
Library_npsoplugin \
WinResTarget_npsoplugin \
))
endif
endif # WITH_MOZILLA=YES endif # WITH_MOZILLA=YES
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
$(eval $(call gb_Module_Module,np_sdk)) $(eval $(call gb_Module_Module,np_sdk))
ifeq ($(WITH_MOZILLA),YES)
$(eval $(call gb_Module_add_targets,np_sdk,\ $(eval $(call gb_Module_add_targets,np_sdk,\
Package_inc \ Package_inc \
)) ))
...@@ -35,6 +37,7 @@ ifeq ($(ENABLE_NSPLUGIN),YES) ...@@ -35,6 +37,7 @@ ifeq ($(ENABLE_NSPLUGIN),YES)
$(eval $(call gb_Module_add_targets,np_sdk,\ $(eval $(call gb_Module_add_targets,np_sdk,\
StaticLibrary_nputils \ StaticLibrary_nputils \
)) ))
endif
endif endif
......
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