comparison libpostproc/Makefile @ 3115:76d320e10dca libavcodec

libpostproc installs into a different directory that needs to be created.
author diego
date Sat, 11 Feb 2006 20:53:55 +0000
parents 8e5b48dad33e
children e5e4f74f006d
comparison
equal deleted inserted replaced
3114:8e5b48dad33e 3115:76d320e10dca
1 1
2 include ../../config.mak 2 include ../../config.mak
3 3
4 VPATH=$(SRC_PATH)/libavcodec/libpostproc 4 VPATH=$(SRC_PATH)/libavcodec/libpostproc
5
6 # Overload incdir, postproc include files go in a different directory.
7 incdir=$(prefix)/include/postproc
5 8
6 NAME=postproc 9 NAME=postproc
7 ifeq ($(BUILD_SHARED),yes) 10 ifeq ($(BUILD_SHARED),yes)
8 LIBVERSION=$(SPPVERSION) 11 LIBVERSION=$(SPPVERSION)
9 LIBMAJOR=$(SPPMAJOR) 12 LIBMAJOR=$(SPPMAJOR)
63 66
64 install-lib-static: $(LIB) 67 install-lib-static: $(LIB)
65 install -m 644 $(LIB) "$(libdir)" 68 install -m 644 $(LIB) "$(libdir)"
66 69
67 install-headers: 70 install-headers:
68 install -m 644 postprocess.h $(prefix)/include/postproc/postprocess.h 71 install -d $(incdir)
72 install -m 644 postprocess.h $(incdir)/postprocess.h
69 install -m 644 $(SRC_PATH)/libpostproc.pc $(libdir)/pkgconfig 73 install -m 644 $(SRC_PATH)/libpostproc.pc $(libdir)/pkgconfig
70 74
71 75
72 # 76 #
73 # include dependency files if they exist 77 # include dependency files if they exist