Permalink
Browse files

Initial import of test code.

  • Loading branch information...
James Courtier-Dutton James Courtier-Dutton
James Courtier-Dutton authored and James Courtier-Dutton committed May 25, 2004
1 parent 38f6d89 commit d80d4929f47e4beddae33515ddeb02e9dfb78b25
Showing with 1,942 additions and 0 deletions.
  1. +1 −0 dis/AUTHORS
  2. +340 −0 dis/COPYING
  3. +43 −0 dis/Makefile
  4. +927 −0 dis/dis.cpp
  5. +68 −0 dis/dis.hpp
  6. +159 −0 dis/opcodes.cpp
  7. +162 −0 dis/opcodes.h
  8. +116 −0 dis/opcodes.hpp
  9. +126 −0 dis/prefix_0f.cpp
View
@@ -0,0 +1 @@
James Courtier-Dutton <James@superbug.demon.co.uk>
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,43 @@
prefix = /usr/local
VERSION = 0.0.1
PACKAGE = dis
EXTRA_DIST = Makefile
INSTALL = install -s -c
MAKE = make
CC = g++
SOURCES = opcodes.cpp dis.cpp prefix_0f.cpp
OBJECTS = opcodes.o dis.o prefix_0f.o
HEADERS =
CFLAGS = -Wall -O2 -pipe -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\"
LDFLAGS =
.SUFFIXES: .cpp
.cpp:
$(CC) ${CFLAGS} $<@
$(PACKAGE): $(OBJECTS)
$(CC) $(LDFLAGS) -o $(PACKAGE) $(OBJECTS)
all: $(PACKAGE)
debug:
$(MAKE) CFLAGS="-Wall -O -g -DDEBUG -DPACKAGE=\\\"$(PACKAGE)\\\" -DVERSION=\\\"$(VERSION)\\\""
install: all
$(INSTALL) $(PACKAGE) $(prefix)/bin/$(PACKAGE)
dist: clean
@(rm -rf $(PACKAGE)-$(VERSION) && mkdir $(PACKAGE)-$(VERSION) && \
cp -f $(EXTRA_DIST) $(SOURCES) $(HEADERS) $(PACKAGE)-$(VERSION) && \
tar -cjvf $(PACKAGE)-$(VERSION).tar.bz2 $(PACKAGE)-$(VERSION) && \
rm -rf $(PACKAGE)-$(VERSION))
clean:
rm -f $(PACKAGE)*.tar.bz2
rm -f *~ *.o $(PACKAGE)
Oops, something went wrong.

0 comments on commit d80d492

Please sign in to comment.