Home | History | Annotate | Download | only in src
      1 EXTRA_DIST=Versions
      2 COMPATNUM=@LIBTOOL_VERSION_INFO@
      3 
      4 if VERSIONED_SYMBOLS
      5 VSYMS = -Wl,--version-script=Versions
      6 else
      7 VSYMS =
      8 endif
      9 
     10 if SYMBOLIC_FUNCTIONS
     11 SYMFUNCS = -Wl,-Bsymbolic-functions
     12 else
     13 SYMFUNCS =
     14 endif
     15 
     16 lib_LTLIBRARIES = libasound.la
     17 libasound_la_SOURCES = conf.c confmisc.c input.c output.c async.c error.c dlmisc.c socket.c shmarea.c userfile.c names.c
     18 
     19 SUBDIRS=control
     20 libasound_la_LIBADD = control/libcontrol.la
     21 if BUILD_MIXER
     22 SUBDIRS += mixer
     23 libasound_la_LIBADD += mixer/libmixer.la
     24 endif
     25 if BUILD_PCM
     26 SUBDIRS += pcm timer
     27 libasound_la_LIBADD += pcm/libpcm.la timer/libtimer.la
     28 endif
     29 if BUILD_RAWMIDI
     30 SUBDIRS += rawmidi
     31 libasound_la_LIBADD += rawmidi/librawmidi.la
     32 endif
     33 if BUILD_HWDEP
     34 SUBDIRS += hwdep
     35 libasound_la_LIBADD += hwdep/libhwdep.la
     36 endif
     37 if BUILD_SEQ
     38 SUBDIRS += seq
     39 libasound_la_LIBADD += seq/libseq.la
     40 endif
     41 if BUILD_ALISP
     42 SUBDIRS += alisp
     43 libasound_la_LIBADD += alisp/libalisp.la
     44 endif
     45 SUBDIRS += compat conf
     46 libasound_la_LIBADD += compat/libcompat.la @ALSA_DEPLIBS@
     47 
     48 libasound_la_LDFLAGS = -version-info $(COMPATNUM) $(VSYMS) $(SYMFUNCS) $(LDFLAGS_NOUNDEFINED)
     49 
     50 control/libcontrol.la:
     51 	$(MAKE) -C control libcontrol.la
     52 
     53 mixer/libmixer.la:
     54 	$(MAKE) -C mixer libmixer.la
     55 
     56 ordinary_mixer/libordinarymixer.la:
     57 	$(MAKE) -C ordinary_mixer libordinarymixer.la
     58 
     59 pcm/libpcm.la:
     60 	$(MAKE) -C pcm libpcm.la
     61 
     62 ordinary_pcm/libordinarypcm.la:
     63 	$(MAKE) -C ordinary_pcm libordinarypcm.la
     64 
     65 rawmidi/librawmidi.la:
     66 	$(MAKE) -C rawmidi librawmidi.la
     67 
     68 timer/libtimer.la:
     69 	$(MAKE) -C timer libtimer.la
     70 
     71 hwdep/libhwdep.la:
     72 	$(MAKE) -C hwdep libhwdep.la
     73 
     74 seq/libseq.la:
     75 	$(MAKE) -C seq libseq.la
     76 
     77 instr/libinstr.la:
     78 	$(MAKE) -C instr libinstr.la
     79 
     80 compat/libcompat.la:
     81 	$(MAKE) -C compat libcompat.la
     82 
     83 alisp/libalisp.la:
     84 	$(MAKE) -C alisp libalisp.la
     85 
     86 INCLUDES=-I$(top_srcdir)/include
     87