DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ M T

⟦743020436⟧ TextFile

    Length: 19059 (0x4a73)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦85b835f43⟧ Bits:30000549 8mm tape, Rational 1000, Xlib rev 6.00
    └─ ⟦0c20f784e⟧ »DATA« 
        └─⟦1abbe589f⟧ 
            └─⟦dfeb830e8⟧ 
                └─ ⟦this⟧ »rev6-0-0/x-library/misc/Makefile« 

TextFile

# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space.  Imake tries to compensate
# for this, but is not always successful.
#

###########################################################################
# Makefile generated from "Imake.tmpl" and <../.././tools/config/Imake.tmpl-ada>
# $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $
#
# Platform-specific parameters may be set in the appropriate .cf
# configuration files.  Site-wide parameters may be set in the file
# site.def.  Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor doesn't define any unique symbols, you'll need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make Makefile", "make Makefiles", or "make World").
#
# If you absolutely can't get imake to work, you'll need to set the
# variables at the top of each Makefile as well as the dependencies at the
# bottom (makedepend will do this automatically).
#

###########################################################################
# platform-specific configuration parameters - edit sun.cf to change

# platform:  $XConsortium: sun.cf,v 1.38 89/12/23 16:10:10 jim Exp $
# operating system:  SunOS 4.0.3

###########################################################################
# site-specific configuration parameters - edit site.def to change

# site:  $XConsortium: site.def,v 1.21 89/12/06 11:46:50 jim Exp $

            SHELL = /bin/sh

              TOP = /src/X/X.V11R4/mit
      CURRENT_DIR = ./x-library/misc

               AR = ar cq
  BOOTSTRAPCFLAGS =
               CC = gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return

         COMPRESS = compress
              CPP = /lib/cpp $(STD_CPP_DEFINES)
    PREPROCESSCMD = gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -E $(STD_CPP_DEFINES)
          INSTALL = install
               LD = ld
             LINT = lint
      LINTLIBFLAG = -C
         LINTOPTS = -axz
               LN = ln -s
             MAKE = make
               MV = mv
               CP = cp
           RANLIB = ranlib
  RANLIBINSTFLAGS =
               RM = rm -f
     STD_INCLUDES =
  STD_CPP_DEFINES =
      STD_DEFINES =
 EXTRA_LOAD_FLAGS =
  EXTRA_LIBRARIES =
             TAGS = ctags

    SHAREDCODEDEF = -DSHAREDCODE
         SHLIBDEF = -DSUNSHLIB

    PROTO_DEFINES =

     INSTPGMFLAGS =

     INSTBINFLAGS = -m 0755
     INSTUIDFLAGS = -m 4755
     INSTLIBFLAGS = -m 0664
     INSTINCFLAGS = -m 0444
     INSTMANFLAGS = -m 0444
     INSTDATFLAGS = -m 0444
    INSTKMEMFLAGS = -m 4755

          DESTDIR =

     TOP_INCLUDES = -I$(TOP)

      CDEBUGFLAGS = -O
        CCOPTIONS =
      COMPATFLAGS = -DXAW_BC

      ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES)
       ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS)
           CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
        LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
           LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)
   LDCOMBINEFLAGS = -X -r

        MACROFILE = sun.cf
           RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut

    IMAKE_DEFINES =

         IRULESRC = $(CONFIGSRC)
        IMAKE_CMD = $(NEWTOP)$(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES)

     ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
			$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
			$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)

###########################################################################
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $

