diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-10-17 21:23:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-10-17 21:23:20 (GMT) |
commit | f71aa7cb6c60a94190fd8039c31a24fa994643e3 (patch) | |
tree | d510698fa9d9ba8e578ed505b9b675f9815dc55e | |
parent | 2011215517e50ae231f89c9d24ce826d76315e00 (diff) | |
download | hdf5-f71aa7cb6c60a94190fd8039c31a24fa994643e3.zip hdf5-f71aa7cb6c60a94190fd8039c31a24fa994643e3.tar.gz hdf5-f71aa7cb6c60a94190fd8039c31a24fa994643e3.tar.bz2 |
[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)
-rw-r--r-- | pablo/Makefile.in | 18 |
1 files 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 . |