| 1 |
# .COPYRIGHT: Copyright (c) 1988-2005 European Southern Observatory, |
| 2 |
# all rights reserved |
| 3 |
# .TYPE make file |
| 4 |
# .NAME $MIDASHOME/$MIDVERS/prim/lib/tc3/makefile |
| 5 |
# .LANGUAGE makefile syntax |
| 6 |
# .ENVIRONMENT Unix Systems. |
| 7 |
# .COMMENT Compiles source files and generates library libtc3.a |
| 8 |
# |
| 9 |
# .REMARKS |
| 10 |
# .AUTHOR Francois Ochsenbein |
| 11 |
# .VERSION 1.1 05-Apr-1989: Implementation |
| 12 |
# .VERSION 1.2 29-Mar-1990: Use -O (Optimize) option |
| 13 |
# .VERSION 2.3 920521: Removing MLIB CG |
| 14 |
# .VERSION 3.0 930308: Using default.mk file |
| 15 |
# 990212: PN tratime.o removed from OBJ0 to avoid Y2K problem |
| 16 |
# 990215: PN more unnecessary stuff removed from OBJ0 |
| 17 |
# 990222: CG even more unnecessary stuff removed |
| 18 |
# 051110 last modif |
| 19 |
|
| 20 |
include ../../../local/default.mk |
| 21 |
|
| 22 |
OBJ0 = traf.o tral.o trpic.o trfpic.o trerror.o \ |
| 23 |
error.o trace.o edpic.o edtab.o edtime.o trtime.o |
| 24 |
|
| 25 |
OBJ1 = atex.o buffer.o file.o file2.o filop.o \ |
| 26 |
hash.o memory.o str1.o str2.o tex.o |
| 27 |
MLIB = -lm |
| 28 |
|
| 29 |
LIBOUT= $(LIBDIR)/libtc3.a |
| 30 |
|
| 31 |
|
| 32 |
# DEPENDENCIES: |
| 33 |
all: $(MAKEFILE_VMS) $(LIBOUT) |
| 34 |
|
| 35 |
$(MAKEFILE_VMS): makefile |
| 36 |
$(MAKE_VMS) |
| 37 |
|
| 38 |
$(LIBOUT): $(OBJ0) $(OBJ1) |
| 39 |
$(AR) $(AR_OPT) $(LIBOUT) $(OBJ0) |
| 40 |
$(AR) $(AR_OPT) $(LIBOUT) $(OBJ1) |
| 41 |
$(RANLIB) $(LIBOUT) |
| 42 |
|
| 43 |
clean: |
| 44 |
rm -f $(OBJ0) |
| 45 |
rm -f $(OBJ1) |