###########################################################################
# X Window System make variables; this need to be coordinated with rules
# $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $

          PATHSEP = /
        USRLIBDIR = $(DESTDIR)/usr/lib
           BINDIR = $(DESTDIR)/usr/bin/X11
          INCROOT = $(DESTDIR)/usr/include
     BUILDINCROOT = $(TOP)
      BUILDINCDIR = $(BUILDINCROOT)/X11
      BUILDINCTOP = ..
           INCDIR = $(INCROOT)/X11
           ADMDIR = $(DESTDIR)/usr/adm
           LIBDIR = $(USRLIBDIR)/X11
        CONFIGDIR = $(LIBDIR)/config
       LINTLIBDIR = $(USRLIBDIR)/lint

          FONTDIR = $(LIBDIR)/fonts
         XINITDIR = $(LIBDIR)/xinit
           XDMDIR = $(LIBDIR)/xdm
           AWMDIR = $(LIBDIR)/awm
           TWMDIR = $(LIBDIR)/twm
           GWMDIR = $(LIBDIR)/gwm
          MANPATH = $(DESTDIR)/usr/local/man
    MANSOURCEPATH = $(MANPATH)/man
           MANDIR = $(MANSOURCEPATH)n
        LIBMANDIR = $(MANSOURCEPATH)3
      XAPPLOADDIR = $(LIBDIR)/app-defaults

        SOXLIBREV = 4.2
          SOXTREV = 4.0
         SOXAWREV = 4.0
        SOOLDXREV = 4.0
         SOXMUREV = 4.0
        SOXEXTREV = 4.0

       FONTCFLAGS = -t

     INSTAPPFLAGS = $(INSTDATFLAGS)

            IMAKE = $(IMAKESRC)/imake
           DEPEND = $(DEPENDSRC)/makedepend
              RGB = $(RGBSRC)/rgb
            FONTC = $(BDFTOSNFSRC)/bdftosnf
        MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir
        MKDIRHIER = /bin/sh $(SCRIPTSRC)/mkdirhier.sh

        CONFIGSRC = $(TOP)/config
        CLIENTSRC = $(TOP)/clients
          DEMOSRC = $(TOP)/demos
           LIBSRC = $(TOP)/lib
          FONTSRC = $(TOP)/fonts
       INCLUDESRC = $(TOP)/X11
        SERVERSRC = $(TOP)/server
          UTILSRC = $(TOP)/util
        SCRIPTSRC = $(UTILSRC)/scripts
       EXAMPLESRC = $(TOP)/examples
       CONTRIBSRC = $(TOP)/../contrib
           DOCSRC = $(TOP)/doc
           RGBSRC = $(TOP)/rgb
        DEPENDSRC = $(UTILSRC)/makedepend
         IMAKESRC = $(CONFIGSRC)
         XAUTHSRC = $(LIBSRC)/Xau
          XLIBSRC = $(LIBSRC)/X
           XMUSRC = $(LIBSRC)/Xmu
       TOOLKITSRC = $(LIBSRC)/Xt
       AWIDGETSRC = $(LIBSRC)/Xaw
       OLDXLIBSRC = $(LIBSRC)/oldX
      XDMCPLIBSRC = $(LIBSRC)/Xdmcp
      BDFTOSNFSRC = $(FONTSRC)/bdftosnf
     MKFONTDIRSRC = $(FONTSRC)/mkfontdir
     EXTENSIONSRC = $(TOP)/extensions

  DEPEXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
     EXTENSIONLIB =   $(DEPEXTENSIONLIB)

          DEPXLIB = $(DEPEXTENSIONLIB)
             XLIB = $(EXTENSIONLIB) -L$(XLIBSRC) -lX11

      DEPXAUTHLIB = $(XAUTHSRC)/libXau.a
         XAUTHLIB =  $(DEPXAUTHLIB)

        DEPXMULIB =
           XMULIB = -L$(XMUSRC) -lXmu

       DEPOLDXLIB =
          OLDXLIB = -L$(OLDXLIBSRC) -loldX

      DEPXTOOLLIB =
         XTOOLLIB = -L$(TOOLKITSRC) -lXt

        DEPXAWLIB =
           XAWLIB = -L$(AWIDGETSRC) -lXaw

 LINTEXTENSIONLIB = $(EXTENSIONSRC)/lib/llib-lXext.ln
         LINTXLIB = $(XLIBSRC)/llib-lX11.ln
          LINTXMU = $(XMUSRC)/llib-lXmu.ln
        LINTXTOOL = $(TOOLKITSRC)/llib-lXt.ln
          LINTXAW = $(AWIDGETSRC)/llib-lXaw.ln

          DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)

         DEPLIBS1 = $(DEPLIBS)
         DEPLIBS2 = $(DEPLIBS)
         DEPLIBS3 = $(DEPLIBS)

###########################################################################
# Imake rules for building libraries, programs, scripts, and data files
# rules:  $XConsortium: Imake.rules,v 1.67 89/12/18 17:14:15 jim Exp $

###########################################################################
# start of Imakefile

