major cleanup of compiler/library tests
[libav.git] / libavcodec / libpostproc / Makefile
CommitLineData
bba9b16c
MN
1
2include ../../config.mak
3
a44a8bb8
DB
4# Overload incdir, postproc include files go in a different directory.
5incdir=$(prefix)/include/postproc
6
4bdd05e7 7NAME=postproc
8b2121e3 8SUBDIR=libavcodec/libpostproc
ba64106a 9ifeq ($(BUILD_SHARED),yes)
f3b60109
DB
10LIBVERSION=$(SPPVERSION)
11LIBMAJOR=$(SPPMAJOR)
bba9b16c 12endif
bba9b16c 13
8b2121e3
MR
14STATIC_OBJS=postprocess.o
15SHARED_OBJS=postprocess_pic.o
bba9b16c 16
8b2121e3 17HEADERS = postprocess.h
bba9b16c 18
8b2121e3
MR
19CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -I$(SRC_PATH)/libavcodec -I../.. $(EXTRA_INC)
20# -I/usr/X11R6/include/
bba9b16c 21
8b2121e3 22include $(SRC_PATH)/common.mak
bba9b16c 23
ba64106a 24ifeq ($(BUILD_SHARED),yes)
bba9b16c
MN
25postprocess_pic.o: postprocess.c
26 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o $@ $<
91378af4 27endif
c86eb7ae 28