X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=827d04f9f7415a698bb9e520dc7c06e6a416084d;hp=77e69a697a7d02aa43e046890b816bee22e273dc;hb=d2765e8ef91706453cdc6ed3fde89baf56ac718a;hpb=09a476c2a46e443814c48947644832e66b167cd8 diff --git a/Makefile.in b/Makefile.in index 77e69a69..827d04f9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -26,12 +26,15 @@ DEBUG_CPPFLAGS += -Wredundant-decls # many warnings about trivial stuff # CPPFLAGS += -Wconversion -LDFLAGS += -Wl,--gc-sections - +ifeq ($(uname_S),Linux) + CPPFLAGS += -fdata-sections -ffunction-sections + LDFLAGS += -Wl,--gc-sections + CPPFLAGS += -Wstrict-prototypes + CPPFLAGS += -Wshadow +endif CPPFLAGS += -Os CPPFLAGS += -Wall CPPFLAGS += -Wuninitialized -CPPFLAGS += -Wstrict-prototypes CPPFLAGS += -Wchar-subscripts CPPFLAGS += -Wformat-security CPPFLAGS += -DBINDIR='"$(BINDIR)"' @@ -42,12 +45,11 @@ CPPFLAGS += -DCC_VERSION='"$(cc_version)"' CPPFLAGS += -Werror-implicit-function-declaration CPPFLAGS += -Wmissing-format-attribute CPPFLAGS += -Wunused-macros -CPPFLAGS += -Wshadow CPPFLAGS += -Wbad-function-cast -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)