###########################################################################
# Makefile generated from "Imake.tmpl" and <../.././tools/config/Imake.tmpl-ada>
# $Rational: Imake.tmpl,v 1.0 90/05/21 GEB $

# site:  $Rational: site.ada-def,v 1.0 90/05/17 GEB $

###########################################################################
# X Window System ADA Build Parameters
# $Rational: Project.ada-tmpl,v 1.00 90/05/17 GEB $

     ADAUSRLIBDIR = $(USRLIBDIR)
        ADALIBDIR = $(USRLIBDIR)/X11/ada

     ADACONFIGDIR = $(ADALIBDIR)/config

     ADACONFIGSRC = $(ADATOOLSRC)/config
      ADAPARAMSRC = $(ADATOOLSRC)/ada-param
       ADATOOLSRC = $(ADATOP)/tools

   ADACOMOPTIONS  = -l $(ADAWORKING)  -E 10 -C 3 -V 1600
   ADACOMOPTIONS1 = -l $(ADAWORKING1) -E 10 -C 3 -V 1600
   ADACOMOPTIONS2 = -l $(ADAWORKING2) -E 10 -C 3 -V 1600
   ADACOMOPTIONS3 = -l $(ADAWORKING3) -E 10 -C 3 -V 1600
     ADACROPTIONS = -m 32000
     ADALDOPTIONS = -l $(ADAWORKING) -v -X -V 1600
  ADAPARAMOPTIONS =

    ADACOMNORMAL  = $(ADACOMOPTIONS)
    ADACOMNORMAL1 = $(ADACOMOPTIONS1)
    ADACOMNORMAL2 = $(ADACOMOPTIONS2)
    ADACOMNORMAL3 = $(ADACOMOPTIONS3)
      ADACRNORMAL = $(ADACROPTIONS)
      ADALDNORMAL = $(ADALDOPTIONS)
   ADAPARAMNORMAL =

     ADACOMDEBUG  = $(ADACOMOPTIONS)  -d
     ADACOMDEBUG1 = $(ADACOMOPTIONS1) -d
     ADACOMDEBUG2 = $(ADACOMOPTIONS2) -d
     ADACOMDEBUG3 = $(ADACOMOPTIONS3) -d
       ADACRDEBUG = $(ADACROPTIONS)
       ADALDDEBUG = $(ADALDOPTIONS)
    ADAPARAMDEBUG =

   ADACOMPROFILE  = $(ADACOMOPTIONS)  -x
   ADACOMPROFILE1 = $(ADACOMOPTIONS1) -x
   ADACOMPROFILE2 = $(ADACOMOPTIONS2) -x
   ADACOMPROFILE3 = $(ADACOMOPTIONS3) -x
     ADACRPROFILE = $(ADACROPTIONS)
     ADALDPROFILE = $(ADALDOPTIONS)
  ADAPARAMPROFILE =

 ADACOMFLAGS = $(ADACOMNORMAL)
 ADACOMFLAGS1 = $(ADACOMNORMAL1)
 ADACOMFLAGS2 = $(ADACOMNORMAL2)
 ADACOMFLAGS3 = $(ADACOMNORMAL3)
 ADACRFLAGS = $(ADACRNORMAL)
 ADALDFLAGS = $(ADALDNORMAL)
 ADAPARAMFLAGS = $(ADAPARAMNORMAL)

           ADACOM = ada
         ADACRLIB = acr
            ADALD = ald

         ADAPARAM = $(ADAPARAMSRC)/ada-param

