# 1 "Imakefile.c" 


# 1 "/usr/openwin/lib/config/Imake.tmpl" 1




XCOMM -------------------------------------------------------------------------
XCOMM Makefile generated from "Imake.tmpl" and <Imakefile>
XCOMM $XConsortium: Imake.tmpl,v 1.158 92/09/03 19:54:25 rws Exp $
XCOMM
XCOMM Platform-specific parameters may be set in the appropriate <vendor>.cf
XCOMM configuration files.  Site-specific parameters should be set in the file
XCOMM site.def.  Full rebuilds are recommended if any parameters are changed.
XCOMM
XCOMM If your C preprocessor does not define any unique symbols, you will need
XCOMM to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
XCOMM "make World" the first time).
XCOMM
























# 54 "/usr/openwin/lib/config/Imake.tmpl" 


# 61 "/usr/openwin/lib/config/Imake.tmpl" 









# 73 "/usr/openwin/lib/config/Imake.tmpl" 

# 77 "/usr/openwin/lib/config/Imake.tmpl" 





# 87 "/usr/openwin/lib/config/Imake.tmpl" 


# 94 "/usr/openwin/lib/config/Imake.tmpl" 


# 101 "/usr/openwin/lib/config/Imake.tmpl" 


# 117 "/usr/openwin/lib/config/Imake.tmpl" 
# 123 "/usr/openwin/lib/config/Imake.tmpl" 


# 130 "/usr/openwin/lib/config/Imake.tmpl" 


# 137 "/usr/openwin/lib/config/Imake.tmpl" 


# 145 "/usr/openwin/lib/config/Imake.tmpl" 


# 152 "/usr/openwin/lib/config/Imake.tmpl" 


# 161 "/usr/openwin/lib/config/Imake.tmpl" 


# 168 "/usr/openwin/lib/config/Imake.tmpl" 


# 193 "/usr/openwin/lib/config/Imake.tmpl" 


# 206 "/usr/openwin/lib/config/Imake.tmpl" 


# 211 "/usr/openwin/lib/config/Imake.tmpl" 
# 217 "/usr/openwin/lib/config/Imake.tmpl" 


# 229 "/usr/openwin/lib/config/Imake.tmpl" 


# 239 "/usr/openwin/lib/config/Imake.tmpl" 


# 246 "/usr/openwin/lib/config/Imake.tmpl" 


# 255 "/usr/openwin/lib/config/Imake.tmpl" 


# 266 "/usr/openwin/lib/config/Imake.tmpl" 


# 273 "/usr/openwin/lib/config/Imake.tmpl" 









XCOMM -------------------------------------------------------------------------
XCOMM site-specific configuration parameters that need to come before
XCOMM the platform-specific parameters - edit site.def to change

# 1 "/usr/openwin/lib/config/site.def" 1
XCOMM site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $































# 60 "/usr/openwin/lib/config/site.def" 

# 287 "/usr/openwin/lib/config/Imake.tmpl" 2


# 291 "/usr/openwin/lib/config/Imake.tmpl" 


XCOMM -------------------------------------------------------------------------
XCOMM platform-specific configuration parameters - edit sun.cf to change
# 1 "/usr/openwin/lib/config/sun.cf" 1
XCOMM 
XCOMM platform:  $XConsortium: sun.cf,v 1.77 92/05/29 18:37:21 rws Exp $




# 13 "/usr/openwin/lib/config/sun.cf" 
# 20 "/usr/openwin/lib/config/sun.cf" 
# 43 "/usr/openwin/lib/config/sun.cf" 
# 44 "/usr/openwin/lib/config/sun.cf" 
# 77 "/usr/openwin/lib/config/sun.cf" 
# 92 "/usr/openwin/lib/config/sun.cf" 



XCOMM operating system:  SunOS 5.0




















.INIT: Makefile
REVCTLARCHFILE = SCCS/s.Imakefile
REVCTLCMD = sccs get


# 1 "/usr/openwin/lib/config/sv4Lib.rules" 1
XCOMM $XConsortium: sv4Lib.rules,v 1.8 91/07/19 15:38:53 rws Exp $




















































































































































# 122 "/usr/openwin/lib/config/sun.cf" 2

