Edit

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

Branch :

  • Show log

    Commit

  • Author : Stefan Sperling
    Date : 2022-03-24 12:17:45
    Hash : c0591751
    Message : link libexec helpers against _p libraries when building with 'make PROFILE=1'

  • libexec/got-read-object/Makefile
  • .PATH:${.CURDIR}/../../lib
    
    .include "../../got-version.mk"
    
    PROG=		got-read-object
    SRCS=		got-read-object.c error.c inflate.c object_parse.c \
    		path.c privsep.c sha1.c
    
    CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
    
    .if defined(PROFILE)
    LDADD = -lutil_p -lz_p
    .else
    LDADD = -lutil -lz
    .endif
    
    DPADD = ${LIBZ} ${LIBUTIL}
    
    .include <bsd.prog.mk>