[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / file

Annotation of src/usr.bin/file/Makefile, Revision 1.6

1.6     ! millert     1: #      $OpenBSD: Makefile,v 1.5 1996/12/08 14:32:25 downsj Exp $
1.1       deraadt     2:
                      3: MAGIC=         /etc/magic
1.4       deraadt     4: MAGICOWN=      root
1.1       deraadt     5: MAGICGRP=      bin
                      6: MAGICMODE=     444
                      7:
                      8: PROG=          file
                      9: SRCS=          file.c apprentice.c fsmagic.c softmagic.c ascmagic.c is_tar.c \
1.6     ! millert    10:                print.c compress.c readelf.c internat.c
        !            11: CFLAGS+=       -DMAGIC='"$(MAGIC)"' -DUSE_UTIMES
1.1       deraadt    12: MAN=           file.1 magic.5
                     13:
                     14: CLEANFILES+=   magic
                     15: all:           file magic
                     16:
                     17: MAGFILES=      $(.CURDIR)/magdir/Header\
                     18:                $(.CURDIR)/magdir/Localstuff\
1.2       deraadt    19:                $(.CURDIR)/magdir/OpenBSD\
1.1       deraadt    20:                $(.CURDIR)/magdir/[a-z]*
                     21: magic:         $(MAGFILES)
                     22:        cat $(MAGFILES) > $(.TARGET)
                     23:
                     24: afterinstall:
1.5       downsj     25:        ${INSTALL} ${COPY} -o $(MAGICOWN) -g $(MAGICGRP) -m $(MAGICMODE) magic \
1.1       deraadt    26:                $(DESTDIR)$(MAGIC)
                     27:
                     28: .include <bsd.prog.mk>