Edit

thodg/got/libexec/got-read-object/Makefile

Branch :

  • Show log

    Commit

  • Author : Stefan Sperling
    Date : 2018-09-08 16:56:10
    Hash : 079b2f65
    Message : add a Makefile hierarchy which builds the whole show

  • libexec/got-read-object/Makefile
  • .PATH:${.CURDIR}/../../lib
    
    PROG=		got-read-object
    SRCS=		got-read-object.c delta.c error.c inflate.c object_parse.c \
    		privsep.c sha1.c
    
    CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
    LDADD = -lutil -lz
    DPADD = ${LIBZ} ${LIBUTIL}
    
    # For now, default to installing binary in ~/bin
    GROUP!=id -g -n
    install:
    	${INSTALL} ${INSTALL_COPY} -o ${USER} -g ${GROUP} \
    	-m ${BINMODE} ${PROG} ${GOT_LIBEXECDIR}/${PROG}
    
    # Don't install man pages yet
    NOMAN = Yes
    
    .include <bsd.prog.mk>