From f71aa7cb6c60a94190fd8039c31a24fa994643e3 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 17 Oct 2000 16:23:20 -0500 Subject: [svn-r2690] Purpose: Bug fix Description: Non-portable constructs are causing make to fail on some machines. Solution: Replaced ":=" assignments with "=" assignments. Platforms tested: Solaris 2.6 (baldric) & gmake Solaris 2.7 (arabica) & make (a SYSV make) FreeBSD 4.1.1 (hawkwind) & make (a BSD make) --- pablo/Makefile.in | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pablo/Makefile.in b/pablo/Makefile.in index 532fa5a..0e50001 100644 --- a/pablo/Makefile.in +++ b/pablo/Makefile.in @@ -23,18 +23,24 @@ PABLO_FLAGS = -I. -I../src -I$(PABLO_INC) -DHAVE_PABLO $(PABLO_MPIO_FLAGS) ## This is our main target: LIB=libhdf5-inst.a -SRCDIRS := ./. ../src/. +#SRCDIRS := ./. ../src/. +SRCDIRS = ./. ../src/. # Took out the GNU'isms for the SRCFILES and LIB_SRC variables. # This may cause problems in two ways: any changes to the SRCDIRS variable # should be make to the SRCFILES macro also and the LIB_SRC variable now has # directory paths included in it (which may cause problems somewhere). - QAK #SRCFILES := $(foreach DIR,$(SRCDIRS),$(wildcard $(DIR)/*.c)) -SRCFILES := *.c ../src/*.c +#SRCFILES := *.c ../src/*.c +SRCFILES = *.c ../src/*.c #LIB_SRC := $(notdir $(SRCFILES)) -LIB_SRC := $(SRCFILES) -LIB_COBJ := $(LIB_SRC:.c=.o) -LIB_FOBJ := PabloHDFff.o -LIB_OBJ := $(LIB_FOBJ) $(LIB_COBJ) +#LIB_SRC := $(SRCFILES) +LIB_SRC = $(SRCFILES) +#LIB_COBJ := $(LIB_SRC:.c=.o) +LIB_COBJ = $(LIB_SRC:.c=.o) +#LIB_FOBJ := PabloHDFff.o +LIB_FOBJ = PabloHDFff.o +#LIB_OBJ := $(LIB_FOBJ) $(LIB_COBJ) +LIB_OBJ = $(LIB_FOBJ) $(LIB_COBJ) copy_src: cp ../src/*.c . -- cgit v0.12