1#
2# Makefile for MPEG4 video plugin for Unix
3#
4# Copyright (C) 2007 Post Increment, All Rights Reserved
5#
6# The contents of this file are subject to the Mozilla Public License
7# Version 1.0 (the "License"); you may not use this file except in
8# compliance with the License. You may obtain a copy of the License at
9# http://www.mozilla.org/MPL/
10#
11# Software distributed under the License is distributed on an "AS IS"
12# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
13# the License for the specific language governing rights and limitations
14# under the License.
15#
16# The Original Code is Open H323 library.
17#
18# The Initial Developer of the Original Code is Post Increment
19#
20# Contributor(s): ______________________________________.
21#
22# $Revision: 25962 $
23# $Author: rjongbloed $
24# $Date: 2011-06-02 20:10:44 -0500 (Thu, 02 Jun 2011) $
25#
26
27BASENAME := mpeg4_ffmpeg
28
29COMMONDIR := ../common
30SRCDIR    := .
31SRCS      := mpeg4.cxx $(COMMONDIR)/dyna.cxx
32
33CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
34LIBS   += @DL_LIBS@ @LIBAVUTIL_LIBS@
35
36# Add LIBAVCODEC_SOURCE_DIR to the include path so we can #include <libavcodec/...h>
37# Also add libavutil, so ffmpeg headers can #include "log.h".
38LIBAVCODEC_SOURCE_DIR := @LIBAVCODEC_SOURCE_DIR@
39ifneq (,$(LIBAVCODEC_SOURCE_DIR))
40CFLAGS += -I$(LIBAVCODEC_SOURCE_DIR) -I$(LIBAVCODEC_SOURCE_DIR)/libavutil
41endif
42
43vpath   %.cxx $(COMMONDIR)
44
45INSTALL_DIR := @VC_PLUGIN_DIR@
46PLUGINDIR   := @PLUGINDIR@
47include $(PLUGINDIR)/plugin-inc.mak
48
49###########################################
50