Permalink
Browse files

Get rid of unused files and improve .gitignore

  • Loading branch information...
1 parent bf1c683 commit 166d29fa7364b0396828b4efcb5fba90f0949dad @leto committed Nov 28, 2009
Showing with 8 additions and 132 deletions.
  1. +8 −2 .gitignore
  2. +0 −58 Configure.pir
  3. +0 −72 src/Makefile.in
View
@@ -1,8 +1,14 @@
+# Editor junk
+*~
+*.sw?
+# Generated files
nqptap.pbc
nqptap/
src/gen_actions.pir
src/gen_grammar.pir
-*~
-*.sw?
Makefile
+installable_nqptap
+nqptap.c
+nqptap.o
+
View
@@ -1,58 +0,0 @@
-#! /usr/local/bin/parrot
-# $Id$
-
-.include 'sysinfo.pasm'
-.include 'iglobals.pasm'
-
-.sub 'main' :main
- load_bytecode 'Configure.pbc'
-
- # Wave to the friendly users
- print "Hello! I'm Configure. My job is to poke and prod\n"
- print "your system to figure out how to build nqpTAP.\n"
-
- .local pmc config
- $P0 = getinterp
- config = $P0[.IGLOBALS_CONFIG_HASH]
- .local string OS
- OS = sysinfo .SYSINFO_PARROT_OS
-
- # Here, do the job
- push_eh _handler
- genfile('Makefile.in', 'Makefile', config)
-# genfile('src/ops/Makefile.in', 'src/ops/Makefile', config)
-# genfile('src/pmc/Makefile.in', 'src/pmc/Makefile', config)
- pop_eh
-
- # Give the user a hint of next action
- .local string make
- make = config['make']
- print "Configure completed for platform '"
- print OS
- print "'.\n"
- print "You can now type '"
- print make
- print "' to build nqptap.\n"
- print "You may also type '"
- print make
- print " test' to run the nqptap test suite.\n"
- print "\nHappy Hacking,\n\tThe nqpTAP Team.\n"
- end
-
- _handler:
- .local pmc e
- .local string msg
- .get_results (e)
- printerr "\n"
- msg = e
- printerr msg
- printerr "\n"
- end
-.end
-
-# Local Variables:
-# mode: pir
-# fill-column: 100
-# End:
-# vim: expandtab shiftwidth=4 ft=pir:
-
View
@@ -1,72 +0,0 @@
-# Copyright (C) 2009, Parrot Foundation.
-
-# Command aliases and portability fixes
-PERL = @perl@
-RM_F = @rm_f@
-CP = @cp@
-CHMOD = @chmod@
-
-O = @o@
-EXE = @exe@
-
-PARROT_BIN = @bindir@
-PARROT_LIB = @libdir@@versiondir@
-
-PARROT = $(PARROT_BIN)/parrot
-PBC_TO_EXE = $(PARROT_BIN)/pbc_to_exe
-PARROT_NQP = $(PARROT_BIN)/parrot-nqp
-
-# The default target
-all: nqptap$(EXE)
-
-# Always run the FORCEd targets, without checking the filesystem
-.PHONY: FORCE
-
-FORCE:
-
-# Rebuild the Makefile if needed
-Makefile: src/Makefile.in Configure.nqp
- $(PARROT_NQP) Configure.nqp
-
-# List all user-visible targets
-help: FORCE
- @echo ""
- @echo "The following targets are available:"
- @echo ""
- @echo " all: Generate nqptap executable (default target)"
- @echo " clean: Clean generated files"
- @echo " test: Test nqptap and its libraries"
- @echo " help: Print this help message"
- @echo ""
-
-# The main build sequence
-nqptap$(EXE): src/nqptap$(EXE)
- $(CP) src/nqptap$(EXE) nqptap$(EXE)
- $(CHMOD) 0755 nqptap$(EXE)
-
-src/nqptap$(EXE): Makefile src/nqptap.pbc src/lib/Metadata.pbc src/lib/Util.pbc src/lib/Glue.pbc
- $(PBC_TO_EXE) src/nqptap.pbc
-
-.SUFFIXES: .nqp .pir .pbc
-
-.pir.pbc:
- $(PARROT) -o $@ $<
-
-.nqp.pir:
- $(PARROT_NQP) --target=pir -o $@ $<
-
-# Convenience
-realclean: clean
-
-clean: FORCE
- $(RM_F) "*~" "src/lib/*.pbc" "src/*.pbc" "src/*$(O)" "src/*.c" \
- src/lib/Util.pir src/lib/Metadata.pir src/nqptap.pir \
- src/nqptap$(EXE) nqptap$(EXE) Makefile
-
-test: FORCE
- $(PARROT_NQP) t/harness t/*.t
-
-# Local variables:
-# mode: makefile
-# End:
-# vim: ft=make:

0 comments on commit 166d29f

Please sign in to comment.