Home | History | Annotate | Download | only in src
      1 #INTEL CONFIDENTIAL
      2 #Copyright 2009 Intel Corporation All Rights Reserved. 
      3 #The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers and licensors. The Material contains trade secrets and proprietary and confidential information of Intel or its suppliers and licensors. The Material is protected by worldwide copyright and trade secret laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed, or disclosed in any way without Intels prior express written permission.
      4 
      5 #No license under any patent, copyright, trade secret or other intellectual property right is granted to or conferred upon you by disclosure or delivery of the Materials, either expressly, by implication, inducement, estoppel or otherwise. Any license under such intellectual property rights must be express and approved by Intel in writing.
      6 #
      7 
      8 lib_LTLIBRARIES = libmixvideo.la
      9 
     10 ##############################################################################
     11 # sources used to compile
     12 libmixvideo_la_SOURCES = mixdisplay.c \
     13 			mixdrmparams.c \
     14 			mixvideo.c \
     15 			mixvideoconfigparams.c \
     16 			mixvideoconfigparamsdec.c \
     17 			mixvideoconfigparamsdec_vc1.c \
     18 			mixvideoconfigparamsdec_h264.c \
     19 			mixvideoconfigparamsdec_mp42.c \
     20 			mixvideoframe.c \
     21 			mixvideorenderparams.c \
     22 			mixdisplayx11.c \
     23 			mixvideocaps.c \
     24 			mixvideodecodeparams.c \
     25 			mixvideoinitparams.c \
     26 			mixvideoformat.c \
     27 			mixvideoformat_h264.c \
     28 			mixvideoformat_vc1.c \
     29 			mixvideoformat_mp42.c \
     30 			mixsurfacepool.c \
     31 			mixframemanager.c \
     32 			mixbufferpool.c \
     33 			mixbuffer.c \
     34 			mixvideoformatenc.c \
     35 			mixvideoformatenc_h264.c \
     36 			mixvideoformatenc_mpeg4.c \
     37 			mixvideoformatenc_preview.c \
     38 			mixvideoconfigparamsenc.c \
     39 			mixvideoconfigparamsenc_h264.c \
     40 			mixvideoconfigparamsenc_mpeg4.c \
     41 			mixvideoconfigparamsenc_preview.c \
     42 			mixvideoencodeparams.c
     43 
     44 if MIXLOG_ENABLED
     45 MIXLOG_CFLAGS = -DMIX_LOG_ENABLE
     46 else
     47 MIXLOG_CFLAGS =
     48 endif
     49 
     50 
     51 # flags used to compile this plugin
     52 # add other _CFLAGS and _LIBS as needed
     53 libmixvideo_la_CFLAGS = $(GLIB_CFLAGS) \
     54 			$(MIX_CFLAGS) \
     55 			$(MIXLOG_CFLAGS) \
     56 			$(GOBJECT_CFLAGS) \
     57 			$(GTHREAD_CFLAGS) \
     58 			$(LIBVA_CFLAGS) \
     59 			$(LIBVA_X11_CFLAGS) \
     60 			$(MIXCOMMON_CFLAGS) \
     61 			$(MIXVBP_CFLAGS) \
     62 			-DMIXVIDEO_CURRENT=@MIXVIDEO_CURRENT@ \
     63 			-DMIXVIDEO_AGE=@MIXVIDEO_AGE@ \
     64 			-DMIXVIDEO_REVISION=@MIXVIDEO_REVISION@
     65 
     66 libmixvideo_la_LIBADD = $(GLIB_LIBS) \
     67 			$(GOBJECT_LIBS) \
     68 			$(GTHREAD_LIBS) \
     69 			$(LIBVA_LIBS) \
     70 			$(LIBVA_X11_LIBS) \
     71 			$(MIXCOMMON_LIBS) \
     72 			$(MIXVBP_LIBS)
     73 
     74 libmixvideo_la_LDFLAGS = $(GLIB_LIBS) \
     75 			$(GOBJECT_LIBS) \
     76 			$(GTHREAD_LIBS) \
     77 			$(LIBVA_LIBS) \
     78 			$(LIBVA_X11_LIBS) \
     79 			$(MIXCOMMON_LIBS) \
     80 			$(MIXVBP_LIBS) \
     81 			-version-info @MIXVIDEO_CURRENT@:@MIXVIDEO_REVISION@:@MIXVIDEO_AGE@
     82 	
     83 libmixvideo_la_LIBTOOLFLAGS = --tag=disable-static
     84 
     85 # headers we need but don't want installed
     86 noinst_HEADERS = mixvideoformat.h \
     87 		mixvideoformat_h264.h \
     88 		mixvideoformat_vc1.h \
     89 		mixvideoformat_mp42.h \
     90 		mixsurfacepool.h \
     91 		mixvideoframe_private.h \
     92 		mixbuffer_private.h \
     93 		mixframemanager.h \
     94 		mixbufferpool.h \
     95 		mixvideoformatqueue.h \
     96 		mixvideo_private.h \
     97 		mixvideorenderparams_internal.h \
     98 		mixvideoformatenc_h264.h \
     99 		mixvideoformatenc_mpeg4.h \
    100 		mixvideoformatenc_preview.h \
    101 		mixvideoformatenc.h \
    102 		mixvideolog.h
    103 
    104 # TODO: decide whehter a /usr/include/mix is needed for mix headers
    105 mixincludedir=$(includedir)/mix
    106 mixinclude_HEADERS = mixvideodef.h \
    107 			mixdisplayx11.h \
    108 			mixvideoconfigparams.h \
    109 			mixvideoconfigparamsdec.h \
    110 			mixvideoconfigparamsdec_vc1.h \
    111 			mixvideoconfigparamsdec_h264.h \
    112 			mixvideoconfigparamsdec_mp42.h \
    113 			mixvideoframe.h \
    114 			mixvideoinitparams.h \
    115 			mixdisplay.h \
    116 			mixdrmparams.h \
    117 			mixvideocaps.h \
    118 			mixvideodecodeparams.h \
    119 			mixvideoencodeparams.h \
    120 			mixvideo.h \
    121 			mixvideorenderparams.h \
    122 			mixbuffer.h \
    123 			mixvideoconfigparamsenc_h264.h \
    124 			mixvideoconfigparamsenc_mpeg4.h \
    125 			mixvideoconfigparamsenc_preview.h \
    126 			mixvideoconfigparamsenc.h
    127 
    128 
    129 mixintincludedir=$(includedir)/mixvideoint
    130 mixintinclude_HEADERS = mixvideoformat.h \
    131                         mixframemanager.h \
    132                         mixsurfacepool.h \
    133                         mixbufferpool.h \
    134                         mixvideoformatqueue.h \
    135                         mixvideoframe_private.h \
    136 			mixvideoformat_vc1.h
    137