Home | History | Annotate | Download | only in pcm
      1 SUBDIRS =
      2 DIST_SUBDIRS = scopes
      3 
      4 EXTRA_LTLIBRARIES = libpcm.la
      5 
      6 libpcm_la_SOURCES = atomic.c mask.c interval.c \
      7 		    pcm.c pcm_params.c pcm_simple.c \
      8 		    pcm_hw.c pcm_misc.c pcm_mmap.c pcm_symbols.c
      9 
     10 if BUILD_PCM_PLUGIN
     11 libpcm_la_SOURCES += pcm_generic.c pcm_plugin.c
     12 endif
     13 if BUILD_PCM_PLUGIN_COPY
     14 libpcm_la_SOURCES += pcm_copy.c
     15 endif
     16 if BUILD_PCM_PLUGIN_LINEAR
     17 libpcm_la_SOURCES += pcm_linear.c
     18 endif
     19 if BUILD_PCM_PLUGIN_ROUTE
     20 libpcm_la_SOURCES += pcm_route.c
     21 endif
     22 if BUILD_PCM_PLUGIN_MULAW
     23 libpcm_la_SOURCES += pcm_mulaw.c
     24 endif
     25 if BUILD_PCM_PLUGIN_ALAW
     26 libpcm_la_SOURCES += pcm_alaw.c
     27 endif
     28 if BUILD_PCM_PLUGIN_ADPCM
     29 libpcm_la_SOURCES += pcm_adpcm.c
     30 endif
     31 if BUILD_PCM_PLUGIN_RATE
     32 libpcm_la_SOURCES += pcm_rate.c pcm_rate_linear.c
     33 endif
     34 if BUILD_PCM_PLUGIN_PLUG
     35 libpcm_la_SOURCES += pcm_plug.c
     36 endif
     37 if BUILD_PCM_PLUGIN_MULTI
     38 libpcm_la_SOURCES += pcm_multi.c
     39 endif
     40 if BUILD_PCM_PLUGIN_SHM
     41 libpcm_la_SOURCES += pcm_shm.c
     42 endif
     43 if BUILD_PCM_PLUGIN_FILE
     44 libpcm_la_SOURCES += pcm_file.c
     45 endif
     46 if BUILD_PCM_PLUGIN_NULL
     47 libpcm_la_SOURCES += pcm_null.c
     48 endif
     49 if BUILD_PCM_PLUGIN_EMPTY
     50 libpcm_la_SOURCES += pcm_empty.c
     51 endif
     52 if BUILD_PCM_PLUGIN_SHARE
     53 libpcm_la_SOURCES += pcm_share.c
     54 endif
     55 if BUILD_PCM_PLUGIN_METER
     56 libpcm_la_SOURCES += pcm_meter.c
     57 endif
     58 if BUILD_PCM_PLUGIN_HOOKS
     59 libpcm_la_SOURCES += pcm_hooks.c
     60 endif
     61 if BUILD_PCM_PLUGIN_LFLOAT
     62 libpcm_la_SOURCES += pcm_lfloat.c
     63 endif
     64 if BUILD_PCM_PLUGIN_LADSPA
     65 libpcm_la_SOURCES += pcm_ladspa.c
     66 endif
     67 if BUILD_PCM_PLUGIN_DMIX
     68 libpcm_la_SOURCES += pcm_dmix.c
     69 endif
     70 if BUILD_PCM_PLUGIN_DSHARE
     71 libpcm_la_SOURCES += pcm_dshare.c
     72 endif
     73 if BUILD_PCM_PLUGIN_DSNOOP
     74 libpcm_la_SOURCES += pcm_dsnoop.c
     75 endif
     76 if BUILD_PCM_PLUGIN_DMIX
     77 libpcm_la_SOURCES += pcm_direct.c
     78 else
     79 if BUILD_PCM_PLUGIN_DSHARE
     80 libpcm_la_SOURCES += pcm_direct.c
     81 else
     82 if BUILD_PCM_PLUGIN_DSNOOP
     83 libpcm_la_SOURCES += pcm_direct.c
     84 endif
     85 endif
     86 endif
     87 if BUILD_PCM_PLUGIN_ASYM
     88 libpcm_la_SOURCES += pcm_asym.c
     89 endif
     90 if BUILD_PCM_PLUGIN_IEC958
     91 libpcm_la_SOURCES += pcm_iec958.c
     92 endif
     93 if BUILD_PCM_PLUGIN_SOFTVOL
     94 libpcm_la_SOURCES += pcm_softvol.c
     95 endif
     96 if BUILD_PCM_PLUGIN_EXTPLUG
     97 libpcm_la_SOURCES += pcm_extplug.c
     98 endif
     99 if BUILD_PCM_PLUGIN_IOPLUG
    100 libpcm_la_SOURCES += pcm_ioplug.c
    101 endif
    102 if BUILD_PCM_PLUGIN_MMAP_EMUL
    103 libpcm_la_SOURCES += pcm_mmap_emul.c
    104 endif
    105 
    106 EXTRA_DIST = pcm_dmix_i386.c pcm_dmix_x86_64.c pcm_dmix_generic.c
    107 
    108 noinst_HEADERS = pcm_local.h pcm_plugin.h mask.h mask_inline.h \
    109 	         interval.h interval_inline.h plugin_ops.h ladspa.h \
    110 		 pcm_direct.h pcm_dmix_i386.h pcm_dmix_x86_64.h \
    111 		 pcm_generic.h pcm_ext_parm.h
    112 
    113 alsadir = $(datadir)/alsa
    114 
    115 all: libpcm.la
    116 
    117 INCLUDES=-I$(top_srcdir)/include
    118