Edit

thodg/got/tog/Makefile

Branch :

  • Show log

    Commit

  • Author : Stefan Sperling
    Date : 2019-02-08 15:12:00
    Hash : 6353ad76
    Message : make 'got update' merge file edits

  • tog/Makefile
  • .PATH:${.CURDIR}/../lib
    
    PROG=		tog
    SRCS=		tog.c blame.c commit_graph.c delta.c diff.c diffoffset.c \
    		diffreg.c error.c fileindex.c object.c object_cache.c \
    		object_idset.c object_parse.c opentemp.c path.c pack.c \
    		privsep.c reference.c repository.c sha1.c worktree.c \
    		utf8.c inflate.c buf.c worklist.c rcsutil.c diff3.c
    
    CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib \
    	-DGOT_LIBEXECDIR=${GOT_LIBEXECDIR}
    LDADD = -lpanel -lncursesw -lutil -lz -lpthread
    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} ${HOME}/bin/${PROG}
    
    # Don't install man pages yet
    NOMAN = Yes
    
    .include <bsd.prog.mk>