1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/graphics/hdf5/files/hdf/util/Makefile
Steve Price b0628da359 Update to version 4.1r3.
PR:		14717
Submitted by:	maintainer
1999-11-14 02:32:21 +00:00

31 lines
790 B
Makefile

# $FreeBSD$
UTILS = hdf24to8 hdfcomp hdfls hdfpack hdftopal hdftor8 paltohdf \
r8tohdf ristosds vmake vshow hdf8to24 hdf2jpeg jpeg2hdf fp2hdf \
hdfunpac vcompat
all: ${UTILS} hdfed
HEOBJ = he_main.o he_cntrl.o he_disp.o he_file.o
#CFLAGS += -I${PREFIX}/include -I${.CURDIR}/../src/
CFLAGS += -I${.CURDIR}/../src/
#LDFLAGS += -L${PREFIX}/lib -ljpeg -L${.CURDIR}/../src/ -ldf -lz
LDFLAGS += -L${.CURDIR}/../src/ -ldf
hdfed: he.h he_proto.h $(HEOBJ)
$(CC) $(HEOBJ) $(LDFLAGS) -o hdfed
test: all fptest
env LD_LIBRARY_PATH=${.CURDIR}/../src ./testutil.sh
clean:
-rm -f *.o $(UTILS) hdfed fptest
-rm -f o* ctx* cb* fptestf .depend
depend:
mkdep ${CFLAGS} ${UTILS:S/$/.c/g} ${HEOBJ:S/.o/.c/g}
install: all
install -c -s -o root -g wheel -m 555 ${UTILS} hdfed ${BINDIR}