# 123 "/usr/openwin/lib/config/sun.cf" 
# 135 "/usr/openwin/lib/config/sun.cf" 

















# 154 "/usr/openwin/lib/config/sun.cf" 






# 296 "/usr/openwin/lib/config/Imake.tmpl" 2









# 307 "/usr/openwin/lib/config/Imake.tmpl" 









# 318 "/usr/openwin/lib/config/Imake.tmpl" 









# 329 "/usr/openwin/lib/config/Imake.tmpl" 





XCOMM -------------------------------------------------------------------------
XCOMM site-specific configuration parameters that go after
XCOMM the platform-specific parameters - edit site.def to change

# 1 "/usr/openwin/lib/config/site.def" 1
XCOMM site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
























# 31 "/usr/openwin/lib/config/site.def" 














# 48 "/usr/openwin/lib/config/site.def" 













# 339 "/usr/openwin/lib/config/Imake.tmpl" 2






# 347 "/usr/openwin/lib/config/Imake.tmpl" 




# 353 "/usr/openwin/lib/config/Imake.tmpl" 

# 356 "/usr/openwin/lib/config/Imake.tmpl" 

# 359 "/usr/openwin/lib/config/Imake.tmpl" 





# 366 "/usr/openwin/lib/config/Imake.tmpl" 









# 377 "/usr/openwin/lib/config/Imake.tmpl" 












# 389 "/usr/openwin/lib/config/Imake.tmpl" 
# 395 "/usr/openwin/lib/config/Imake.tmpl" 


# 399 "/usr/openwin/lib/config/Imake.tmpl" 




# 405 "/usr/openwin/lib/config/Imake.tmpl" 







# 414 "/usr/openwin/lib/config/Imake.tmpl" 




# 420 "/usr/openwin/lib/config/Imake.tmpl" 

# 423 "/usr/openwin/lib/config/Imake.tmpl" 

# 424 "/usr/openwin/lib/config/Imake.tmpl" 
# 430 "/usr/openwin/lib/config/Imake.tmpl" 



























# 462 "/usr/openwin/lib/config/Imake.tmpl" 

# 467 "/usr/openwin/lib/config/Imake.tmpl" 


# 471 "/usr/openwin/lib/config/Imake.tmpl" 










# 486 "/usr/openwin/lib/config/Imake.tmpl" 

# 491 "/usr/openwin/lib/config/Imake.tmpl" 
















# 509 "/usr/openwin/lib/config/Imake.tmpl" 































# 542 "/usr/openwin/lib/config/Imake.tmpl" 











# 553 "/usr/openwin/lib/config/Imake.tmpl" 
# 556 "/usr/openwin/lib/config/Imake.tmpl" 
# 563 "/usr/openwin/lib/config/Imake.tmpl" 




# 577 "/usr/openwin/lib/config/Imake.tmpl" 







# 586 "/usr/openwin/lib/config/Imake.tmpl" 








# 596 "/usr/openwin/lib/config/Imake.tmpl" 

# 599 "/usr/openwin/lib/config/Imake.tmpl" 

















# 618 "/usr/openwin/lib/config/Imake.tmpl" 





# 625 "/usr/openwin/lib/config/Imake.tmpl" 






# 633 "/usr/openwin/lib/config/Imake.tmpl" 













# 648 "/usr/openwin/lib/config/Imake.tmpl" 















# 665 "/usr/openwin/lib/config/Imake.tmpl" 



# 670 "/usr/openwin/lib/config/Imake.tmpl" 










# 682 "/usr/openwin/lib/config/Imake.tmpl" 








# 692 "/usr/openwin/lib/config/Imake.tmpl" 

# 695 "/usr/openwin/lib/config/Imake.tmpl" 











# 708 "/usr/openwin/lib/config/Imake.tmpl" 
























# 734 "/usr/openwin/lib/config/Imake.tmpl" 













# 749 "/usr/openwin/lib/config/Imake.tmpl" 





            SHELL = /bin/sh

              TOP = .
      CURRENT_DIR = .

               AR = ar cq
  BOOTSTRAPCFLAGS = 	
               CC = cc
               AS = as
