summaryrefslogtreecommitdiff
path: root/Makefile.micro
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-01-24 10:30:51 +0000
committerNicholas Clark <nick@ccl4.org>2011-01-24 10:30:51 +0000
commit26ea9e123d12cb8db56e9e161eaec98bd295b821 (patch)
tree4324a860211114b3044a6c0e0ec81d40e1b2be2b /Makefile.micro
parent858e1d20cc10250fd3c36107b4f5fff9b80332aa (diff)
downloadperl-26ea9e123d12cb8db56e9e161eaec98bd295b821.tar.gz
Break out the generated function Perl_keywords() into keywords.c, a new file.
As it and Perl_yylex() both need FEATURE_IS_ENABLED, feature_is_enabled() is no longer static, and the two macro definitions move from toke.c to perl.h Previously, one had to cut and paste the output of perl_keywords.pl into the middle of toke.c, and it was not clear that it was generated code.
Diffstat (limited to 'Makefile.micro')
-rw-r--r--Makefile.micro5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.micro b/Makefile.micro
index 86113322d7..ec47c9b914 100644
--- a/Makefile.micro
+++ b/Makefile.micro
@@ -21,7 +21,7 @@ O = uav$(_O) udeb$(_O) udoio$(_O) udoop$(_O) udump$(_O) \
uregcomp$(_O) uregexec$(_O) urun$(_O) \
uscope$(_O) usv$(_O) utaint$(_O) utoke$(_O) \
unumeric$(_O) ulocale$(_O) umathoms$(_O) \
- uuniversal$(_O) uutf8$(_O) uutil$(_O) uperlapi$(_O)
+ uuniversal$(_O) uutf8$(_O) uutil$(_O) uperlapi$(_O) ukeywords$(_O)
microperl: $(O)
$(LD) -o $@ $(O) $(LDFLAGS) $(LIBS)
@@ -86,6 +86,9 @@ umro$(_O): $(HE) mro.c
uhv$(_O): $(HE) hv.c
$(CC) $(CCFLAGS) -o $@ $(CFLAGS) hv.c
+ukeywords$(_O): $(HE) keywords.c
+ $(CC) $(CCFLAGS) -o $@ $(CFLAGS) keywords.c
+
umg$(_O): $(HE) mg.c
$(CC) $(CCFLAGS) -o $@ $(CFLAGS) mg.c