aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/cdl/test/Imakefile.standalone
blob: ff6fd3fa917ab21b776f175edbb4921ee19c597c (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
#
#  IMakefile for CDL Test tasks.
# 

        CDLDIR = ../
      INCLUDES = -I. -I$(CDLDIR)
 LOCAL_LDFLAGS = -L$(CDLDIR)
          LIBS =  -lcdl


# Hack to compile under SunPRO V4 on Solaris
#if defined (SunArchitecture)  &&  OSMajorVersion >= 5 && HasSunC
#if OSMinorVersion <= 5
#if !defined (i386Architecture)
      CCOPTIONS = -Xs
EXTRA_LDOPTIONS = -xildoff
#endif
#else
      CCOPTIONS =
EXTRA_LDOPTIONS = -xildoff
#endif

#else
#if defined (UltrixArchitecture)
        CCOPTIONS = -DULTRIX
#endif
#if defined (OSF1Architecture) && OSMajorVersion >= 4
        CCOPTIONS = -DOSF1
#endif
#endif

AllTarget(cdltest imdtest)

NormalProgramTarget(cdltest,cdltest.o,../libcdl.a,$(LIBS),-lm)
NormalProgramTarget(imdtest,imdtest.o,../libcdl.a,$(LIBS),-lm)

depend::

LintTarget()