#---ADAWORKING is the name of the library (.alb) file to use for
#   compilations.  For TeleSoft this is a text file containing a list of
#	sublibrary names.
#
#   ADAWORKINGLIB contains the names of the files and directories that make
#   up the main working sublibrary.  For TeleSoft this is a list containing
#   the names of the .sub file and the .obj directory created by the acr
#	command.  These are the .sub/.obj reference by the first "Name:" in
#	the $(ADAWORKING) file.  We also add the .obk directory as part of our
#	ada-depends processing.
#
#   ADAWORKINGSTEM contains the base name of the working sublibrary.
#   If ADAWORKINGLIB contains "xyz/foo.sub xyz/foo.obj" then this contains
#   just "xyz/foo".
#
#   ADAEXTERNALLIB contains the names of the files and directories that
#   make up the various libraries that are used by this directory but which
#   are not compiled or controlled by this Makefile.
#
#   ADASRCS contains the list of all source files.  This must be set by the
#   user in the Imakefile.
#

       ADAWORKING = liblst.alb
   ADAWORKINGSTEM = ada-lib
  ADAWORKINGNAMES = $(ADAWORKINGSTEM).sub \
		    $(TELEGEN2)/lib/h_unix.sub $(TELEGEN2)/lib/h_rt.sub
    ADAWORKINGLIB = $(ADAWORKINGSTEM).sub \
		    $(ADAWORKINGSTEM).obj \
		    $(ADAWORKINGSTEM).obk
   ADAEXTERNALLIB = $(TELEGEN2)/lib/h_unix.obj $(TELEGEN2)/lib/h_rt.obj

       ADALIBDEPS = $(ADAWORKING) $(ADAWORKINGLIB) $(ADAEXTERNALLIB)

          ADASRCS = Imakefile-does-not-define-SRCS
        ADABINDIR = $(DESTDIR)/usr/bin/X11/ada

###########################################################################
# Imake rules for building ADA libraries, programs, scripts, and data files
# rules:  $Rational: Imake.ada-rules,v 1.0 90/05/17 GEB $

           ADATOP = ../../.

       ADAIRULESRC = $(ADACONFIGSRC)
         IMAKE_CMD = $(NEWTOP)$(IMAKE) \
			-I$(NEWTOP)$(IRULESRC) -I$(NEWADATOP)$(ADAIRULESRC) \
			-f$(NEWADATOP)$(ADAIRULESRC)/Imake.tmpl-ada \
			$(IMAKE_DEFINES)

  EXTRA_ICONFIGFILES =  $(ADAIRULESRC)/$(MACROFILE)-ada \
			$(ADAIRULESRC)/site.def-ada \
			$(ADAIRULESRC)/Project.tmpl-ada \
			$(ADAIRULESRC)/Imake.rules-ada \
			$(EXTRA_ADAICONFIGFILES)

###########################################################################
# Makefile generated from "/source/master/public/rational/xlib/rev6/x-library/misc/Imakefile"

#
# This is for the X-Library Misc directory.
#

 ADACOMFLAGS = $(ADACOMNORMAL)
 ADACOMFLAGS1 = $(ADACOMNORMAL1)
 ADACOMFLAGS2 = $(ADACOMNORMAL2)
 ADACOMFLAGS3 = $(ADACOMNORMAL3)
 ADACRFLAGS = $(ADACRNORMAL)
 ADALDFLAGS = $(ADALDNORMAL)
 ADAPARAMFLAGS = $(ADAPARAMNORMAL)

       ADAWORKING = liblst.alb
  ADAWORKINGNAMES = ada-lib.sub ../xlib2.sub ../xlib1.sub \
		    $(TELEGEN2)/lib/h_unix.sub $(TELEGEN2)/lib/h_rt.sub

   ADAEXTERNALLIB = \
		    ../xlib2.sub ../xlib2.obj \
		    ../xlib1.sub ../xlib1.obj \
		    $(TELEGEN2)/lib/h_rt.sub   $(TELEGEN2)/lib/h_rt.obj \
		    $(TELEGEN2)/lib/h_unix.sub $(TELEGEN2)/lib/h_unix.obj

###########################################################################
# Test programs
###########################################################################

         PROGRAMS = debug-main fake-main hello-world

         ADASRCS1 = Debug_Main.prs Debug_Main.prb

 ADASRCS = $(ADASRCS1) $(ADASRCS2) $(ADASRCS3)

all:: debug-main

debug-main: Makefile.dep
debug-main: $(ADALIBDEPS) $(ADAWORKINGNAMES) $(ADASRCS1) ../libxlib.a
	$(RM) debug-main
	$(MAKE) $(MFLAGS) -f Makefile.dep debug-main \
	COMMAND='$(ADACOM) $(ADACOMFLAGS)' RM='$(RM)'
	touch debug-main

load.debug-main: $(ADALIBDEPS) $(ADAWORKINGNAMES) $(ADASRCS1) ../libxlib.a
	$(ADALD) -o debug-main $(ADALDFLAGS) \
	-p " $(LDLIBS) ../libxlib.a $(EXTRA_LOAD_FLAGS)" debug_main

clean::
	$(RM) debug-main

.PRECIOUS: debug-main.OBK

