1
################################################################################
3
# makefile.osf1 - Make library of functions for reading and writing VAX format #
4
# data for Tru64 Unix. #
6
# Shell command syntax: make -f makefile.osf1 \ #
7
# [ CC="c_compiler" ] \ #
8
# [ CFLAGS="c_compiler_flags" ] \ #
9
# [ all | libvaxdata | clean ] #
12
# Author: Lawrence M. Baker #
13
# U.S. Geological Survey #
14
# 345 Middlefield Road MS977 #
15
# Menlo Park, CA 94025 #
18
# Citation: Baker, Lawrence M., 2005, libvaxdata: VAX Data Format Conver- #
19
# sion Routines, US Geological Survey, Open-File Report no. #
25
# Although this program has been used by the USGS, no warranty, expressed or #
26
# implied, is made by the USGS or the United States Government as to the #
27
# accuracy and functioning of the program and related program material, nor #
28
# shall the fact of distribution constitute any such warranty, and no #
29
# responsibility is assumed by the USGS in connection therewith. #
32
# Modification History: #
34
# 2-Sep-2005 L. M. Baker Original version (from make.libvfbb). #
35
# 12-Oct-2005 L. M. Baker Use custom compile rule for is_little_endian. #
37
################################################################################
40
# -O3 (highest level of optimization) -ansi (strict ANSI)
45
# -fast (optimize for speed) -std1 (strict ANSI)
49
# alpha on DEC/Compaq/HP Alpha
54
OBJS = from_vax_i2.o from_vax_i2_.o from_vax_i4.o \
55
from_vax_i4_.o from_vax_r4.o from_vax_r4_.o \
56
from_vax_d8.o from_vax_d8_.o from_vax_g8.o \
57
from_vax_g8_.o from_vax_h16.o from_vax_h16_.o \
58
to_vax_i2.o to_vax_i2_.o to_vax_i4.o \
59
to_vax_i4_.o to_vax_r4.o to_vax_r4_.o \
60
to_vax_d8.o to_vax_d8_.o to_vax_g8.o \
61
to_vax_g8_.o to_vax_h16.o to_vax_h16_.o \
62
is_little_endian.o is_little_endian_.o
69
test -d $(ARCH) || mkdir $(ARCH)
70
cd $(ARCH) ; $(MAKE) -f ../makefile.osf1 \
74
cd $(ARCH) ; $(RM) $(OBJS)
76
$(LIB_NAME).a: $(OBJS)
77
ar -r -c $(LIB_NAME).a $(OBJS)
87
cd $(ARCH) ; $(RM) -f $(LIB_NAME).a $(OBJS)