# # 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 MODULE = dmd LIBRARY_NAME = dmd FORCE_SHARED_LIB= 1 DEFINES += -DMOZ_NO_MOZALLOC CPPSRCS = DMD.cpp VPATH += $(topsrcdir)/xpcom/base CPPSRCS += nsStackWalk.cpp VPATH += $(topsrcdir)/nsprpub/lib/libc/src CSRCS += strcpy.c VPATH += $(topsrcdir)/mfbt CPPSRCS += HashFunctions.cpp EXPORTS = DMD.h # Disable mozglue. WRAP_LDFLAGS = MOZ_GLUE_LDFLAGS= STL_FLAGS = ifeq ($(OS_ARCH),WINNT) OS_LIBS += $(call EXPAND_LIBNAME,dbghelp) endif include $(topsrcdir)/config/config.mk include $(topsrcdir)/config/rules.mk