home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / x / x11r6-ch / xpm-3.4 / xpm-3 / xpm-3.4c / sxpm / Makefile.noX < prev    next >
Makefile  |  1994-06-06  |  2KB  |  64 lines

  1. #
  2. #  Copyright (C) 1989-94 GROUPE BULL
  3. #
  4. #  Permission is hereby granted, free of charge, to any person obtaining a copy
  5. #  of this software and associated documentation files (the "Software"), to
  6. #  deal in the Software without restriction, including without limitation the
  7. #  rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  8. #  sell copies of the Software, and to permit persons to whom the Software is
  9. #  furnished to do so, subject to the following conditions:
  10. #
  11. #  The above copyright notice and this permission notice shall be included in
  12. #  all copies or substantial portions of the Software.
  13. #
  14. #  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. #  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. #  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  17. #  GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  18. #  AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  19. #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  20. #
  21. #  Except as contained in this notice, the name of GROUPE BULL shall not be
  22. #  used in advertising or otherwise to promote the sale, use or other dealings
  23. #  in this Software without prior written authorization from GROUPE BULL.
  24. #
  25.  
  26. #
  27. # XPM Makefile - Arnaud LE HORS
  28. #
  29.  
  30. CC = cc
  31. RM = rm -f
  32. # on sysV, define this as cp.
  33. INSTALL = install -c
  34.  
  35. CDEBUGFLAGS= -O
  36.  
  37. DESTBINDIR=/usr/local/bin/X11
  38. MANDIR=/usr/man/manl
  39.  
  40. INCLUDES= -I..
  41. LIBDIRS= -L../lib
  42. LIBS= -lXpm -lXext -lXt -lX11
  43.  
  44. OBJS= sxpm.o
  45.  
  46. CFLAGS= $(CDEBUGFLAGS) $(INCLUDES) $(DEFINES)
  47.  
  48. all: sxpm
  49.  
  50. clean: 
  51.     $(RM) *.o sxpm
  52.  
  53. sxpm: sxpm.o
  54.     $(CC) $(CFLAGS) sxpm.o $(LIBDIRS) $(LIBS) -o sxpm
  55.  
  56. install:
  57.     $(INSTALL) -m 0755 sxpm $(DESTBINDIR)
  58.  
  59. install.man:
  60.     $(INSTALL) -m 0644 sxpm.man $(MANDIR)/sxpm.l
  61.  
  62. # Other dependencies.
  63. sxpm.o: ../lib/xpm.h
  64.