Mercurial > libpostproc.hg
annotate Makefile @ 62:aac097949f15 libpostproc
Declare libpostproc prerequisites directly instead of using a layer of
indirection. This moves build system workarounds closer to libpostproc
where they are really needed.
author | diego |
---|---|
date | Tue, 30 Oct 2007 07:54:18 +0000 |
parents | b64be993e95c |
children | cc79af45c2ae |
rev | line source |
---|---|
0 | 1 |
2 include ../config.mak | |
3 | |
4 # Overload incdir, postproc include files go in a different directory. | |
57 | 5 INCDIR=$(prefix)/include/postproc |
0 | 6 |
33
b5cf29aef709
Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
diego
parents:
30
diff
changeset
|
7 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) |
b5cf29aef709
Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
diego
parents:
30
diff
changeset
|
8 |
0 | 9 NAME=postproc |
10 LIBVERSION=$(SPPVERSION) | |
11 LIBMAJOR=$(SPPMAJOR) | |
12 | |
13 HEADERS = postprocess.h | |
14 | |
37 | 15 include ../common.mak |
0 | 16 |
62
aac097949f15
Declare libpostproc prerequisites directly instead of using a layer of
diego
parents:
57
diff
changeset
|
17 $(LIBNAME): postprocess.o |
aac097949f15
Declare libpostproc prerequisites directly instead of using a layer of
diego
parents:
57
diff
changeset
|
18 $(SLIBNAME_WITH_MAJOR): postprocess_pic.o |
aac097949f15
Declare libpostproc prerequisites directly instead of using a layer of
diego
parents:
57
diff
changeset
|
19 |
35 | 20 depend dep: postprocess.c |
14 | 21 |
0 | 22 postprocess_pic.o: postprocess.c |
9 | 23 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $< |
0 | 24 |
47
b260cd785240
Move libpostproc-specific uninstallation command to the libpostproc Makefile.
diego
parents:
40
diff
changeset
|
25 uninstall-headers:: |
b260cd785240
Move libpostproc-specific uninstallation command to the libpostproc Makefile.
diego
parents:
40
diff
changeset
|
26 -rmdir "$(prefix)/include/postproc" |