# 767 "/usr/openwin/lib/config/Imake.tmpl" 

         COMPRESS = compress
              CPP = /usr/ccs/lib/cpp $(STD_CPP_DEFINES)		
    PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)	
          INSTALL = $(BINDIR)/bsdinst
               LD = ld
              LEX = lex
             YACC = yacc
             LINT = lint
      LINTLIBFLAG = -o
         LINTOPTS = -ax
               LN = ln -s
             MAKE = make
               MV = mv
               CP = cp
# 785 "/usr/openwin/lib/config/Imake.tmpl" 

               RM = rm -f
            TROFF = psroff -t
         MSMACROS = -ms
              TBL = tbl
              EQN = eqn
     STD_INCLUDES = 
  STD_CPP_DEFINES = -DSVR4 -DSYSV
      STD_DEFINES = -DSVR4 -DSYSV
 EXTRA_LOAD_FLAGS = 
  EXTRA_LDOPTIONS = 
  EXTRA_LIBRARIES = -lsocket -lnsl
             TAGS = ctags
# 800 "/usr/openwin/lib/config/Imake.tmpl" 


    SHAREDCODEDEF = 
         SHLIBDEF = 

# 807 "/usr/openwin/lib/config/Imake.tmpl" 




# 813 "/usr/openwin/lib/config/Imake.tmpl" 

# 816 "/usr/openwin/lib/config/Imake.tmpl" 

# 819 "/usr/openwin/lib/config/Imake.tmpl" 

# 822 "/usr/openwin/lib/config/Imake.tmpl" 

# 825 "/usr/openwin/lib/config/Imake.tmpl" 

# 828 "/usr/openwin/lib/config/Imake.tmpl" 

# 831 "/usr/openwin/lib/config/Imake.tmpl" 











# 844 "/usr/openwin/lib/config/Imake.tmpl" 

    PROTO_DEFINES =   



# 851 "/usr/openwin/lib/config/Imake.tmpl" 

     INSTPGMFLAGS = 

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


      PROJECTROOT = $(OPENWINHOME)
      DESTDIR =



     TOP_INCLUDES = -I$(INCROOT)	

# 872 "/usr/openwin/lib/config/Imake.tmpl" 

      CDEBUGFLAGS = -O -xF
        CCOPTIONS = -DSYSV -DSVR4 -xF -Wa,-cg92	







      ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
       ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
           CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
	  CCFLAGS = $(CDEBUGFLAGS) $(CCCOPTIONS) $(ALLDEFINES)
        LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
# 889 "/usr/openwin/lib/config/Imake.tmpl" 

           LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)


        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR)
# 896 "/usr/openwin/lib/config/Imake.tmpl" 

   LDCOMBINEFLAGS = -r
      DEPENDFLAGS = 

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

    IMAKE_DEFINES = 

         IRULESRC = $(CONFIGDIR)	
        IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
# 919 "/usr/openwin/lib/config/Imake.tmpl" 

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





# 1 "/usr/openwin/lib/config/Project.tmpl" 1

XCOMM -------------------------------------------------------------------------
XCOMM X Window System Build Parameters
XCOMM $XConsortium: Project.tmpl,v 1.152 92/08/10 17:47:45 eswu Exp $






























# 35 "/usr/openwin/lib/config/Project.tmpl" 
# 41 "/usr/openwin/lib/config/Project.tmpl" 

# 44 "/usr/openwin/lib/config/Project.tmpl" 



























# 81 "/usr/openwin/lib/config/Project.tmpl" 





# 88 "/usr/openwin/lib/config/Project.tmpl" 




























# 118 "/usr/openwin/lib/config/Project.tmpl" 



































































































# 217 "/usr/openwin/lib/config/Project.tmpl" 
# 223 "/usr/openwin/lib/config/Project.tmpl" 





























# 254 "/usr/openwin/lib/config/Project.tmpl" 












# 268 "/usr/openwin/lib/config/Project.tmpl" 

















# 287 "/usr/openwin/lib/config/Project.tmpl" 





# 294 "/usr/openwin/lib/config/Project.tmpl" 





# 301 "/usr/openwin/lib/config/Project.tmpl" 



# 306 "/usr/openwin/lib/config/Project.tmpl" 





# 313 "/usr/openwin/lib/config/Project.tmpl" 







# 322 "/usr/openwin/lib/config/Project.tmpl" 





