File: mkpkg

package info (click to toggle)
x11iraf 1.2-4
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 13,168 kB
  • ctags: 14,531
  • sloc: ansic: 143,143; makefile: 964; perl: 549; csh: 249; yacc: 247; fortran: 238; tcl: 199; lex: 125; lisp: 88; sh: 23; sed: 6
file content (45 lines) | stat: -rw-r--r-- 1,253 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Mkpkg file for the CDL Image Display Library
#

$call update
$exit

update:
        $ifeq (MACH, alpha) then
        $set XFLAGS = "$(XFLAGS) -DOSF1"
        $else $ifeq (MACH, dsux, dmip) then
        $set XFLAGS = "$(XFLAGS) -DULTRIX"
        $else $ifeq (MACH, hp700, rs6000) then
        $set XFLAGS = "$(XFLAGS) -D_NO_US_"
        $endif
        $endif
        $endif

        $set XFLAGS = "$(XFLAGS) -Inolibc"

        # Uncomment the following if you want to compile the library
        # using ANSI C function prototypes.  NOTE:  If the library is
        # compiled with prototypes then *all* client applications must
        # also be compiled with prototypes.

        #$set XFLAGS = "$(XFLAGS) -DCDL_ANSIC"

        #$checkout libcdl.a ../
        $update   libcdl.a
        #$checkin  libcdl.a ../
        ;


libcdl.a:
        cdl.c           cdl.h cdlP.h
        cdlmark.c       cdl.h cdlP.h cdlfont.h
        cdl_f77.c       cdl.h cdlP.h cdl_f77.h
        cdl_spp.c       cdl.h cdlP.h cdl_f77.h
        cdlfits.c       cdl.h cdlP.h
        cdliraf.c       cdl.h cdlP.h
        cdlzscale.c     cdl.h cdlP.h
        comm.c          cdl.h cdlP.h
        imd.c           cdl.h cdlP.h
        eps.c           cdl.h cdlP.h eps.h
        ;