[comp.windows.x] contrib: windowmgrs/awm

casey@lll-crg.llnl.gov (Casey Leedom) (01/13/89)

  Awm patch 8 had some problems.  I've already sent a note to Jordon
covering those:
	1. He started using the cpp symbol "BSD" to indicate a BSD compile
	   instead of the defacto standard of using the cpp symbol "SYSV"
	   to indicate an AT&T System V compile.

	2. His patch edited the Makefile instead of the Imakefile.

	3. His patch added several includes of time.h which aren't
	   necessary and cause compile errors on some systems.

  Note, I've changed CC=$(CC) below to CC="$(CC)" because I had CC
defined to be "gcc -traditional".  It doesn't break anything to add the
quotes and makes the Imakefile more robust.

*** windowmgrs/awm/Imakefile-dist	Fri Oct 14 11:38:54 1988
--- windowmgrs/awm/Imakefile	Fri Dec 30 21:25:30 1988
***************
***************
*** 38,48 ****
  
  ComplexProgramTarget(awm)
  
  InstallNonExec(system.awmrc, $(AWMDIR))
  
  $(MENU_ARCH)::
  	@echo Making menu package...
! 	@(cd $(MENU_LIB); make CC=$(CC) CFLAGS="$(CFLAGS)")
  	@echo done.
  
  $(NEATEN_ARCH)::
--- 40,56 ----
  
  ComplexProgramTarget(awm)
  
+ MakeDirectories(install, $(AWMDIR))
  InstallNonExec(system.awmrc, $(AWMDIR))
  
+ system.awmrc:
+ 	@echo "*** Creating empty $@"
+ 	@echo "*** You may want to create a local configuration ..."
+ 	touch $@
+ 
  $(MENU_ARCH)::
  	@echo Making menu package...
! 	@(cd $(MENU_LIB); make CC="$(CC)" CFLAGS="$(CFLAGS)")
  	@echo done.
  
  $(NEATEN_ARCH)::

*** windowmgrs/awm/menus/Makefile-dist	Wed Jun 15 22:40:29 1988
--- windowmgrs/awm/menus/Makefile	Thu Dec  1 20:20:49 1988
***************
*** 7,13 ****
  # DBUGDIR = 
  
  # Point this to the top of your source tree
! TOP = /usr/src/X.V11R2
  
  OBJS =	rtlmenu.o track_menu.o eventsave.o eventstack.o menu.o
  SRCS =	rtlmenu.c track_menu.c eventsave.c eventstack.c menu.c
--- 7,13 ----
  # DBUGDIR = 
  
  # Point this to the top of your source tree
! TOP = ../../../..
  
  OBJS =	rtlmenu.o track_menu.o eventsave.o eventstack.o menu.o
  SRCS =	rtlmenu.c track_menu.c eventsave.c eventstack.c menu.c