summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/sign/Makefile
blob: 72b2e5c506cfcafc5004066622eb69dcf2e17fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# define PGP to be the path to pgp (default: /usr/local/bin/pgp)

# Use the check_sign target if your system can't handle pipes or getpass
all: pkg_sign 

OBJS=main.o sign.o check.o gzip.o common.o
OBJS2=varmain.o check.o gzip.o common.o

pkg_sign:  $(OBJS)
	${CC} ${CFLAGS} -o $@ $(OBJS)

check_sign: $(OBJS2)
	${CC} ${CFLAGS} -o $@ $(OBJS2)

varmain.o: main.c
	${CC} ${CFLAGS} -DCHECKER_ONLY -o varmain.o -c main.c

clean:
	rm *.o