annotate libass/Makefile @ 21009:32941a29a5ac

mention switch_video and switch_program
author nicodvb
date Sat, 18 Nov 2006 14:38:28 +0000
parents de4a66d99f41
children 618d1857f4c4
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
20477
de4a66d99f41 Libass interface reworked:
eugeni
parents: 19846
diff changeset
8 SRCS=ass.c ass_cache.c ass_fontconfig.c ass_render.c ass_utils.c ass_mp.c ass_bitmap.c ass_library.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