1
# % @(#)makefile 17.1 (ESO-IPG) 01/25/02 17:39:03
2
# .COPYRIGHT: Copyright (c) 1988 European Southern Observatory,
5
# .NAME $MIDASHOME/$MIDVERS/prim/lib/dio/makefile
6
# .LANGUAGE makefile syntax
7
# .ENVIRONMENT Unix Systems.
8
# .COMMENT Compiles source files and generates "libdio.a" library.
10
# .AUTHOR Carlos Guirao
11
# .VERSION 1.1 31-Aug-1988: Implementation
12
# .VERSION 1.2 04-Jan-1989: Generating makefile.com for VMS systems
15
include ../../../local/default.mk
17
CFLAGS = $(C_OPT) $(DEBUG) $(MEM_OPT) $(SH_OPT) $(SYS) -I$(INC)
20
LIB = $(LIBDIR)/libdio.a
22
OBJ0 = fitsrhd.o fitsthd.o fitsrkw.o fitsckw.o \
23
fitsrdm.o fitsrdmNUL.o fitsrdmui2.o fitsrat.o fitsrbt.o fitssxd.o \
26
OBJ1 = fitswkw.o fitswmd.o fitswhd.o fitswdm.o \
27
fitswat.o fitswbt.o fitstkw.o fitswdb.o \
28
fitshkw.o fitshdr.o fitsmdb.o fitsinf.o
30
OBJ2 = cvb.o dataio.o ofname.o dclist.o fkwstr.o \
31
getval.o getint.o f77fmt.o datecvt.o txtfile.o
33
OBJ = $(OBJ0) $(OBJ1) $(OBJ2)
36
all: $(MAKEFILE_VMS) $(LIB)
38
$(MAKEFILE_VMS): makefile
42
$(AR) $(AR_OPT) $(LIB) $(OBJ0)
43
$(AR) $(AR_OPT) $(LIB) $(OBJ1)
44
$(AR) $(AR_OPT) $(LIB) $(OBJ2)
47
$(OBJ): $(INC)/computer.h \