Skip to content

Commit

Permalink
Initial commit, from x11iraf-v2.0BETA-src.tar.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Streicher committed Jun 5, 2018
0 parents commit 47d1271
Show file tree
Hide file tree
Showing 1,583 changed files with 597,422 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .gdb_history
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
b exit
b exit_
b _exit
run
where
quit
b _exit
run -gui /tmp/zz.gui
where
run -gui /tmp/zz.gui
where
quit
run -display /tmp/zz.gui
b _exit
run -display /tmp/zz.gui
where
quit
b _exit
run -display /tmp/zz.gui
where
quit
b _exit
run
where
run
where
quit
b _exit
run
where
quit
162 changes: 162 additions & 0 deletions Imakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
##
## Imakefile for the X11IRAF Source Tree
##
## Mike Fitzpatrick, National Optical Astronomy Observatories, IRAF project.
## Aug 9 1996

#include <X11IRAF.tmpl>

#define IHaveSubdirs
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'

RELEASE = v2.0BETA2

LIBDIRS = obm xaw3d xpm cdl
APPDIRS = xgterm ximtool xtapemon obmsh vximtool
SUBDIRS = $(LIBDIRS) $(APPDIRS)

all:: World

World::
@echo "Building the X11IRAF $(RELEASE) software tree"
@echo "" ; date ; echo ""
@echo ""
MakeDir (include)
MakeDir (app-defaults)
$(MAKE) $(MFLAGS) arch X11IRAFDIR=$$PWD
$(MAKE) $(MFLAGS) Makefile X11IRAFDIR=$$PWD
$(MAKE) $(MFLAGS) Makefiles X11IRAFDIR=$$PWD
$(MAKE) $(MFLAGS) includes X11IRAFDIR=$$PWD
#if !defined (PpcDarwinArchitecture) && !defined (TenonServer)
$(MAKE) $(MFLAGS) depend X11IRAFDIR=$$PWD
#endif
$(MAKE) $(MFLAGS) libs X11IRAFDIR=$$PWD
$(MAKE) $(MFLAGS) apps X11IRAFDIR=$$PWD
$(MAKE) $(MFLAGS) install X11IRAFDIR=$$PWD
@echo "" ; date ; echo ""
@echo "Done."

update::
@echo "Updating the X11IRAF $(RELEASE) software tree"
@echo "" ; date ; echo ""
@echo ""
$(MAKE) $(MFLAGS) arch X11IRAFDIR=$$PWD
$(MAKE) $(MFLAGS) Makefile X11IRAFDIR=$$PWD
$(MAKE) $(MFLAGS) Makefiles X11IRAFDIR=$$PWD
$(MAKE) $(MFLAGS) libs X11IRAFDIR=$$PWD
$(MAKE) $(MFLAGS) apps X11IRAFDIR=$$PWD
$(MAKE) $(MFLAGS) install X11IRAFDIR=$$PWD
@echo "" ; date ; echo ""
@echo "Done."

#if defined (PpcDarwinArchitecture) || defined (TenonServer)
libs::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(LIBDIRS) ;\
do \
(cd $$i ; echo "making" linklibs "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' all linklibs); \
done
#else
libs::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(LIBDIRS) ;\
do \
(cd $$i ; echo "making" linklibs "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' all linklibs); \
done
#endif

apps::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(APPDIRS) ;\
do \
(cd $$i ; echo "making" all "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' all); \
done

dirs::
@echo "Creating Directories...."
$(MAKE) $(MFLAGS) arch


# Architecture branches.
alpha:
@(./mkarch alpha)
arch::
@(./mkarch -current)
generic:
@(./mkarch generic)
cygwin:
@(./mkarch cygwin)
freebsd:
@(./mkarch freebsd)
hp700:
@(./mkarch hp700)
irix:
@(./mkarch irix)
linux:
@(./mkarch linux)
linuxppc:
@(./mkarch linuxppc)
macosx:
@(./mkarch macosx)
macintel:
@(./mkarch macintel)
mklinux:
@(./mkarch mklinux)
redhat:
@(./mkarch redhat)
rs6000:
@(./mkarch rs6000)
showarch::
@(./mkarch -show)
sparc:
@(./mkarch sparc)
ssun:
@(./mkarch ssun)
sunos:
@(./mkarch sunos)
suse:
@(./mkarch suse)
ultrix:
@(./mkarch ultrix)
unknown:
@(./mkarch unknown)


BTARFILE = ../x11iraf-$(RELEASE)-bin.`./mkarch -arch`.tar

DISTFILES = bin.`./mkarch -arch`/[a-z]* \
lib.`./mkarch -arch`/libcdl.a \
Notes-V2.0.txt \
Revisions.v20 \
include/cdl* \
app-defaults \
man \
mkarch \
README.install \
install

bindist::
(./mkarch -current -noclean)
@(echo "Making tar file....$(BTARFILE)" )
@(tar -cf $(BTARFILE) $(DISTFILES) )
@(echo "Compressing files...." ; gzip $(BTARFILE) )
@(echo "Done.")


archive::
$(MAKE) $(MFLAGS) pristine
@(tar -cf - . | gzip > ../x11iraf-$(RELEASE)-src.tar.gz)

pristine::
$(MAKE) $(MFLAGS) clean
$(MAKE) $(MFLAGS) generic
$(RM) -rf bin.[a-fh-z]* lib.[a-fh-z]* \
bin.tar* include app-defaults man *spool* Makefile makefile\
Makefile.bak */Makefile */Makefile.bak */*/Makefile */*/Makefile.bak

MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))

Loading

0 comments on commit 47d1271

Please sign in to comment.