diff options
Diffstat (limited to 'vendor/x11iraf/cdl/examples/Imakefile.standalone')
-rw-r--r-- | vendor/x11iraf/cdl/examples/Imakefile.standalone | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/vendor/x11iraf/cdl/examples/Imakefile.standalone b/vendor/x11iraf/cdl/examples/Imakefile.standalone new file mode 100644 index 00000000..8886ae9e --- /dev/null +++ b/vendor/x11iraf/cdl/examples/Imakefile.standalone @@ -0,0 +1,54 @@ +# +# IMakefile for CDL Example tasks. +# + + CDEBUGFLAGS = -g + FCFLAGS = -g + 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(animate display mosaic tvmark fdisplay ftvmark) + +NormalFortranObjectRule() + +NormalProgramTarget(animate,animate.o,../libcdl.a,$(LIBS),-lm) +NormalProgramTarget(display,display.o,../libcdl.a,$(LIBS),-lm) +NormalProgramTarget(mosaic,mosaic.o,../libcdl.a,$(LIBS),-lm) +NormalProgramTarget(tvmark,tvmark.o,../libcdl.a,$(LIBS),-lm) + +fdisplay: fdisplay.o ../libcdl.a + f77 -o fdisplay fdisplay.o ../libcdl.a -lm $(LDLIBS) + +ftvmark: ftvmark.o ../libcdl.a + f77 -o ftvmark ftvmark.o ../libcdl.a -lm $(LDLIBS) + +clean:: + $(RM) fdisplay ftvmark + +DependTarget() +LintTarget() |