~ubuntu-branches/debian/sid/eso-midas/sid

« back to all changes in this revision

Viewing changes to .pc/propagate_buildflags.patch/prim/dio/libsrc/makefile

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-sl34juxohmn4aty4
Tags: 13.09pl1.2+dfsg-1
Initial release. (Closes: #740702)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# % @(#)makefile        17.1 (ESO-IPG) 01/25/02 17:39:03
 
2
# .COPYRIGHT:   Copyright (c) 1988 European Southern Observatory,
 
3
#                                               all rights reserved
 
4
# .TYPE         make file
 
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.
 
9
#
 
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
 
13
# 020710        last modif
 
14
 
 
15
include ../../../local/default.mk
 
16
 
 
17
CFLAGS = $(C_OPT) $(DEBUG) $(MEM_OPT) $(SH_OPT) $(SYS) -I$(INC)
 
18
 
 
19
 
 
20
LIB = $(LIBDIR)/libdio.a
 
21
 
 
22
OBJ0 =  fitsrhd.o fitsthd.o fitsrkw.o fitsckw.o \
 
23
        fitsrdm.o fitsrdmNUL.o fitsrdmui2.o fitsrat.o fitsrbt.o fitssxd.o \
 
24
        fitsrmd.o fitscdm.o 
 
25
 
 
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
 
29
 
 
30
OBJ2 =  cvb.o dataio.o ofname.o dclist.o fkwstr.o \
 
31
        getval.o getint.o f77fmt.o datecvt.o txtfile.o
 
32
 
 
33
OBJ = $(OBJ0) $(OBJ1) $(OBJ2)
 
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) $(OBJ0)
 
43
        $(AR) $(AR_OPT) $(LIB) $(OBJ1)
 
44
        $(AR) $(AR_OPT) $(LIB) $(OBJ2)
 
45
        $(RANLIB) $(LIB)
 
46
 
 
47
$(OBJ): $(INC)/computer.h \
 
48
        $(INC)/midas_def.h \
 
49
        $(INC)/osparms.h \
 
50
        $(INC)/fitsfmt.h \
 
51
        $(INC)/fitscvb.h \
 
52
        $(INC)/fitsdef.h \
 
53
        $(INC)/fitsdkw.h \
 
54
        $(INC)/fitshkw.h \
 
55
        $(INC)/fitskwb.h \
 
56
        $(INC)/fitskwt.h
 
57
 
 
58
clean:
 
59
        rm -f $(OBJ0) 
 
60
        rm -f $(OBJ1) 
 
61
        rm -f $(OBJ2)