1
# .COPYRIGHT: Copyright (c) 1988-2006 European Southern Observatory,
4
# .NAME $MIDASHOME/$MIDVERS/libsrc/ftoc/makefile
5
# .LANGUAGE makefile syntax
6
# .ENVIRONMENT Unix Systems.
7
# .COMMENT Compiles source files and generates "libftoc.a" library
10
# .AUTHOR Carlos Guirao
11
# .VERSION 1.1 880831: Implementation
12
# .VERSION 1.2 890104: Generating makefile.com for VMS systems
13
# .VERSION 2.1 901203: New directory structure. CG
14
# .VERSION 2.2 920904: Adding SHSYS for share libraries. CG.
15
# .VERSION 3.0 930308: Using default.mk file
20
include ../../local/default.mk
22
CFLAGS = $(C_OPT) $(DEBUG) $(SH_OPT) $(SYS) -I$(INC)
24
LIB = $(LIBDIR)/libftoc.a
28
OBJ0= ftoc.o tbc.o tbd.o tbe.o tba.o tbm.o tbr.o tbt.o
30
OBJ1= stc.o stca.o stcb.o stcc.o stcd.o stce.o \
31
std.o stda.o stdb.o stdd.o ste.o
33
OBJ2= stf.o stfa.o stfb.o stfc.o stfd.o stfe.o stfx.o \
34
sti.o stia.o stk.o stka.o stkb.o stp.o sts.o stsa.o \
35
stt.o stta.o genftoca.o genftocb.o vmr.o
39
# The VMS makefile.com is created by hand. CG/JP
40
#all: $(MAKEFILE_VMS) $(LIB)
43
$(MAKEFILE_VMS): makefile
46
$(LIB): $(OBJ0) $(OBJ1) $(OBJ2)
47
$(AR) $(AR_OPT) $(LIB) $(OBJ0)
48
$(AR) $(AR_OPT) $(LIB) $(OBJ1)
49
$(AR) $(AR_OPT) $(LIB) $(OBJ2)
57
$(RM) $(OBJ0) $(OBJ1) $(OBJ2)