X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=0af8cdddc27fa5800d694c8d3ed8982a8d77166e;hp=827d04f9f7415a698bb9e520dc7c06e6a416084d;hb=36df09fbcf3f6e80cc0990bad92ec16a0d1b2a00;hpb=d2765e8ef91706453cdc6ed3fde89baf56ac718a diff --git a/Makefile.in b/Makefile.in index 827d04f9..0af8cddd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,17 +1,18 @@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ +prefix := @prefix@ +exec_prefix := @exec_prefix@ -BINDIR = @bindir@ -VARDIR = /var/paraslash -PKGDATADIR = @datarootdir@/@PACKAGE_NAME@ -MANDIR = @datarootdir@/man/man1 +BINDIR := @bindir@ +VARDIR := /var/paraslash +PKGDATADIR := @datarootdir@/@PACKAGE_NAME@ +MANDIR := @datarootdir@/man/man1 -install_sh = @install_sh@ +install_sh := @install_sh@ -build_date = $(shell date) -system = $(shell uname -rs) -cc_version = $(shell $(CC) --version | head -n 1) -codename = solar saturation +build_date := $(shell date) +uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS") +uname_rs := $(shell uname -rs) +cc_version := $(shell $(CC) --version | head -n 1) +codename := solar saturation DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W DEBUG_CPPFLAGS += -Wredundant-decls @@ -26,7 +27,7 @@ DEBUG_CPPFLAGS += -Wredundant-decls # many warnings about trivial stuff # CPPFLAGS += -Wconversion -ifeq ($(uname_S),Linux) +ifeq ($(uname_s),Linux) CPPFLAGS += -fdata-sections -ffunction-sections LDFLAGS += -Wl,--gc-sections CPPFLAGS += -Wstrict-prototypes @@ -39,7 +40,7 @@ CPPFLAGS += -Wchar-subscripts CPPFLAGS += -Wformat-security CPPFLAGS += -DBINDIR='"$(BINDIR)"' CPPFLAGS += -DBUILD_DATE='"$(build_date)"' -CPPFLAGS += -DSYSTEM='"$(system)"' +CPPFLAGS += -DUNAME_RS='"$(uname_rs)"' CPPFLAGS += -DCODENAME='"$(codename)"' CPPFLAGS += -DCC_VERSION='"$(cc_version)"' CPPFLAGS += -Werror-implicit-function-declaration @@ -71,8 +72,8 @@ all: $(BINARIES) man: $(man_pages) tarball: $(tarball) -fade_objs = fade.cmdline.o fade.o exec.o close_on_fork.o string.o fd.o -fsck_objs = osl.o rbtree.o fsck.o string.o sha1.o fsck.cmdline.o +fade_objs := fade.cmdline.o fade.o exec.o close_on_fork.o string.o fd.o +fsck_objs := osl.o rbtree.o fsck.o string.o sha1.o fsck.cmdline.o *.o: para.h config.h gcc-compat.h