# 329 "/usr/openwin/lib/config/Project.tmpl" 





# 336 "/usr/openwin/lib/config/Project.tmpl" 



# 341 "/usr/openwin/lib/config/Project.tmpl" 












# 355 "/usr/openwin/lib/config/Project.tmpl" 
















# 373 "/usr/openwin/lib/config/Project.tmpl" 








# 383 "/usr/openwin/lib/config/Project.tmpl" 





# 394 "/usr/openwin/lib/config/Project.tmpl" 







# 403 "/usr/openwin/lib/config/Project.tmpl" 





# 410 "/usr/openwin/lib/config/Project.tmpl" 


























































# 470 "/usr/openwin/lib/config/Project.tmpl" 
































# 504 "/usr/openwin/lib/config/Project.tmpl" 













# 519 "/usr/openwin/lib/config/Project.tmpl" 








































































































XCOMM -------------------------------------------------------------------------
XCOMM X Window System make variables; this need to be coordinated with rules





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

          FONTDIR = $(LIBDIR)/fonts		
         XINITDIR = $(LIBDIR)/xinit		
           XDMDIR = $(LIBDIR)/xdm		
           TWMDIR = $(LIBDIR)/twm		
          MANPATH = $(OPENWINHOME)/man		
    MANSOURCEPATH = $(MANPATH)/man	
        MANSUFFIX = n		
     LIBMANSUFFIX = 3	
           MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)		
        LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)		
           NLSDIR = $(LIBDIR)/nls		
        PEXAPIDIR = $(LIBDIR)/PEX		
      XAPPLOADDIR = $(LIBDIR)/app-defaults		
       FONTCFLAGS = -t

     INSTAPPFLAGS = $(INSTDATFLAGS)	


            IMAKE = imake		
           DEPEND = makedepend		
              RGB = rgb			
# 668 "/usr/openwin/lib/config/Project.tmpl" 

            FONTC = bdftopcf		

        MKFONTDIR = mkfontdir		
        MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
# 684 "/usr/openwin/lib/config/Project.tmpl" 


        CONFIGSRC = $(TOP)/config
       DOCUTILSRC = $(TOP)/doc/util
        CLIENTSRC = $(TOP)/clients
          DEMOSRC = $(TOP)/demos
           LIBSRC = $(TOP)/lib
          FONTSRC = $(TOP)/../../../lib/libfont
       INCLUDESRC = $(TOP)/X11
        SERVERSRC = $(TOP)/server
          DDXSRC  = $(SERVERSRC)/ddx
          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
# 712 "/usr/openwin/lib/config/Project.tmpl" 

      BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf

     MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
         FSLIBSRC = $(FONTSRC)/lib/fs
    FONTSERVERSRC = $(FONTSRC)/server
     EXTENSIONSRC = $(TOP)/extensions
         XILIBSRC = $(TOP)/../../../lib/libXinput
      XTESTLIBSRC = $(EXTENSIONSRC)/lib/xtest
        PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
      PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
	  DGALIBSRC = $(EXTENSIONSRC)/lib/dga







# 733 "/usr/openwin/lib/config/Project.tmpl" 








# 747 "/usr/openwin/lib/config/Project.tmpl" 



# 752 "/usr/openwin/lib/config/Project.tmpl" 




# 759 "/usr/openwin/lib/config/Project.tmpl" 


# 1 "/usr/openwin/lib/config/sv4Lib.tmpl" 1

XCOMM $XConsortium: sv4Lib.tmpl,v 1.8 92/06/28 17:43:23 rws Exp $


















































       SERVERETC = $(OPENWINHOME)/server/etc


       SERVERLIB = $(OPENWINHOME)/server/lib


   SERVERMODULES = $(OPENWINHOME)/server/modules



