Debian Codegraph @

util/tapeserv/makefile

raw symbols SCIP
1 # @(#)makefile 19.1 (ESO-IPG) 02/25/03 14:36:16
2 # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory,
3 # all rights reserved
4 # .TYPE make file
5 # .NAME $MIDASHOME/$MIDVERS/tapeserv/makefile
6 # .LANGUAGE makefile syntax
7 # .ENVIRONMENT Unix Systems.
8 # .COMMENT Compiles source files and generates the "inmtaped.exe" daemon
9 #
10 # .REMARKS
11 # .AUTHOR Carlos Guirao
12 # .VERSION 1.1 900202: Implementation
13 # .VERSION 3.0 930308: Using default.mk file
14
15 include ../../local/default.mk
16
17 M = ../exec
18
19 LIB = $(LIBDIR)/libmidas.a
20 RLIB = libmidas.a
21
22 OUT = $(M)/inmtaped.exe
23
24 OSHEADER = $(INC)/osparms.h
25
26
27 # DEPENDENCIES:
28 all: $(OUT)
29
30 $(RLIB): $(LIB)
31 cp $(LIB) $(RLIB)
32 $(AR) $(AR_DOPT) $(RLIB) osu.o
33 $(RANLIB) $(RLIB)
34
35 $(M)/inmtaped.exe: inmtaped.o $(RLIB)
36 $(LDCC) inmtaped.o $(RLIB) $(SLIB) -o $@
37 $(STRIP) $@
38
39 inmtaped.o: $(INC)/rtape.h
40
41
42 clean_exec:
43 rm -f $(OUT)
44
45 clean:
46 rm -f *.o $(RLIB)