Add new status items num_chunks and chunk_time.
[paraslash.git] / Makefile.in
index fee1bdef5f4797a702c9e9d2db6437cc78fe9cd5..c5d5027a09858b256660b18fb67bb26efe34d5c4 100644 (file)
@@ -26,7 +26,8 @@ DEBUG_CPPFLAGS += -Wredundant-decls
 # many warnings about trivial stuff
 # CPPFLAGS += -Wconversion
 
-LDFLAGS += -Wl,--gc-sections
+# uncomment this if your compiler supports it
+# LDFLAGS += -Wl,--gc-sections
 
 CPPFLAGS += -Os
 CPPFLAGS += -Wall
@@ -48,6 +49,7 @@ CPPFLAGS += -fdata-sections -ffunction-sections
 CPPFLAGS += -DMAIN_INPUT_FILE_IS_$(*F)
 CPPFLAGS += @SSL_CPPFLAGS@
 CPPFLAGS += @ncurses_cppflags@
+CPPFLAGS += @arch_cppflags@
 
 BINARIES = para_server para_client para_audioc para_recv \
        para_filter para_write para_fsck @extra_binaries@
@@ -222,8 +224,8 @@ maintainer-clean: distclean
        rm -f $(gengetopts_c) $(gengetopts_h) *.tar.bz2 \
                config.h configure \
                config.h.in skencil/*.pdf skencil/*.ps
-       rm -f *_command_list.* *.man man/man1/* web_sync
-
+       rm -f *_command_list.* *.man man/man1/*
+       rm -rf web_sync
 
 install: all man
        mkdir -p $(BINDIR) $(MANDIR)
@@ -244,3 +246,8 @@ install: all man
        bzip2 -9 $(tarball_pfx).tar
        rm -f $(tarball_pfx).tar
        ls -l $(tarball_pfx).tar.bz2
+%.ps: %.sk
+       sk2ps $< > $@
+%.pdf: %.ps
+       ps2pdf - - < $< > $@
+