Debian Codegraph @

libsrc/tbl/makefile

raw
1 # .COPYRIGHT: Copyright (c) 1988-2005 European Southern Observatory,
2 # all rights reserved
3 # .TYPE Make file
4 # .NAME $MIDASHOME/$MIDVERS/libsrc/tbl/makefile
5 # .LANGUAGE makefile syntax
6 # .ENVIRONMENT Unix Systems.
7 # .COMMENT Compiles source files and generates "libtbl.a" library.
8 #
9 # .REMARKS
10 #
11 # .AUTHOR D. Ponz & C. Guirao
12 # .VERSION 1.1 881005: Implementation
13 # .VERSION 1.2 890404: Generating makefile.com for VMS systems
14 # .VERSION 2.1 901203: New directory structure. CG
15 # .VERSION 2.2 920521: Removing MLIB CG
16 # .VERSION 2.4 920904: Adding SHSYS for share libraries. CG.
17 # .VERSION 3.0 930308: Using default.mk file
18 #
19 # 051111 last modif
20
21
22 include ../../local/default.mk
23
24 CFLAGS += $(C_OPT) $(SH_OPT) $(DEBUG) $(SYS) -I$(INC)
25 FFLAGS += $(SH_OPT)
26
27 HEADT = $(INC)/tblsys.h $(INC)/tbldef.h $(INC)/tblerr.h
28
29 LIB = $(LIBDIR)/libtbl.a
30
31 OBJ = tca.o tcc.o tcd.o tce.o tcm.o tcr.o tct.o tctold.o \
32 tz0.o tz1.o tz2.o tz3.o tz4.o tz5.o tz6.o tz8.o tz9.o str1.o
33
34
35 # DEPENDENCIES:
36 all: $(MAKEFILE_VMS) $(LIB)
37
38 $(MAKEFILE_VMS): makefile
39 $(MAKE_VMS)
40
41 $(LIB): $(OBJ)
42 $(AR) $(AR_OPT) $(LIB) $(OBJ)
43 $(RANLIB) $(LIB)
44
45 tca.o: $(HEADT) $(INC)/macrogen.h $(INC)/midas_def.h $(INC)/atype.h
46 tcc.o: $(HEADT) $(INC)/macrogen.h $(INC)/atype.h
47 tcd.o: $(HEADT) $(INC)/macrogen.h $(INC)/midas_def.h $(INC)/atype.h
48 tce.o: $(HEADT) $(INC)/macrogen.h $(INC)/midas_def.h $(INC)/atype.h
49 tcm.o: $(HEADT)
50 tcr.o: $(HEADT) $(INC)/macrogen.h $(INC)/atype.h
51 tct.o: $(HEADT) $(INC)/macrogen.h $(INC)/midas_def.h
52 tz0.o: $(HEADT) $(INC)/computer.h $(INC)/macrogen.h
53 tz1.o: $(HEADT) $(INC)/macrogen.h $(INC)/midas_def.h $(INC)/atype.h
54 tz2.o: $(HEADT) $(INC)/atype.h
55 tz3.o: $(HEADT) $(INC)/macrogen.h $(INC)/atype.h
56 tz4.o: $(HEADT)
57 tz5.o: $(HEADT) $(INC)/macrogen.h
58 tz6.o: $(HEADT) $(INC)/macrogen.h
59 tz8.o: $(HEADT) $(INC)/macrogen.h
60 tz9.o: $(HEADT) $(INC)/macrogen.h
61
62 clean:
63 rm -f $(OBJ)