2001-09-08 18:29:24 +00:00
|
|
|
#
|
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/.
|
2001-09-08 18:29:24 +00:00
|
|
|
|
2012-05-15 05:44:32 +00:00
|
|
|
EXTRACSRCS = tmreader.c
|
|
|
|
EXTRACPPSRCS = adreader.cpp
|
2001-09-08 18:29:24 +00:00
|
|
|
|
2011-04-14 09:23:13 +00:00
|
|
|
ifndef MOZ_PROFILE_GENERATE
|
2012-05-15 05:44:32 +00:00
|
|
|
|
|
|
|
PROGCSRCS = \
|
|
|
|
spacetrace.c \
|
|
|
|
spacecategory.c \
|
|
|
|
formdata.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
PROGOBJS = $(PROGCSRCS:.c=.$(OBJ_SUFFIX))
|
2011-04-14 09:23:13 +00:00
|
|
|
endif
|
2001-09-08 18:29:24 +00:00
|
|
|
|
2013-08-14 07:00:13 +00:00
|
|
|
CPPSRCS += $(EXTRACPPSRCS)
|
|
|
|
|
2001-09-08 18:29:24 +00:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
|
2014-08-07 05:21:03 +00:00
|
|
|
# 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))
|
Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.
Always pass EXTRA_LIBS before OS_LIBS on linker command lines.
Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 04:31:02 +00:00
|
|
|
EXTRA_LIBS += \
|
2002-02-14 22:56:03 +00:00
|
|
|
tmreader.$(OBJ_SUFFIX) \
|
2003-01-18 16:24:55 +00:00
|
|
|
adreader.$(OBJ_SUFFIX) \
|
2001-09-08 18:29:24 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2012-05-15 05:44:32 +00:00
|
|
|
EXTRA_DEPS = $(EXTRACSRCS:.c=.$(OBJ_SUFFIX)) $(EXTRACPPSRCS:.cpp=.$(OBJ_SUFFIX))
|
2001-09-08 18:29:24 +00:00
|
|
|
|
|
|
|
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
|