aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/cdl/mkpkg
blob: 70605b036c071a109ec9a4b5213bc0d3c1b43f10 (plain) (blame)
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
        ;