SHLIBLDFLAGS = -G -z text -M mapfile
PICFLAGS = -K PIC
MAPFILE = mapfile






  DEPEXTENSIONLIB = 
     EXTENSIONLIB = -lXext


          DEPXLIB = $(DEPEXTENSIONLIB) 
         XLIBONLY = -lX11
             XLIB = $(EXTENSIONLIB) $(XLIBONLY)



        DEPXMULIB = 
       XMULIBONLY = -lXmu
           XMULIB = $(XMULIBONLY) -z nodefs






       DEPOLDXLIB = 
          OLDXLIB = -loldX


      DEPXTOOLLIB = 
         XTOOLLIB = -lXt


        DEPXAWLIB = 
           XAWLIB = -lXaw


        DEPXILIB = 
           XILIB = -lXi


        DEPXTESTLIB = 
           XTESTLIB = -lXtst


        DEPPEXLIB = 
         PEXLIB = -lPEX5


        DEPDGALIB = 
           DGALIB = -ldga

# 762 "/usr/openwin/lib/config/Project.tmpl" 2


        SOXLIBREV = 5.0
          SOXTREV = 5.0
         SOXAWREV = 5.0
        SOOLDXREV = 5.0
         SOXMUREV = 5.0
        SOXEXTREV = 5.0
      SOXINPUTREV = 5.0
       SOXTESTREV = 1.0
       SOXTRAPREV = 1.0
         SOPEXREV = 1.0
	 SODPSREV = 5
	 SODGAREV = 1


# 781 "/usr/openwin/lib/config/Project.tmpl" 

# 786 "/usr/openwin/lib/config/Project.tmpl" 

      DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
         XAUTHLIB =  -lXau
      DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
         XDMCPLIB =  -lXdmcp
# 794 "/usr/openwin/lib/config/Project.tmpl" 

# 798 "/usr/openwin/lib/config/Project.tmpl" 

# 802 "/usr/openwin/lib/config/Project.tmpl" 

# 806 "/usr/openwin/lib/config/Project.tmpl" 

# 810 "/usr/openwin/lib/config/Project.tmpl" 

# 814 "/usr/openwin/lib/config/Project.tmpl" 

# 818 "/usr/openwin/lib/config/Project.tmpl" 


        DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
           PHIGSLIB =  -lphigs

# 826 "/usr/openwin/lib/config/Project.tmpl" 

       DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
          XBSDLIB =  -lXbsd

 LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
         LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
          LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
        LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
          LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
           LINTXI = $(LINTLIBDIR)/llib-lXi.ln
          LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
        LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
		LINTDGA = $(LINTLIBDIR)/llib-ldga.ln




# 845 "/usr/openwin/lib/config/Project.tmpl" 











          DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
# 859 "/usr/openwin/lib/config/Project.tmpl" 

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

# 930 "/usr/openwin/lib/config/Imake.tmpl" 2

# 1 "/usr/openwin/lib/config/Imake.rules" 1
XCOMM -------------------------------------------------------------------------
XCOMM Imake rules for building libraries, programs, scripts, and data files
XCOMM rules:  $XConsortium: Imake.rules,v 1.129 92/05/29 17:01:19 rws Exp $


























































































































































# 162 "/usr/openwin/lib/config/Imake.rules" 

















# 182 "/usr/openwin/lib/config/Imake.rules" 












































































































































































































































# 420 "/usr/openwin/lib/config/Imake.rules" 
























































































































































































































































# 670 "/usr/openwin/lib/config/Imake.rules" 













# 685 "/usr/openwin/lib/config/Imake.rules" 













# 707 "/usr/openwin/lib/config/Imake.rules" 



































































# 784 "/usr/openwin/lib/config/Imake.rules" 

































































































# 883 "/usr/openwin/lib/config/Imake.rules" 







































































































































































































































































































































































































































































# 1399 "/usr/openwin/lib/config/Imake.rules" 











































































































































# 1545 "/usr/openwin/lib/config/Imake.rules" 



































































































# 1646 "/usr/openwin/lib/config/Imake.rules" 



















# 1669 "/usr/openwin/lib/config/Imake.rules" 
















# 1688 "/usr/openwin/lib/config/Imake.rules" 













# 1703 "/usr/openwin/lib/config/Imake.rules" 

# 932 "/usr/openwin/lib/config/Imake.tmpl" 2

XCOMM -------------------------------------------------------------------------
XCOMM start of Imakefile
# 1 "./Imakefile" 1
# If you want to install the help files for olvwm, set HasInfoFiles to 1


# If you haven't installed olwm from xview3 or from Sun's OpenWindows,
# and you want to install the olwm man page (which discusses most of the
# window operations), defind NeedOlwmManPage to 1


