view Makefile @ 11:62779b5a2d0a libpostproc

Move all internal -I parameters to the front of CFLAGS to avoid using external header files that happen to have the same name as internal ones.
author diego
date Thu, 17 Aug 2006 16:32:08 +0000
parents 5017827a174a
children ec78e505f42c
line wrap: on
line source


include ../config.mak

# Overload incdir, postproc include files go in a different directory.
incdir=$(prefix)/include/postproc

NAME=postproc
ifeq ($(BUILD_SHARED),yes)
LIBVERSION=$(SPPVERSION)
LIBMAJOR=$(SPPMAJOR)
endif

STATIC_OBJS=postprocess.o
SHARED_OBJS=postprocess_pic.o

HEADERS = postprocess.h

CFLAGS  = -I.. -I$(SRC_PATH)/libavcodec $(OPTFLAGS)
# -I/usr/X11R6/include/

include $(SRC_PATH)/common.mak

ifeq ($(BUILD_SHARED),yes)
postprocess_pic.o: postprocess.c
	$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
endif