summaryrefslogtreecommitdiff
path: root/x2p/Makefile.SH
diff options
context:
space:
mode:
authorEd Peschko <epeschko@den-mdev1>1998-04-29 15:02:36 -0600
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-05-14 15:56:53 +0000
commit52cebf5efc9883c776f89be24e988c47ceba2a42 (patch)
tree08117e31b521c13d7549587dbdbf4f7d26edbc8f /x2p/Makefile.SH
parent589fe9d5e99683526640f3a7119bb0059e22bc5f (diff)
downloadperl-52cebf5efc9883c776f89be24e988c47ceba2a42.tar.gz
[ PATCH 5.004_64 ] Integrated regression tests for compiler
p4raw-id: //depot/perl@963
Diffstat (limited to 'x2p/Makefile.SH')
-rwxr-xr-xx2p/Makefile.SH8
1 files changed, 7 insertions, 1 deletions
diff --git a/x2p/Makefile.SH b/x2p/Makefile.SH
index bf7495a39b..30201bdeda 100755
--- a/x2p/Makefile.SH
+++ b/x2p/Makefile.SH
@@ -61,6 +61,7 @@ FIRSTMAKEFILE = $firstmakefile
cat >>Makefile <<'!NO!SUBS!'
+REALPERL = ../perl
CCCMD = `sh $(shellflags) cflags $@`
public = a2p s2p find2perl
@@ -76,6 +77,8 @@ shextract = Makefile cflags
pl = find2perl.PL s2p.PL
plextract = find2perl s2p
+plexe = find2perl.exe s2p.exe
+plc = find2perl.c s2p.c
addedbyconf = $(shextract) $(plextract)
@@ -94,6 +97,9 @@ lintflags = -phbvxac
all: $(public) $(private) $(util)
touch all
+compile: all
+ $(REALPERL) -I../lib ../utils/perlcc -regex 's/$$/.exe/' $(plextract) -prog -verbose dcf -log ../compilelog;
+
a2p: $(obj) a2p$(OBJ_EXT)
$(CC) $(LDFLAGS) $(obj) a2p$(OBJ_EXT) $(libs) -o a2p
@@ -116,7 +122,7 @@ a2p$(OBJ_EXT): a2p.c a2py.c a2p.h EXTERN.h util.h INTERN.h \
$(CCCMD) $(LARGE) a2p.c
clean:
- rm -f a2p *$(OBJ_EXT)
+ rm -f a2p *$(OBJ_EXT) $(plexe) $(plc)
realclean: clean
rm -f *.orig core $(addedbyconf) all malloc.c