home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / x / volume14 / xtoolplaces / part01 / Makefile.simple < prev    next >
Encoding:
Makefile  |  1991-08-26  |  1.5 KB  |  53 lines

  1. # Copyright (c) 1991 Xerox Corporation.  All Rights Reserved. 
  2. #
  3. # Permission to use,  copy,  modify  and  distribute  without
  4. # charge this software, documentation, images, etc. is grant-
  5. # ed, provided that this copyright and the author's  name  is 
  6. # retained. 
  7. # A fee may be charged for this program ONLY to recover costs 
  8. # for distribution (i.e. media costs).  No profit can be made    
  9. # on this program. 
  10. # The author assumes no responsibility for disasters (natural 
  11. # or otherwise) as a consequence of use of this software.  
  12. # Adam Stein (stein.wbst129@xerox.com)  
  13.  
  14. # Name of program to build
  15. TARGET=xtoolplaces
  16.  
  17. # Binary and man page directory to install to
  18. BINDIR=/usr/local/bin
  19. MANDIR=/usr/local/man/man1
  20.  
  21. # Top level of X directory structure
  22. XTOP=/usr2/openwin
  23.  
  24. CFLAGS=-I${XTOP}/include
  25.  
  26. INCS=addon.h patchlevel.h xtoolplaces.h
  27. SRCS=copyright.c adddisplay.c addon.c combine.c fix_command.c\
  28.      get_geometry.c getinfo.c is.c make_list.c missing.c strstr.c\
  29.      xtoolplaces.c
  30. OBJS=copyright.o adddisplay.o addon.o combine.o fix_command.o\
  31.      get_geometry.o getinfo.o is.o make_list.o missing.o strstr.o\
  32.      xtoolplaces.o
  33.  
  34. .KEEP_STATE:
  35.  
  36. ${TARGET}: ${OBJS}
  37.     ${CC} -o ${TARGET} ${OBJS} -lX11
  38.  
  39. install: ${TARGET}
  40.     install -s ${TARGET} ${BINDIR}
  41.     install ${TARGET}.man ${MANDIR}/${TARGET}.1
  42.  
  43. clean:
  44.     rm -f core makelog ${TARGET} ${OBJS}
  45.  
  46. shar:
  47.     shar -c -o ${TARGET} -l 75 README MANIFEST Imakefile Makefile.simple \
  48.     xtoolplaces.man ${SRCS} ${INCS} addon.sample missing.sample
  49.  
  50.