The only place I can see Makefile.proto referenced is in
/sw/src/xfree86-base-4.2.0-11/xc/config/makedepend/Imakefile

which is attached

The relevant lines are

XCOMM $XFree86: xc/config/pswrap/Imakefile,v 1.7 2001/03/01 01:23:55 dawes 
Exp $

    FRIENDSDEF = -DFRIENDSFILE='"<DPS/dpsfriends.h>"'
       DEFINES = -DXENVIRONMENT
       DEPLIBS =
        YFLAGS = -d

SRCS = main.c pswdict.c pswfile.c \
         systemnames.c psw.c pswstring.c pswsemantics.c

OBJS = main.o pswparser.o lexer.o pswdict.o pswfile.o \
         systemnames.o psw.o pswstring.o pswsemantics.o

#if CrossCompiling
ComplexHostProgramTarget(pswrap)
#else
ComplexProgramTarget(pswrap)
#endif

SpecialObjectRule(pswfile.o,pswfile.c,$(FRIENDSDEF))

LexFile(lexer)

YaccFile(pswparser,$(YFLAGS))

#ifdef OS2Architecture
all::
         $(CP) ProgramTargetName(pswrap) /
#endif

[ut238dhcp:xc/config/pswrap] smithsm% ls
Imakefile       psw.h           pswparser.y     pswsemantics.h  
sysname_gen.c
lexer.l         pswdict.c       pswpriv.h       pswstring.c     
systemnames.c
main.c          pswdict.h       pswrap.man      pswtypes.h      yyerror.c
psw.c           pswfile.c       pswsemantics.c  pswversion.h
[ut238dhcp:xc/config/pswrap] smithsm% cd ..
[ut238dhcp:xfree86-base-4.2.0-11/xc/config] smithsm% ls
Imakefile  cf         imake      makedepend pswrap     util
[ut238dhcp:xfree86-base-4.2.0-11/xc/config] smithsm% cd makedepend
[ut238dhcp:xc/config/makedepend] smithsm% ls
Imakefile       cppsetup.c      ifparser.h      mkdepend.man
Makefile.proto  def.h           include.c       parse.c
cpp.ed          ifparser.c      main.c          pr.c
[ut238dhcp:xc/config/makedepend] smithsm% echo Imakefile
Imakefile
[ut238dhcp:xc/config/makedepend] smithsm% whereami
whereami: Command not found.
[ut238dhcp:xc/config/makedepend] smithsm% cwd
/sw/src/xfree86-base-4.2.0-11/xc/config/makedepend
[ut238dhcp:xc/config/makedepend] smithsm% more Imakefile
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:41:50 cpqbld Exp $
XCOMM
XCOMM
XCOMM
XCOMM
XCOMM $XFree86: xc/config/makedepend/Imakefile,v 3.11 2001/10/09 21:40:21 
alanh
Exp $

     SRCS = include.c main.c parse.c pr.c cppsetup.c ifparser.c
     OBJS = include.o main.o parse.o pr.o cppsetup.o ifparser.o

XCOMM Some compilers generate fatal errors if an -L directory does
XCOMM not exist.  Since BUILDLIBDIR may not exist yet suppress its use.
          LDPRELIB =
         LDPRELIBS =

#if HasGcc && !defined(PreIncDir)
#define PreIncDir /usr/local/lib/gcc-include
#endif
#ifdef PreIncDir
PREINCDIR = PreIncDir
PREINC_DEFINES = -DPREINCDIR=\"$(PREINCDIR)\"
#endif
#ifndef StdIncDir
#define StdIncDir /usr/include
#endif
STDINCDIR = StdIncDir
STDINC_DEFINES = -DINCLUDEDIR=\"$(STDINCDIR)\"
#ifdef PostIncDir
POSTINCDIR = PostIncDir
POSTINC_DEFINES = -DPOSTINCDIR=\"$(POSTINCDIR)\"
#endif
#ifdef ExtraIncDir
EXTRAINCDIR = ExtraIncDir
EXTRAINC_DEFINES = -DEXTRAINCDIR=\"$(EXTRAINCDIR)\"
#endif
INC_DEFINES = $(PREINC_DEFINES) $(STDINC_DEFINES) $(POSTINC_DEFINES) \
               $(EXTRAINC_DEFINES)
OSUF = .Osuf
OSUF_DEFINES = -DOBJSUFFIX=\"$(OSUF)\"
MAIN_DEFINES = $(INC_DEFINES) $(SIGNAL_DEFINES) $(OSUF_DEFINES)
INCLUDES = -I$(IMAKESRC) -I$(TOP)/include $(TOP_X_INCLUDES)/X11

  DEPLIBS =

#if defined(MacIIArchitecture) || defined(SequentArchitecture) || defined(
i386Sc
oArchitecture)
  XBSDLIB = /**/
