annotate libass/Makefile @ 19873:98d32b832c3a

Reduce code duplication in init_render_context(). Don't use glyph stroker for borderless glyphs.
author eugeni
date Sun, 17 Sep 2006 15:32:01 +0000
parents bcc792bfa431
children de4a66d99f41
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18937
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
1
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
2 include ../config.mak
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
3
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
4 LIBNAME=libass.a
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
5
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
6 LIBS=$(LIBNAME)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
7
19846
bcc792bfa431 Store bitmap glyphs in a separate struct, instead of FreeType's internal buffer.
eugeni
parents: 19420
diff changeset
8 SRCS=ass.c ass_cache.c ass_fontconfig.c ass_render.c ass_utils.c ass_mp.c ass_bitmap.c
18937
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
9
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
10 OBJS=$(SRCS:.c=.o)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
11
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 19190
diff changeset
12 CFLAGS = -I. -I.. \
18937
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
13 -I../libmpcodecs \
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 19190
diff changeset
14 $(OPTFLAGS) \
18937
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
15 -D_GNU_SOURCE \
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
16
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
17 .SUFFIXES: .c .o
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
18
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
19 # .PHONY: all clean
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
20
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
21 .c.o:
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
22 $(CC) -c $(CFLAGS) -o $@ $<
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
23
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
24 all: $(LIBS)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
25
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
26 $(LIBNAME): $(OBJS)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
27 $(AR) r $(LIBNAME) $(OBJS)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
28 $(RANLIB) $(LIBNAME)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
29
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
30 clean:
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
31 rm -f *.o *.a *~
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
32
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
33 distclean: clean
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
34 rm -f .depend
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
35
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
36 dep: depend
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
37
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
38 depend:
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
39 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
40
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
41 #
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
42 # include dependency files if they exist
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
43 #
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
44 ifneq ($(wildcard .depend),)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
45 include .depend
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
46 endif
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
47