Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 24 lines (17 sloc) 0.617 kB
aa9fba3 @ebroder Use override to allow appending build flags from the command line
ebroder authored
1 override CFLAGS+=-Wall -Werror -D_GNU_SOURCE -g
082c50a @nelhage Add a 'clean' target.
authored
2 OBJS=reptyr.o ptrace.o attach.o
e222527 @nelhage Initial import. Mostly able to run barnowl.
authored
3
51d380a @nelhage Add a minimal 'make install' target.
authored
4 PREFIX=/usr/local
32c6cdd @nelhage Makefile: Add dependencies on headers.
authored
5
9e91662 @nelhage Checkpoint working version.
authored
6 all: reptyr
9df3a40 @nelhage Add initial setup for injected stub.
authored
7
082c50a @nelhage Add a 'clean' target.
authored
8 reptyr: $(OBJS)
9
32c6cdd @nelhage Makefile: Add dependencies on headers.
authored
10 attach.o: reptyr.h ptrace.h
11 reptyr.o: reptyr.h
12 ptrace.o: ptrace.h $(wildcard arch/*.h)
13
082c50a @nelhage Add a 'clean' target.
authored
14 clean:
15 rm -f reptyr $(OBJS)
51d380a @nelhage Add a minimal 'make install' target.
authored
16
17 install: reptyr
bf37721 @nelhage Fix the mode on my 'install' commands.
authored
18 install -d -m 755 $(DESTDIR)$(PREFIX)/bin/
19 install -m 755 reptyr $(DESTDIR)$(PREFIX)/bin/reptyr
3b84767 @nelhage Makefile: Install the man page.
authored
20 install -d -m 755 $(DESTDIR)$(PREFIX)/share/man/man1
21 install -m 644 reptyr.1 $(DESTDIR)$(PREFIX)/share/man/man1/reptyr.1
61cc5f8 @nelhage Install the French manpage.
authored
22 install -d -m 755 $(DESTDIR)$(PREFIX)/share/man/fr/man1
23 install -m 644 reptyr.fr.1 $(DESTDIR)$(PREFIX)/share/man/fr/man1/reptyr.1
Something went wrong with that request. Please try again.