annotate libass/Makefile @ 18950:a943bc3f26c8

Make some functions static. Patch by Stefan Huehner, stefan at huehner org.
author uau
date Sat, 08 Jul 2006 15:26:36 +0000
parents 9e95ac641e77
children 7a9a9748e045
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
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
8 SRCS=ass.c ass_cache.c ass_fontconfig.c ass_render.c ass_utils.c ass_mp.c
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
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
12 CFLAGS = $(OPTFLAGS) \
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
13 -I. -I.. \
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
14 -I../libmpcodecs \
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
15 $(EXTRA_INC) \
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
16 -D_GNU_SOURCE \
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
17 $(FREETYPE_INC) \
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
18 $(FONTCONFIG_INC) \
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
19
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
20 .SUFFIXES: .c .o
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
21
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
22 # .PHONY: all clean
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
23
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
24 .c.o:
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
25 $(CC) -c $(CFLAGS) -o $@ $<
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
26
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
27 all: $(LIBS)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
28
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
29 $(LIBNAME): $(OBJS)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
30 $(AR) r $(LIBNAME) $(OBJS)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
31 $(RANLIB) $(LIBNAME)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
32
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
33 clean:
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
34 rm -f *.o *.a *~
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
35
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
36 distclean: clean
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
37 rm -f .depend
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
38
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
39 dep: 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 depend:
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
42 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
43
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
44 #
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
45 # include dependency files if they exist
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
46 #
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
47 ifneq ($(wildcard .depend),)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
48 include .depend
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
49 endif
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
50