# # 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/. DEPTH = @DEPTH@ topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk LIBRARY_NAME = nkdatachan_s LIBXUL_LIBRARY = 1 NO_PROFILE_GUIDED_OPTIMIZE = 1 # Don't PGO FAIL_ON_WARNINGS = 1 LOCAL_INCLUDES = \ -I$(topsrcdir)/xpcom/ds \ -I$(srcdir)/../src \ -I$(DEPTH)/dist/include/mozilla/net \ -I$(topsrcdir)/media/webrtc/trunk/third_party/libjingle/source \ -I$(topsrcdir)/media/mtransport \ $(NULL) DEFINES = \ -DINET=1 \ -DSCTP_DEBUG=1 \ $(NULL) ifneq ($(OS_TARGET),Android) DEFINES += -DINET6=1 endif ifeq ($(OS_TARGET),WINNT) DEFINES += -D__Userspace_os_Windows=1 else DEFINES += -D__Userspace_os_$(OS_TARGET)=1 endif include $(topsrcdir)/config/config.mk include $(topsrcdir)/config/rules.mk include $(topsrcdir)/ipc/chromium/chromium-config.mk