chiark / gitweb /
further empeg support
[disorder] / lib / Makefile.am
index 23590e7b27136de1abbd2b623f69a005990b069e..0216f05d7d3515389241398e13d59e4299b75dc2 100644 (file)
@@ -36,7 +36,9 @@ libdisorder_a_SOURCES=charset.c charset.h             \
        eventlog.c eventlog.h                           \
        filepart.c filepart.h                           \
        hash.c hash.h                                   \
+       heap.h                                          \
        hex.c hex.h                                     \
+       ifreq.c ifreq.h                                 \
        inputline.c inputline.h                         \
        kvp.c kvp.h                                     \
        log.c log.h log-impl.h                          \
@@ -53,7 +55,7 @@ libdisorder_a_SOURCES=charset.c charset.h             \
        selection.c selection.h                         \
        signame.c signame.h                             \
        sink.c sink.h                                   \
-       speaker.c speaker.h                             \
+       speaker-protocol.c speaker-protocol.h           \
        split.c split.h                                 \
        syscalls.c syscalls.h                           \
        types.h                                         \
@@ -64,6 +66,7 @@ libdisorder_a_SOURCES=charset.c charset.h             \
        utf8.h utf8.c                                   \
        vacopy.h                                        \
        vector.c vector.h                               \
+       wav.h wav.c                                     \
        words.c words.h casefold.h unicodegc.h          \
        wstat.c wstat.h                                 \
        disorder.h
@@ -77,7 +80,9 @@ definitions.h: Makefile
        echo "#define SBINDIR \"${sbindir}/\"" >> $@.new
        echo "#define BINDIR \"${bindir}/\"" >> $@.new
        echo "#define FINKBINDIR \"${finkbindir}/\"" >> $@.new
-       mv $@.new $@
+       @if cmp $@.new $@; then \
+               echo rm -f $@.new; rm -f $@.new; else \
+               echo mv $@.new $@; mv $@.new $@; fi
 defs.o: definitions.h
 defs.lo: definitions.h
 
@@ -92,4 +97,4 @@ check: test #test.i
        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) -c $< > $@.new
        mv $@.new $@
 
-CLEANFILES=definitions.h
+CLEANFILES=definitions.h definitions.h.new