summaryrefslogtreecommitdiff
path: root/www/helixplugin/files/BSDmakefile
blob: b69e16a1145def2ba4140f675b586c1b88c5c868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
SHLIB_NAME	 =	helix.so

CXXFLAGS	+=	-D_UNIX -DMOZ_X11 -I${LOCALBASE}/include/nspr
CXXFLAGS	+=	-I${LOCALBASE}/include/${GECKO}/uconv
CXXFLAGS	+=	-I${LOCALBASE}/include/${GECKO}/xpcom
CXXFLAGS	+=	-I${LOCALBASE}/include/${GECKO}/npapi
CXXFLAGS	+=	-I${LOCALBASE}/include/${GECKO}/string
CXXFLAGS	+=	-I${LOCALBASE}/include/${GECKO}
CXXFLAGS	+=	-I${LOCALBASE}/include
CXXFLAGS	+=	-I${TOP}/player/app/plugin/include
CXXFLAGS	+=	-I${TOP}/player/app/gtk/pub

SRCS		 =	hxbackend.cpp	\
			np_entry.cpp	\
			npn_gate.cpp	\
			npp_gate.cpp	\
			nsHXPlayer.cpp	\
			plugin.cpp	\
			tokenizer.cpp

XPIDL		?=	${LOCALBASE}/lib/${GECKO}/xpidl
XPTLINK		?=	${XPIDL:H}/xpt_link
SHARE_IDL	!=	echo ${LOCALBASE}/share/idl/${GECKO:S/-devel/-2/}*

.PATH:	${TOP}/player/app/plugin ${TOP}/player/app/plugin/common

nphelix.xpt:	nsIHXPlayer.idl
	${XPIDL} -m header -I${SHARE_IDL} ${.ALLSRC}
	${XPIDL} -m typelib -I${SHARE_IDL} ${.ALLSRC}
	${XPTLINK} $@ nsIHXPlayer.xpt

all:	nphelix.xpt

.include <bsd.lib.mk>