]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - Makefile.real
build: Construct write object list in Makefile.
[paraslash.git] / Makefile.real
index 50b9ee5be6fca5afd4327aadd17dc810dbcbc82a..67107744e3234e5cad3a0f3dbfc8ec2a2a9777c1 100644 (file)
@@ -265,6 +265,19 @@ ifeq ($(HAVE_SAMPLERATE),yes)
        play_objs += resample_filter.o check_wav.o
 endif
 
+write_objs := $(addsuffix .o, write write_common file_write time fd \
+       string sched stdin buffer_tree check_wav version)
+ifeq ($(NEED_AO_OBJECTS),yes)
+       write_objs += ao_write.o
+endif
+ifeq ($(HAVE_OSS),yes)
+       write_objs += oss_write.o
+endif
+ifeq ($(HAVE_ALSA),yes)
+       write_objs += alsa_write.o
+endif
+
+
 # sort removes duplicate words, which is all we need here
 all_objs := $(sort $(recv_objs) $(filter_objs) $(client_objs) $(gui_objs) \
        $(audiod_objs) $(audioc_objs) $(mixer_objs) $(server_objs) \