chiark / gitweb /
even chattier logging
[disorder] / lib / Makefile.am
index f79435baaf794dcd55d20d3cde968c5d85de710a..e9b41f89055ecf967c745eae5eae5c0b7e6a1359 100644 (file)
@@ -38,6 +38,8 @@ libdisorder_a_SOURCES=charset.c charset.h             \
        hash.c hash.h                                   \
        heap.h                                          \
        hex.c hex.h                                     \
        hash.c hash.h                                   \
        heap.h                                          \
        hex.c hex.h                                     \
+       html.c html.h                                   \
+       ifreq.c ifreq.h                                 \
        inputline.c inputline.h                         \
        kvp.c kvp.h                                     \
        log.c log.h log-impl.h                          \
        inputline.c inputline.h                         \
        kvp.c kvp.h                                     \
        log.c log.h log-impl.h                          \
@@ -65,6 +67,7 @@ libdisorder_a_SOURCES=charset.c charset.h             \
        utf8.h utf8.c                                   \
        vacopy.h                                        \
        vector.c vector.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
        words.c words.h casefold.h unicodegc.h          \
        wstat.c wstat.h                                 \
        disorder.h
@@ -78,7 +81,9 @@ definitions.h: Makefile
        echo "#define SBINDIR \"${sbindir}/\"" >> $@.new
        echo "#define BINDIR \"${bindir}/\"" >> $@.new
        echo "#define FINKBINDIR \"${finkbindir}/\"" >> $@.new
        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
 
 defs.o: definitions.h
 defs.lo: definitions.h
 
@@ -93,4 +98,4 @@ check: test #test.i
        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) -c $< > $@.new
        mv $@.new $@
 
        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) -c $< > $@.new
        mv $@.new $@
 
-CLEANFILES=definitions.h
+CLEANFILES=definitions.h definitions.h.new