# # 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 # install rules.txt along with spacetrace executable libs:: rules.txt $(INSTALL) $< $(DIST)/bin