#
# Set MORECCFLAGS to any options you want to pass to the compiler.  These
# include and defines, and debugging and/or optimization flags, and the like.
# Also, if you have headers for things like the XPM library in a non-standard
# place, include the appropriate -I flag here.
#
# There are a bunch of defines, and I can't honestly say I've used or even
# tested all of them (since much of this code came from the xview 3.2 release)
# and certainly I haven't used all combinations of them.  See below for
# suggested settings:
#
# Here's a set of possible defines:
#  -DALLPLANES          Support the AllPlanes extension (valid in SunOs/Solaris)
#  -DDEBUG              Include some debugging code
#  -DIDENT              Include ident directives for the compiler
#  -DMAXPID=32768       For 386BSD
#  -DMEMDEBUG           To debug the memory allocation
#  -DOW_I18N_L3         Include support for Level 3 internationalization
#                           (Note:  I haven't tested without this, and I can't
#                            test it in any locale but C, so include it, but
#                            take it with a grain of salt -- the original olwm
#                            code will work, but the olvwm extensions may not
#                            support the correctinternationalization)
#  -DOW_I18N_L4         Include support for Level 4 internationalization
#                           (Note:  This is not yet supported, but it may work)
#  -DREGEXP             Support for the 386 BSD regular expression library

#  -DRLIMIT_NOFILE      Support for the 386BSD/Ultrix RLIMIT calls
#  -DSHAPE              Support the shapes extension (valid in SunOS/Solaris)
#  -DSYSV               Support for System V (Release 3 or 4)
#  -DSVR4               Support for System V Release 4 (you must also include
#                               -DSYSV)
#  -DXPM                Support the XPM color pixmaps -- requires that you
#                               have the xpm library (version 3.0) somewhere
#                               If your xpm header isn't in /usr/openwin/include 
#                               make sure to add the appropriate -I flag to #                               MORECCFLAGS.  Also remember to add the 
#                               library name to LDFLAGS. 
#
# I haven't tested this on Solaris 1.x, but I'd suggest
#MORECCFLAGS=-DOW_I18N_L3 -DSHAPE -DIDENT

# For a generic Solaris 2.x system, I'd suggest
MORECCFLAGS=-DOW_I18N_L3 -DSHAPE -DSVR4 -DSYSV -DIDENT -x O4

#
# Set MORELDFLAGS to any link options you want.  Be sure to add -lxpm if you
# want to include XPM support.  For a generic Solaris 1.x
# system, I'd suggest
#MORELDFLAGS=-L${OPENWINHOME}/lib
#
# For Solaris 2.x, I'd suggest
MORELDFLAGS=-L${OPENWINHOME}/lib -R ${OPENWINHOME}/lib -lintl


# No more changes needed


#########################################################################
# @(#)Imakefile	1.5 10/4/91 SMI
# Imakefile for olwm release 3.0.

DEFINES =  $(MORECCFLAGS)
SYS_LIBRARIES = -ll -lm
INCLUDES = -I$(HEADER_DEST) -I$(TOP) $(XPMINCDIR) 
DEPLIBS = 
LOCAL_LIBRARIES = $(MORELDFLAGS) $(OLGXLIB) $(XLIB)

HEADERS = cmdstream.h cursors.h debug.h defaults.h dsdm.h environ.h error.h \
          events.h gettext.h globals.h group.h helpcmd.h i18n.h iconimage.h \
          iconmask.h kbdfuncs.h list.h mem.h menu.h notice.h olcursor.h \
          olgx_impl.h ollocale.h olwm.h patchlevel.h properties.h resources.h \
          screen.h selection.h slots.h st.h virtual.h win.h

INFOFILES = olvwm.info
# 86 "./Imakefile" 

MANPAGES = olvwmrc.man

BITMAPS = iconbitmap.h
SCRIPTS = 
MISC 	= openwin-menu

