mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# $NetBSD: BSDmakefile,v 1.2 2012/12/17 12:51:32 drochner Exp $
|
|
# from FreeBSD ports/net/minidlna
|
|
|
|
PROG= minidlna
|
|
NOMAN= Ha-ha...
|
|
|
|
OS!= uname
|
|
VERS!= uname -r
|
|
|
|
CFLAGS+=-I${.CURDIR} -I${LOCALBASE}/include #-I${LOCALBASE}/include/libavcodec
|
|
#CFLAGS+=-I${LOCALBASE}/include/libavutil -I${LOCALBASE}/include/libavformat
|
|
CFLAGS+=-DPREFIX='"${PREFIX}"' -DOS='"${OS}"' -DOSVERSION='"${VERS}"'
|
|
CFLAGS+=-Wformat -Wunused -Wall
|
|
CFLAGS+=-Wno-deprecated-declarations
|
|
|
|
LDADD+= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib
|
|
LDADD+= -lsqlite3 -ljpeg -lexif -lid3tag -logg -lvorbis -lFLAC -lavformat
|
|
|
|
SRCS= albumart.c daemonize.c getifaddr.c image_utils.c log.c \
|
|
metadata.c minidlna.c minissdp.c minixml.c options.c playlist.c \
|
|
scanner.c sql.c upnpdescgen.c upnpevents.c upnpglobalvars.c \
|
|
upnphttp.c upnpreplyparse.c upnpsoap.c utils.c uuid.c
|
|
|
|
# TiVo-related sources still need massaging to compile on BSD:
|
|
# SRCS+= tivo_beacon.c tivo_commands.c tivo_utils.c
|
|
|
|
.PATH: ${FILESDIR} ${.CURDIR}/tagutils
|
|
|
|
SRCS+= misc.c tagutils.c textutils.c
|
|
|
|
WARNS= 3
|
|
NOGCCERROR= yes
|
|
|
|
.include <bsd.prog.mk>
|