gecko-dev/tools/trace-malloc/Makefile.in

40 lines
1011 B
Makefile
Raw Normal View History

#
2012-05-21 11:12:37 +00:00
# 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/.
EXTRACSRCS = tmreader.c
EXTRACPPSRCS = adreader.cpp
ifndef MOZ_PROFILE_GENERATE
PROGCSRCS = \
spacetrace.c \
spacecategory.c \
formdata.c \
$(NULL)
PROGOBJS = $(PROGCSRCS:.c=.$(OBJ_SUFFIX))
endif
CPPSRCS += $(EXTRACPPSRCS)
include $(topsrcdir)/config/config.mk
# This is the last use of EXTRA_LIBS, and it would be sad to not have an
# error if it's used in other Makefiles just because of it. So hack around
# the check.
_DEPRECATED_VARIABLES := $(filter-out EXTRA_LIBS,$(_DEPRECATED_VARIABLES))
EXTRA_LIBS += \
tmreader.$(OBJ_SUFFIX) \
adreader.$(OBJ_SUFFIX) \
$(NULL)
EXTRA_DEPS = $(EXTRACSRCS:.c=.$(OBJ_SUFFIX)) $(EXTRACPPSRCS:.cpp=.$(OBJ_SUFFIX))
include $(topsrcdir)/config/rules.mk
2002-04-17 01:03:44 +00:00
# install rules.txt along with spacetrace executable
libs:: rules.txt
$(INSTALL) $< $(DIST)/bin