SRCS	= atom.c client.c cmdstream.c cursors.c debug.c defaults.c dsdm.c \
       environ.c error.c evbind.c events.c fontset.c gettext.c gif.c group.c \
       helpsend.c i18n.c images.c info.c kbdfuncs.c list.c mem.c menu.c \
       moveresize.c notice.c ol_button.413.c ol_button.svr4.c olvwmrc.c \
       olwm.c pixmap.c properties.c reduce.c resources.c screen.c \
       selection.c services.c slave.c slots.c st.c states.c usermenu.c \
       usleep.c virtual.c win.c winbusy.c winbutton.c wincolor.c winframe.c \
       wingframe.c winicon.c winipane.c winmenu.c winnofoc.c winpane.c \
       winpinmenu.c winpush.c winresize.c winroot.c

OBJS	= atom.o client.o cmdstream.o cursors.o debug.o defaults.o dsdm.o \
       environ.o error.o evbind.o events.o fontset.o gettext.o gif.o group.o \
       helpsend.o i18n.o images.o info.o kbdfuncs.o list.o mem.o menu.o \
       moveresize.o notice.o ol_button.413.o ol_button.svr4.o olvwmrc.o \
       olwm.o pixmap.o properties.o reduce.o resources.o screen.o \
       selection.o services.o slave.o slots.o st.o states.o usermenu.o \
       usleep.o virtual.o win.o winbusy.o winbutton.o wincolor.o winframe.o \
       wingframe.o winicon.o winipane.o winmenu.o winnofoc.o winpane.o \
       winpinmenu.o winpush.o winresize.o winroot.o


ALLFILES = \
	${HEADERS} ${BITMAPS} ${SRCS} \
	${MISC} ${INFOFILES} ${MANPAGES} ${SCRIPTS}

@@ PROGRAM = olvwm @@ @@@@all:: olvwm @@ @@olvwm: $(OBJS) $(DEPLIBS) @@ $(RM) $@ @@ $(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS) @@ @@@@ @@ @@ @@ @@@@@@install:: $(DESTDIR)$(BINDIR)/olvwm @@$(DESTDIR)$(BINDIR)/olvwm: olvwm @@ @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \	@@ else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi @@ $(INSTALL) -c $(INSTPGMFLAGS)  olvwm $(DESTDIR)$(BINDIR) @@@@@@install.man:: olvwm.man @@ @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \	@@ else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi @@ $(INSTALL) -c $(INSTMANFLAGS) olvwm.man $(DESTDIR)$(MANDIR)/olvwm.$(MANSUFFIX) @@@@ @@ @@depend:: $(SRCS) $(HEADERS) @@ $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) @@dependlocal:: $(SRCS) $(HEADERS) @@ $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) @@@@@@lint: @@ $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS) @@lint1: @@ $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS) @@ @@clean:: @@ $(RM) $(PROGRAM)

# 122 "./Imakefile" 


parse.c: parse.l
	lex -t parse.l > parse.c

olvwmrc.c: olvwmrc.y
	yacc olvwmrc.y
	mv y.tab.c olvwmrc.c

olvwmrc.o: parse.c olvwmrc.c

version.c: ${SRCS} ${HEADERS}
	@echo '#ident "@(#)olvwm version compiled '`date`'"' > version.c

clean::
	/bin/rm -f parse.c olvwmrc.c version.c

install.man:: $(MANPAGES)
	@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
	@for i in $(MANPAGES) ;\
	do \
	echo "installing $$i"; \
	$(INSTALL) -c $(INSTMANFLAGS) $$i $(DESTDIR)$(MANDIR)/`basename $$i .man`.$(MANSUFFIX) ; \
	done

# 936 "/usr/openwin/lib/config/Imake.tmpl" 2

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




emptyrule::




dependlocal::
includes:: $(HEADERS) $(OTHERFILES)

@@clean:: @@ $(RM_CMD) "#"*


@@@@ @@ @@Makefile:: Imakefile @@ -@if [ -f Makefile ]; then set -x; \	 @@ $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \	@@ else exit 0; fi @@ $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)  @@ $(MAKE) $(MFLAGS) dependlocal


@@tags:: @@ $(TAGS) -w *.[ch] @@ $(TAGS) -xw *.[ch] > TAGS
# 960 "/usr/openwin/lib/config/Imake.tmpl" 






# 977 "/usr/openwin/lib/config/Imake.tmpl" 

XCOMM -------------------------------------------------------------------------
XCOMM 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::



XCOMM -------------------------------------------------------------------------
XCOMM dependencies generated by makedepend
# 4 "Imakefile.c" 2
