mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
114 lines
3.0 KiB
Makefile
114 lines
3.0 KiB
Makefile
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
SHARED_LIBRARY_LIBS = \
|
|
../base/src/$(LIB_PREFIX)neckobase_s.$(LIB_SUFFIX) \
|
|
../dns/$(LIB_PREFIX)neckodns_s.$(LIB_SUFFIX) \
|
|
../socket/$(LIB_PREFIX)neckosocket_s.$(LIB_SUFFIX) \
|
|
../streamconv/src/$(LIB_PREFIX)nkconv_s.$(LIB_SUFFIX) \
|
|
../streamconv/converters/$(LIB_PREFIX)nkcnvts_s.$(LIB_SUFFIX) \
|
|
../mime/$(LIB_PREFIX)nkmime_s.$(LIB_SUFFIX) \
|
|
../cache/$(LIB_PREFIX)nkcache_s.$(LIB_SUFFIX) \
|
|
../cache2/$(LIB_PREFIX)nkcache2_s.$(LIB_SUFFIX) \
|
|
../protocol/about/$(LIB_PREFIX)nkabout_s.$(LIB_SUFFIX) \
|
|
$(foreach d,$(filter-out about,$(NECKO_PROTOCOLS)), \
|
|
../protocol/$(d)/$(LIB_PREFIX)nk$(d)_s.$(LIB_SUFFIX)) \
|
|
../ipc/$(LIB_PREFIX)neckoipc_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
|
|
ifdef MOZ_RTSP
|
|
SHARED_LIBRARY_LIBS += ../protocol/rtsp/$(LIB_PREFIX)nkrtsp_s.$(LIB_SUFFIX)
|
|
endif
|
|
|
|
ifdef MOZ_SRTP
|
|
SHARED_LIBRARY_LIBS += \
|
|
../srtp/src/$(LIB_PREFIX)nksrtp_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
endif
|
|
|
|
ifdef MOZ_SCTP
|
|
SHARED_LIBRARY_LIBS += \
|
|
../sctp/src/$(LIB_PREFIX)nksctp_s.$(LIB_SUFFIX) \
|
|
../sctp/datachannel/$(LIB_PREFIX)nkdatachan_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
endif
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
SHARED_LIBRARY_LIBS += \
|
|
../system/win32/$(LIB_PREFIX)neckosystem_s.$(LIB_SUFFIX)
|
|
endif
|
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
|
SHARED_LIBRARY_LIBS += \
|
|
../system/mac/$(LIB_PREFIX)neckosystem_s.$(LIB_SUFFIX)
|
|
endif
|
|
|
|
ifdef MOZ_ENABLE_QTNETWORK
|
|
SHARED_LIBRARY_LIBS += \
|
|
../system/qt/$(LIB_PREFIX)neckosystem_s.$(LIB_SUFFIX)
|
|
endif
|
|
|
|
ifeq (android,$(MOZ_WIDGET_TOOLKIT))
|
|
SHARED_LIBRARY_LIBS += \
|
|
../system/android/$(LIB_PREFIX)neckosystem_s.$(LIB_SUFFIX)
|
|
endif
|
|
|
|
ifdef MOZ_DASH
|
|
SHARED_LIBRARY_LIBS += \
|
|
../dash/mpd/$(LIB_PREFIX)nkdashmpd_s.$(LIB_SUFFIX)
|
|
endif
|
|
|
|
LOCAL_INCLUDES = \
|
|
-I$(srcdir)/../base/src \
|
|
-I$(srcdir)/../dns \
|
|
-I$(srcdir)/../socket \
|
|
-I$(srcdir)/../streamconv/src \
|
|
-I$(srcdir)/../streamconv/converters \
|
|
-I$(srcdir)/../mime \
|
|
-I$(srcdir)/../cache \
|
|
-I$(srcdir)/../protocol/about \
|
|
-I$(srcdir)/../protocol/app \
|
|
-I../dns \
|
|
$(foreach d,$(filter-out about,$(NECKO_PROTOCOLS)), \
|
|
-I$(srcdir)/../protocol/$(d)) \
|
|
$(NULL)
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
LOCAL_INCLUDES += -I$(srcdir)/../system/win32
|
|
endif
|
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
|
LOCAL_INCLUDES += -I$(srcdir)/../system/mac
|
|
endif
|
|
|
|
ifdef MOZ_ENABLE_QTNETWORK
|
|
LOCAL_INCLUDES += -I$(srcdir)/../system/qt
|
|
endif
|
|
|
|
ifeq (android,$(MOZ_WIDGET_TOOLKIT))
|
|
LOCAL_INCLUDES += -I$(srcdir)/../system/android
|
|
endif
|
|
|
|
ifdef NECKO_COOKIES
|
|
SHARED_LIBRARY_LIBS += \
|
|
../cookie/$(LIB_PREFIX)neckocookie_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
LOCAL_INCLUDES += -I$(srcdir)/../cookie
|
|
endif
|
|
|
|
ifdef NECKO_WIFI
|
|
SHARED_LIBRARY_LIBS += \
|
|
../wifi/$(LIB_PREFIX)neckowifi_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
LOCAL_INCLUDES += -I$(srcdir)/../wifi
|
|
|
|
endif
|
|
|
|
ifdef MOZ_RTSP
|
|
LOCAL_INCLUDES += -I$(srcdir)/../protocol/rtsp
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|