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 = libmixaudio.la 
      9 #noinst_LTLIBRARIES = libmixaudio_stub.la
     10 
     11 ##############################################################################
     12 # sources used to compile
     13 libmixaudio_la_SOURCES = mixaudio.c \
     14 	sst_proxy.c \
     15 	mixaip.c \
     16 	mixacp.c \
     17 	mixacpmp3.c \
     18 	mixacpwma.c \
     19 	mixacpaac.c 
     20 
     21 # flags used to compile this plugin
     22 # add other _CFLAGS and _LIBS as needed
     23 libmixaudio_la_CFLAGS = $(DBUS_GLIB_CFLAGS) $(GLIB_CFLAGS) $(MIX_CFLAGS) $(GOBJECT_CFLAGS) $(GTHREAD_CFLAGS) -DMIXAUDIO_CURRENT=@MIXAUDIO_CURRENT@ -DMIXAUDIO_AGE=@MIXAUDIO_AGE@ -DMIXAUDIO_REVISION=@MIXAUDIO_REVISION@ $(MIXCOMMON_CFLAGS) -DMIX_LOG_ENABLE
     24 libmixaudio_la_LIBADD = $(DBUS_GLIB_LIBS) $(GLIB_LIBS) $(GOBJECT_LIBS) $(GTHREAD_LIBS) $(MIXCOMMON_LIBS)
     25 libmixaudio_la_LDFLAGS = $(DBUS_GLIB_LIBS)$(GLIB_LIBS) $(GOBJECT_LIBS) $(GTHREAD_LIBS) -version-info @MIXAUDIO_CURRENT@:@MIXAUDIO_REVISION@:@MIXAUDIO_AGE@ $(MIXCOMMON_LIBS)
     26 
     27 libmixaudio_la_LIBTOOLFLAGS = --tag=disable-static 
     28 
     29 # additional flags to enable backdoor or workaround
     30 if LPESTUB
     31 libmixaudio_la_CFLAGS += -DLPESTUB
     32 endif
     33 
     34 if WORKAROUND
     35 libmixaudio_la_CFLAGS += -DDROP_WORKAROUND
     36 endif
     37 
     38 #libmixaudio_stub_la_SOURCES = $(libmixaudio_la_SOURCES)
     39 #libmixaudio_stub_la_CFLAGS = $(libmixaudio_la_CFLAGS) -DLPESTUB
     40 #libmixaudio_stub_la_LIBADD = $(libmixaudio_la_LIBADD)
     41 #libmixaudio_stub_la_LDFLAGS = $(libmixaudio_la_LDFLAGS)
     42 #libmixaudio_stub_la_LIBTOOLFLAGS = $(libmixaudio_la_LIBTOOLFLAGS)
     43 
     44 # headers we need but don't want installed
     45 noinst_HEADERS = intel_sst_ioctl.h sst_proxy.h pvt.h amhelper.h
     46 
     47 # TODO: decide whehter a /usr/include/mix is needed for mix headers
     48 include_HEADERS = mixaudio.h \
     49 	mixaudiotypes.h \
     50 	mixaip.h \
     51 	mixacp.h \
     52 	mixacpmp3.h \
     53 	mixacpwma.h \
     54 	mixacpaac.h 
     55 
     56 if AUDIO_MANAGER
     57 libmixaudio_la_CFLAGS += -DAUDIO_MANAGER
     58 libmixaudio_la_SOURCES += amhelper.c 
     59 #include_HEADERS += amhelper.h
     60 endif
     61 
     62