Makefile.scan: debug-main.OBK

debug-main.OBK: $(ADASRCS1)
	@$(CP) /dev/null make.scan.tmp
	@for i in $(ADASRCS1) ; \
	do \
	echo "@ $$i" >> make.scan.tmp ; \
	done
	@echo debug-main NONE-FILE TARGET >> make.scan.tmp
	@for i in $? ; \
	do \
	echo '        dep-scan => '$$i ; \
	awk -f $(ADAIRULESRC)/dep-scan.awk \
	Working=$(ADAWORKINGSTEM).obk \
	OFile=make.scan.tmp $$i ; \
	done
	@$(MV) make.scan.tmp debug-main.OBK

clean::
	$(RM) *.OBK

.PRECIOUS: Makefile.scan

Makefile.scan:
	@echo 'Merge dep-scan information.'
	@if [ -f Makefile.scan ] ; then \
	awk -f $(ADAIRULESRC)/dep-merge.awk OFile=make.dep.tmp \
	Makefile.scan $? ; \
	else \
	awk -f $(ADAIRULESRC)/dep-merge.awk OFile=make.dep.tmp \
	$? ; \
	fi
	@$(MV) make.dep.tmp Makefile.scan
	@for i in $? ; \
	do \
	$(CP) /dev/null $$i ; \
	done
	@sleep 1
	@touch Makefile.scan

Makefile.dep: Makefile.scan
	@$(RM) Makefile.dep
	@awk -f $(ADAIRULESRC)/dep-make.awk \
	ExternalLib='$(ADAEXTERNALLIB)' \
	OFile=Makefile.dep Makefile.scan

depend::
	$(RM) *.OBK Makefile.dep Makefile.scan
	$(MAKE) $(MFLAGS) Makefile.dep

clean::
	$(RM) Makefile.dep Makefile.scan

         ADASRCS2 = Fake_Main.prs Fake_Main.prb

all:: fake-main

fake-main: Makefile.dep
fake-main: $(ADALIBDEPS) $(ADAWORKINGNAMES) $(ADASRCS2) ../libxlib.a
	$(RM) fake-main
	$(MAKE) $(MFLAGS) -f Makefile.dep fake-main \
	COMMAND='$(ADACOM) $(ADACOMFLAGS)' RM='$(RM)'
	touch fake-main

load.fake-main: $(ADALIBDEPS) $(ADAWORKINGNAMES) $(ADASRCS2) ../libxlib.a
	$(ADALD) -o fake-main $(ADALDFLAGS) \
	-p " $(LDLIBS) ../libxlib.a $(EXTRA_LOAD_FLAGS)" fake_main

clean::
	$(RM) fake-main

.PRECIOUS: fake-main.OBK

Makefile.scan: fake-main.OBK

fake-main.OBK: $(ADASRCS2)
	@$(CP) /dev/null make.scan.tmp
	@for i in $(ADASRCS2) ; \
	do \
	echo "@ $$i" >> make.scan.tmp ; \
	done
	@echo fake-main NONE-FILE TARGET >> make.scan.tmp
	@for i in $? ; \
	do \
	echo '        dep-scan => '$$i ; \
	awk -f $(ADAIRULESRC)/dep-scan.awk \
	Working=$(ADAWORKINGSTEM).obk \
	OFile=make.scan.tmp $$i ; \
	done
	@$(MV) make.scan.tmp fake-main.OBK

clean::
	$(RM) *.OBK

         ADASRCS3 = HelloUnix.prs HelloUnix.prb \
		    HelloWorld.prs HelloWorld.prb

all:: hello-world

hello-world: Makefile.dep
hello-world: $(ADALIBDEPS) $(ADAWORKINGNAMES) $(ADASRCS3) ../libxlib.a
	$(RM) hello-world
	$(MAKE) $(MFLAGS) -f Makefile.dep hello-world \
	COMMAND='$(ADACOM) $(ADACOMFLAGS)' RM='$(RM)'
	touch hello-world

load.hello-world: $(ADALIBDEPS) $(ADAWORKINGNAMES) $(ADASRCS3) ../libxlib.a
	$(ADALD) -o hello-world $(ADALDFLAGS) \
	-p " $(LDLIBS) ../libxlib.a $(EXTRA_LOAD_FLAGS)" hello_world_unix