#endif

AllTarget(HostProgramTargetName(makedepend))

/*
  * bootstrapping: want to build the real makedepend
  * only after we've run "make depend" here.  That way
  * the program has the right dependencies for clearmake.
  * Save the bootstrap original files so they can be winked in
  * to other views.
  */

#if HasClearmake
bootstrap:
         test -h X11 || $(LN) TOPDIR/include X11
         $(MAKE) -f Makefile.proto TOP_INCLUDES=-I. makedepend

depend::
         $(MAKE) -f Makefile.proto depend
         test -d bootstrap || mkdir bootstrap
         $(MV) *.o makedepend bootstrap
         $(MAKE) -f Makefile.proto makedepend

clean::
         $(RM) -r bootstrap
         $(RM) X11
#else
bootstrap:
#endif /* HasClearmake */

clean::
         $(RM) Makefile.proto

#undef InstallManPage
#define InstallManPage(file,dest) /* as nothing */
#if CrossCompiling
ComplexHostProgramTarget(makedepend)
#else
ComplexProgramTarget(makedepend)
#endif

SpecialCObjectRule(main,$(ICONFIGFILES),$(MAIN_DEFINES))

InstallManPageLong(mkdepend,$(MANDIR),makedepend)

#ifdef OS2Architecture
all::
         $(CP) ProgramTargetName(makedepend) /
#endif

InstallDriverSDKNamedProg(makedepend,makedepend,$(DRIVERSDKDIR)/config/makedepen
d)
[ut238dhcp:xc/config/makedepend] smithsm% more Imakefile
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:41:50 cpqbld Exp $
XCOMM
XCOMM
XCOMM
XCOMM
XCOMM $XFree86: xc/config/makedepend/Imakefile,v 3.11 2001/10/09 21:40:21 
alanh Exp $

     SRCS = include.c main.c parse.c pr.c cppsetup.c ifparser.c
     OBJS = include.o main.o parse.o pr.o cppsetup.o ifparser.o

XCOMM Some compilers generate fatal errors if an -L directory does
XCOMM not exist.  Since BUILDLIBDIR may not exist yet suppress its use.
          LDPRELIB =
         LDPRELIBS =

#if HasGcc && !defined(PreIncDir)
#define PreIncDir /usr/local/lib/gcc-include
#endif
#ifdef PreIncDir
PREINCDIR = PreIncDir
PREINC_DEFINES = -DPREINCDIR=\"$(PREINCDIR)\"
#endif
#ifndef StdIncDir
#define StdIncDir /usr/include
#endif
STDINCDIR = StdIncDir
STDINC_DEFINES = -DINCLUDEDIR=\"$(STDINCDIR)\"
#ifdef PostIncDir
POSTINCDIR = PostIncDir
POSTINC_DEFINES = -DPOSTINCDIR=\"$(POSTINCDIR)\"
#endif
#ifdef ExtraIncDir
EXTRAINCDIR = ExtraIncDir
EXTRAINC_DEFINES = -DEXTRAINCDIR=\"$(EXTRAINCDIR)\"
#endif
INC_DEFINES = $(PREINC_DEFINES) $(STDINC_DEFINES) $(POSTINC_DEFINES) \
               $(EXTRAINC_DEFINES)
OSUF = .Osuf
OSUF_DEFINES = -DOBJSUFFIX=\"$(OSUF)\"
MAIN_DEFINES = $(INC_DEFINES) $(SIGNAL_DEFINES) $(OSUF_DEFINES)
INCLUDES = -I$(IMAKESRC) -I$(TOP)/include $(TOP_X_INCLUDES)/X11

  DEPLIBS =

#if defined(MacIIArchitecture) || defined(SequentArchitecture) || defined(
i386ScoArchitecture)
  XBSDLIB = /**/
#endif

AllTarget(HostProgramTargetName(makedepend))

/*
  * bootstrapping: want to build the real makedepend
  * only after we've run "make depend" here.  That way
  * the program has the right dependencies for clearmake.
  * Save the bootstrap original files so they can be winked in
  * to other views.
  */

#if HasClearmake
bootstrap:
         test -h X11 || $(LN) TOPDIR/include X11
         $(MAKE) -f Makefile.proto TOP_INCLUDES=-I. makedepend

depend::
         $(MAKE) -f Makefile.proto depend
         test -d bootstrap || mkdir bootstrap
         $(MV) *.o makedepend bootstrap
         $(MAKE) -f Makefile.proto makedepend

clean::
         $(RM) -r bootstrap
         $(RM) X11
#else
bootstrap:
#endif /* HasClearmake */

clean::
         $(RM) Makefile.proto

#undef InstallManPage

Attachment: Imakefile
Description: Binary data

Reply via email to