annotate libass/Makefile @ 19174:ee1dbf3d5029

synced with r19161
author gpoirier
date Mon, 24 Jul 2006 12:11:31 +0000
parents 7a9a9748e045
children 1ea5c31932fd
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 -D_GNU_SOURCE \
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
16 $(FREETYPE_INC) \
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
17 $(FONTCONFIG_INC) \
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
18
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
19 .SUFFIXES: .c .o
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
20
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
21 # .PHONY: all clean
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
22
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
23 .c.o:
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
24 $(CC) -c $(CFLAGS) -o $@ $<
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
25
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
26 all: $(LIBS)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
27
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
28 $(LIBNAME): $(OBJS)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
29 $(AR) r $(LIBNAME) $(OBJS)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
30 $(RANLIB) $(LIBNAME)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
31
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
32 clean:
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
33 rm -f *.o *.a *~
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
34
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
35 distclean: clean
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
36 rm -f .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 dep: depend
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
39
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
40 depend:
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
41 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
42
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
43 #
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
44 # include dependency files if they exist
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
45 #
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
46 ifneq ($(wildcard .depend),)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
47 include .depend
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
48 endif
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents:
diff changeset
49