clean::
	$(RM) hello-world

.PRECIOUS: hello-world.OBK

Makefile.scan: hello-world.OBK

hello-world.OBK: $(ADASRCS3)
	@$(CP) /dev/null make.scan.tmp
	@for i in $(ADASRCS3) ; \
	do \
	echo "@ $$i" >> make.scan.tmp ; \
	done
	@echo hello-world NONE-FILE TARGET >> make.scan.tmp
	@for i in $? ; \
	do \
	echo '        dep-scan => '$$i ; \
	awk -f $(ADAIRULESRC)/dep-scan.awk \
	Working=$(ADAWORKINGSTEM).obk \
	OFile=make.scan.tmp $$i ; \
	done
	@$(MV) make.scan.tmp hello-world.OBK

clean::
	$(RM) *.OBK

all::
	touch $(PROGRAMS)

# End of Imakefile

###########################################################################
# common rules for all Makefiles - do not edit

emptyrule::

$(ADAWORKINGSTEM).obj:
	$(RM) -r $(ADAWORKINGSTEM).obj $(ADAWORKINGSTEM).sub
	$(ADACRLIB) $(ADACRFLAGS) $(ADAWORKINGSTEM) | \
	awk '/./ { print ; exit 1; }

$(ADAWORKINGSTEM).sub:
	@echo "Library $(ADAWORKINGSTEM) created."

$(ADAWORKINGSTEM).obk:
	mkdir $(ADAWORKINGSTEM).obk

clean::
	$(RM) -r $(ADAWORKINGSTEM).sub $(ADAWORKINGSTEM).obj $(ADAWORKINGSTEM).obk

$(ADAWORKING):
	$(CP) /dev/null $(ADAWORKING)
	for i in $(ADAWORKINGNAMES) ; \
	do \
	echo Name\: $$i >> $(ADAWORKING) ; \
	done

clean::
	$(RM) $(ADAWORKING)

param:: $(ADAPARAM)

$(ADAPARAM):
	@cd $(ADAPARAMSRC); \
	echo "checking $@ in $(ADAPARAMSRC) first..."; $(MAKE) all
	@echo "okay, continuing in $(CURRENT_DIR)"

param::
	find . \( -name '*.FNS' -o -name '*.FNB' -o -name '*.PRS' -o \
	-name '*.PRB' -o -name '*.PKS' -o -name '*.PKB' -o \
	-name '*.FNG' -o -name '*.PRG' -o -name '*.PKG' \) \
	-exec $(ADAPARAM) -x \{} -p '$(ADAPARAMOPTIONS)' \;

reparam::
	for i in $(ADASRCS) ; \
	do \
	$(ADAPARAM) $$i -p '$(ADAPARAMOPTIONS)' ; \
	done

normalize::
	for i in $(ADASRCS) ; \
	do \
	$(ADAPARAM) -n $$i -p '$(ADAPARAMOPTIONS)' ; \
	done

###########################################################################
# common rules for all Makefiles - do not edit

emptyrule::

clean::
	$(RM_CMD) \#*

Makefile:: $(IMAKE)

$(IMAKE):
	@(cd $(IMAKESRC); if [ -f Makefile ]; then \
	echo "checking $@ in $(IMAKESRC) first..."; $(MAKE) all; else \
	echo "bootstrapping $@ from Makefile.ini in $(IMAKESRC) first..."; \
	$(MAKE) -f Makefile.ini BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS); fi; \
	echo "okay, continuing in $(CURRENT_DIR)")

Makefile::
	-@if [ -f Makefile ]; then \
	echo "	$(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
	$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
	else exit 0; fi
	$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)  \
	-DADA_IMAKEFILE_FILE='"'`pwd`/Imakefile'"' -DADATOPDIR=$(ADATOP)

tags::
	$(TAGS) -w *.[ch]
	$(TAGS) -xw *.[ch] > TAGS

saber:
	#load $(ALLDEFINES) $(SRCS)

osaber:
	#load $(ALLDEFINES) $(OBJS)

###########################################################################
# empty rules for directories that do not have SUBDIRS - do not edit

install::
	@echo "install in $(CURRENT_DIR) done"

install.man::
	@echo "install.man in $(CURRENT_DIR) done"

Makefiles::

includes::

###########################################################################
# dependencies generated by makedepend