blob: 6aa45b0f97e9068ea331da3b709d630e26136b45 (
plain) (
blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
# $FreeBSD$
LIB= ming
SHLIB_MAJOR?= 3
SHLIB_MINOR?= 0
CFLAGS+= -I${.CURDIR}/actioncompiler -I${.CURDIR}/blocks -I${LOCALBASE}/include
LDADD= -lm
SRCS= blocklist.c \
displaylist.c \
fill.c \
ming.c \
movie.c \
movieclip.c \
position.c \
shape_cubic.c \
shape_util.c \
text_util.c \
actioncompiler/assembler.c \
actioncompiler/compile.c \
actioncompiler/compileaction.c \
actioncompiler/lex.swf4.c \
actioncompiler/lex.swf5.c \
actioncompiler/swf4compiler.tab.c \
actioncompiler/swf5compiler.tab.c \
blocks/action.c \
blocks/bitmap.c \
blocks/block.c \
blocks/browserfont.c \
blocks/button.c \
blocks/character.c \
blocks/cxform.c \
blocks/dbl.c \
blocks/error.c \
blocks/fillstyle.c \
blocks/font.c \
blocks/fontinfo.c \
blocks/gradient.c \
blocks/input.c \
blocks/jpeg.c \
blocks/linestyle.c \
blocks/loadfont.c \
blocks/matrix.c \
blocks/method.c \
blocks/morph.c \
blocks/mp3.c \
blocks/output.c \
blocks/outputblock.c \
blocks/placeobject.c \
blocks/rect.c \
blocks/shape.c \
blocks/soundstream.c \
blocks/sprite.c \
blocks/text.c \
blocks/textfield.c
INCSGROUPS= INCS BLKS
INCS= blocklist.h \
blocktypes.h \
displaylist.h \
fill.h \
libming.h \
../ming.h \
../mingpp.h \
movie.h \
movieclip.h \
position.h \
shape_cubic.h \
shape_util.h \
text_util.h
NOMAN= YES
LIBDIR= ${LOCALBASE}/lib
INCSDIR= ${LOCALBASE}/include/ming
BLKS= block.h cxform.h \
error.h exports.h \
input.h matrix.h \
outputblock.h placeobject.h \
sound.h sprite.h \
swf.h blocktypes.h \
character.h libswf.h \
method.h output.h \
rect.h
BLKS:= ${BLKS:S;^;${.CURDIR}/blocks/;}
BLKSDIR= ${INCSDIR}/blocks
.include <bsd.lib.mk>
# For pre-bsd.incs.mk API
.if defined(INCOWN)
INCDIR= ${INCSDIR}
beforeinstall:
${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \
${.CURDIR}/blocks/block.h ${.CURDIR}/blocks/cxform.h \
${.CURDIR}/blocks/error.h ${.CURDIR}/blocks/exports.h \
${.CURDIR}/blocks/input.h ${.CURDIR}/blocks/matrix.h \
${.CURDIR}/blocks/outputblock.h ${.CURDIR}/blocks/placeobject.h \
${.CURDIR}/blocks/sound.h ${.CURDIR}/blocks/sprite.h \
${.CURDIR}/blocks/swf.h ${.CURDIR}/blocks/blocktypes.h \
${.CURDIR}/blocks/character.h ${.CURDIR}/blocks/libswf.h \
${.CURDIR}/blocks/method.h ${.CURDIR}/blocks/output.h \
${.CURDIR}/blocks/rect.h ${INCDIR}/blocks/
.endif
dynamic: lib${LIB}.so
static: lib${LIB}.a
|