Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

48 lines (36 sloc) 1.056 kb
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
mandir = @mandir@
LIBS = @LIBS@
CFLAGS = @CFLAGS@ -O -Wall
LDFLAGS = @LDFLAGS@
VERSION = `git tag | tail -1 | sed -e 's/v//'`
RM = rm -f
INSTALL = install
INCS = pgpdump.h
SRCS = pgpdump.c types.c tagfuncs.c packet.c subfunc.c signature.c keys.c \
buffer.c uatfunc.c
OBJS = pgpdump.o types.o tagfuncs.o packet.o subfunc.o signature.o keys.o \
buffer.o uatfunc.o
PROG = pgpdump
MAN = pgpdump.1
CNF = config.h config.status config.cache config.log
MKF = Makefile
.c.o:
$(CC) -c $(CFLAGS) $<
all: $(PROG)
$(PROG): $(OBJS)
$(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LIBS) $(LDFLAGS)
clean:
$(RM) $(OBJS) $(PROG)
distclean:
$(RM) $(OBJS) $(PROG) $(CNF) $(MKF)
install: all
$(INSTALL) -d $(DESTDIR)$(bindir)
$(INSTALL) -cp -pm755 $(PROG) $(DESTDIR)$(bindir)
$(INSTALL) -d $(DESTDIR)$(mandir)/man1
$(INSTALL) -cp -pm644 $(MAN) $(DESTDIR)$(mandir)/man1
archive:
git archive master -o ~/pgpdump-$(VERSION).tar --prefix=pgpdump-$(VERSION)/
gzip ~/pgpdump-$(VERSION).tar
Jump to Line
Something went wrong with that request. Please try again.