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 / Imakefile next >
Makefile  |  1994-06-06  |  2KB  |  74 lines

  1. XCOMM
  2. XCOMM Copyright (C) 1989-94 GROUPE BULL
  3. XCOMM
  4. XCOMM Permission is hereby granted, free of charge, to any person obtaining a
  5. XCOMM copy of this software and associated documentation files
  6. XCOMM (the "Software"), to deal in the Software without restriction, including
  7. XCOMM without limitation the rights to use, copy, modify, merge, publish,
  8. XCOMM distribute, sublicense, and/or sell copies of the Software, and to permit
  9. XCOMM persons to whom the Software is furnished to do so, subject to the
  10. XCOMM following conditions:
  11. XCOMM The above copyright notice and this permission notice shall be included
  12. XCOMM in all copies or substantial portions of the Software.
  13. XCOMM
  14. XCOMM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  15. XCOMM OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  16. XCOMM MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  17. XCOMM IN NO EVENT SHALL GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. XCOMM LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. XCOMM FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  20. XCOMM DEALINGS IN THE SOFTWARE.
  21. XCOMM
  22. XCOMM Except as contained in this notice, the name of GROUPE BULL shall not be
  23. XCOMM used in advertising or otherwise to promote the sale, use or other
  24. XCOMM dealings in this Software without prior written authorization from
  25. XCOMM GROUPE BULL.
  26. XCOMM
  27.  
  28. XCOMM
  29. XCOMM XPM Imakefile - Arnaud LE HORS
  30. XCOMM
  31.  
  32. XCOMM default locations
  33. #ifndef XpmLibDir
  34. #define XpmLibDir $(USRLIBDIR)
  35. #endif
  36. #ifndef XpmBinDir
  37. #define XpmBinDir $(BINDIR)
  38. #endif
  39. #ifndef XpmManDir
  40. #define XpmManDir $(MANDIR)
  41. #endif
  42.  
  43.       XPMLIBDIR = XpmLibDir
  44.       XPMBINDIR = XpmBinDir
  45.       XPMMANDIR = XpmManDir
  46.  
  47.          XPMLIB = -lXpm
  48.        INCLUDES = -I$(BUILDINCTOP)
  49.         DEPLIBS = $(DEPXTOOLLIB) $(DEPXLIB)
  50. #if (ProjectX < 5)
  51. LOCAL_LIBRARIES = -L../lib -L$(XPMLIBDIR) $(XPMLIB) $(XTOOLLIB) $(XLIB)
  52. #else
  53. LOCAL_LIBRARIES = $(XPMLIB) $(XTOOLLIB) $(XLIB)
  54.   LOCAL_LDFLAGS = -L../lib -L$(XPMLIBDIR)
  55. #endif
  56.  
  57. #ifdef OsNameDefines
  58. OS_NAME_DEFINES = OsNameDefines
  59. #endif
  60.  
  61.           SRCS = sxpm.c
  62.           OBJS = sxpm.o
  63.  
  64. AllTarget(sxpm)
  65. NormalProgramTarget(sxpm,$(OBJS),$(DEPLIB),$(LOCAL_LIBRARIES),)
  66. InstallProgram(sxpm,$(XPMBINDIR))
  67. InstallManPage(sxpm,$(XPMMANDIR))
  68. DependTarget()
  69. LintTarget()
  70.  
  71. clean::    
  72.     $(RM) sxpmout.xpm
  73.  
  74.