[svn:parrot] r46269 - trunk/config/gen/makefiles

petdance at svn.parrot.org petdance at svn.parrot.org
Tue May 4 03:47:03 UTC 2010


Author: petdance
Date: Tue May  4 03:47:03 2010
New Revision: 46269
URL: https://trac.parrot.org/parrot/changeset/46269

Log:
Makefile target apilist lists PARROT_API functions, and exportlist lists PARROT_EXPORT. But headerizer has to support the apilist target yet.

Modified:
   trunk/config/gen/makefiles/root.in

Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in	Tue May  4 03:44:50 2010	(r46268)
+++ trunk/config/gen/makefiles/root.in	Tue May  4 03:47:03 2010	(r46269)
@@ -115,6 +115,9 @@
 # generated by config/init/headers.pm
 NONGEN_HEADERS   = @TEMP_nongen_headers@
 
+# The headerizer
+HEADERIZER       = $(PERL) $(BUILD_TOOLS_DIR)/headerizer.pl
+
 include src/dynpmc/Defines.mak
 include src/dynoplibs/Defines.mak
 include compilers/imcc/Defines.mak
@@ -762,7 +765,7 @@
 	@echo "Fetch from source repository:"
 	@echo "  update:            svn update."
 	@echo "  status:            svn status."
-	@echo "  patch:             Create a patch to attach to https:////trac.parrot.org/"
+	@echo "  patch:             Create a patch to attach to https://trac.parrot.org/"
 	@echo ""
 	@echo "Development:"
 	@echo "  lint:              An alias for sunlint."
@@ -771,11 +774,12 @@
 	@echo "  splint:            Code checking with splint."
 	@echo "  splint-all:        Splint all of Parrot, for the masochist only."
 	@echo "  headerizer:        Recreate header files for C-source files"
-	@echo "  apilist:           Show list of PARROT_EXPORT functions"
+	@echo "  apilist:           Show list of PARROT_API functions"
+	@echo "  exportlist:        Show list of PARROT_EXPORT functions"
 	@echo "  malloclist:        Show list of PARROT_MALLOC functions"
 	@echo "  cover:             Run test suite coverage analysis."
 	@echo "  tags-vi:           Create tags for the vi editor."
-	@echo "  tags-emacs:        Create tags for the EMACS editor."
+	@echo "  tags-emacs:        Create tags for the Emacs editor."
 	@echo "  perlcritic:        Check Perl code with Perl::Critic."
 	@echo ""
 	@echo "Release:"
@@ -2518,13 +2522,16 @@
     $(PIRC_O_FILES)
 
 headerizer : src/core_pmcs.c
-	$(PERL) $(BUILD_TOOLS_DIR)/headerizer.pl $(HEADERIZER_O_FILES) compilers/imcc/imcc.y
+	$(HEADERIZER) $(HEADERIZER_O_FILES) compilers/imcc/imcc.y
 
 apilist: src/core_pmcs.c
-	$(PERL) $(BUILD_TOOLS_DIR)/headerizer.pl --macro=PARROT_EXPORT $(HEADERIZER_O_FILES)
+	$(HEADERIZER) --macro=PARROT_API $(HEADERIZER_O_FILES)
+
+exportlist: src/core_pmcs.c
+	$(HEADERIZER) --macro=PARROT_EXPORT $(HEADERIZER_O_FILES)
 
 malloclist: src/core_pmcs.c
-	$(PERL) $(BUILD_TOOLS_DIR)/headerizer.pl --macro=PARROT_MALLOC $(HEADERIZER_O_FILES)
+	$(HEADERIZER) --macro=PARROT_MALLOC $(HEADERIZER_O_FILES)
 
 include src/dynpmc/Rules.mak
 include src/dynoplibs/Rules.mak


More information about the parrot-commits mailing list