Skip to content

Commit

Permalink
[profiling] add a makefile target for ProfTest.pbc
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/branches/profiling_testing@45215 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
cotto committed Mar 27, 2010
1 parent 63f662e commit dbb3331
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions config/gen/makefiles/root.in
Expand Up @@ -295,6 +295,10 @@ GEN_LIBRARY = \
#IF(has_opengl): $(LIBRARY_DIR)/OpenGL_funcs.pbc \
#IF(has_opengl): $(LIBRARY_DIR)/OpenGL/Math.pbc \
$(LIBRARY_DIR)/P6object.pbc \
$(LIBRARY_DIR)/ProfTest.pbc \
$(LIBRARY_DIR)/ProfTest/PIRProfile.pir \
$(LIBRARY_DIR)/ProfTest/Matcher.pir \
$(LIBRARY_DIR)/ProfTest/Want.pir \
$(LIBRARY_DIR)/parrotlib.pbc \
$(LIBRARY_DIR)/pcore.pbc \
$(LIBRARY_DIR)/pcre.pbc \
Expand Down Expand Up @@ -1038,6 +1042,24 @@ $(INSTALLABLEPBC_MERGE) : src/pbc_merge$(O) $(LIBPARROT) $(INSTALLABLECONFIG)
@rpath_lib@ $(ALL_PARROT_LIBS) $(LINKFLAGS)
#IF(win32): if exist $@.manifest mt.exe -nologo -manifest $@.manifest -outputresource:$@;1

#
# Profiling runcore test supporting code
#

$(LIBRARY_DIR)/ProfTest.pbc: $(LIBRARY_DIR)/ProfTest/PIRProfile.pir \
$(LIBRARY_DIR)/ProfTest/Matcher.pir $(LIBRARY_DIR)/ProfTest/Want.pir
$(PARROT) -o $@ $(LIBRARY_DIR)/ProfTest/PIRProfile.pir \
$(LIBRARY_DIR)/ProfTest/Matcher.pir $(LIBRARY_DIR)/ProfTest/Want.pir

$(LIBRARY_DIR)/ProfTest/PIRProfile.pir: $(LIBRARY_DIR)/ProfTest/PIRProfile.nqp $(NQP_RX)
$(NQP_RX) --target=pir $(LIBRARY_DIR)/ProfTest/PIRProfile.nqp > $@

$(LIBRARY_DIR)/ProfTest/Matcher.pir: $(LIBRARY_DIR)/ProfTest/Matcher.nqp $(NQP_RX)
$(NQP_RX) --target=pir $(LIBRARY_DIR)/ProfTest/Matcher.nqp > $@

$(LIBRARY_DIR)/ProfTest/Want.pir: $(LIBRARY_DIR)/ProfTest/Want.nqp $(NQP_RX)
$(NQP_RX) --target=pir $(LIBRARY_DIR)/ProfTest/Want.nqp > $@


###############################################################################
#
Expand Down

0 comments on commit dbb3331

Please sign in to comment.