tools/trace-malloc/Makefile.in

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 #
michael@0 2 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 5
michael@0 6 EXTRACSRCS = tmreader.c
michael@0 7 EXTRACPPSRCS = adreader.cpp
michael@0 8
michael@0 9 ifndef MOZ_PROFILE_GENERATE
michael@0 10
michael@0 11 PROGCSRCS = \
michael@0 12 spacetrace.c \
michael@0 13 spacecategory.c \
michael@0 14 formdata.c \
michael@0 15 $(NULL)
michael@0 16
michael@0 17 PROGOBJS = $(PROGCSRCS:.c=.$(OBJ_SUFFIX))
michael@0 18 endif
michael@0 19
michael@0 20 CPPSRCS += $(EXTRACPPSRCS)
michael@0 21
michael@0 22 include $(topsrcdir)/config/config.mk
michael@0 23
michael@0 24 LIBS += \
michael@0 25 $(LIBS_DIR) \
michael@0 26 tmreader.$(OBJ_SUFFIX) \
michael@0 27 adreader.$(OBJ_SUFFIX) \
michael@0 28 $(XPCOM_GLUE_LDOPTS) \
michael@0 29 $(NSPR_LIBS) \
michael@0 30 $(NULL)
michael@0 31
michael@0 32 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
michael@0 33 LIBS += $(DIST)/bin/XUL
michael@0 34 endif
michael@0 35
michael@0 36 ifdef HAVE_BOUTELL_GD
michael@0 37 ifeq ($(OS_ARCH),WINNT)
michael@0 38 LOCAL_INCLUDES += \
michael@0 39 -I'$(HAVE_BOUTELL_GD)' \
michael@0 40 $(NULL)
michael@0 41 LIBS += \
michael@0 42 -lmozz_s \
michael@0 43 '$(HAVE_BOUTELL_GD)/gd.lib' \
michael@0 44 $(NULL)
michael@0 45 else
michael@0 46 LIBS += \
michael@0 47 -lgd \
michael@0 48 $(NULL)
michael@0 49 endif
michael@0 50
michael@0 51 DEFINES += \
michael@0 52 -DHAVE_BOUTELL_GD \
michael@0 53 $(NULL)
michael@0 54 endif
michael@0 55
michael@0 56 EXTRA_DEPS = $(EXTRACSRCS:.c=.$(OBJ_SUFFIX)) $(EXTRACPPSRCS:.cpp=.$(OBJ_SUFFIX))
michael@0 57
michael@0 58 include $(topsrcdir)/config/rules.mk
michael@0 59
michael@0 60 # install rules.txt along with spacetrace executable
michael@0 61 libs:: rules.txt
michael@0 62 $(INSTALL) $< $(DIST)/bin

mercurial