2 OBJS += append.o create.o info.o
3 OBJS += machoparse/cdhash.o cache_from_tree.o sort.o
4 OBJS += uuid/gen_uuid.o uuid/pack.o uuid/unpack.o uuid/parse.o uuid/unparse.o uuid/copy.o
7 BINDIR ?= $(PREFIX)/bin
8 MANDIR ?= $(PREFIX)/share/man
10 ifeq ($(shell uname -s),Darwin)
14 ifeq ($(COMMONCRYPTO),1)
15 CFLAGS += -DCOMMONCRYPTO
24 install -m 755 tc $(BINDIR)/
25 install -d $(MANDIR)/man1/
26 install -m 644 tc.1 $(MANDIR)/man1/
29 rm -i $(BINDIR)/tc $(MANDIR)/man1/tc.1
32 $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
35 mandoc $^ | col -bx > $@
40 .PHONY: all clean install uninstall