home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / XAP / XFILEMAN / XFILEMAN.TAR / xfilemanager / Imakefile < prev    next >
Encoding:
Makefile  |  1993-10-01  |  3.6 KB  |  92 lines

  1. XCOMM $Ove Kalkan: Imakefile,v 1.0 93/5/20 00:47:05 gildea Exp $
  2.  
  3. /**/# xfilemanager Imakefile
  4. /**/#
  5. /**/# Comment the next line if you dont have the xpm-library
  6.  
  7. #define    HAVE_XPM
  8.  
  9. /*
  10.  * If your system doesn't have the dirent.h include und -DNODIRENT
  11.  */
  12. /**/#define     FLAGS -DNODIRENT
  13. /**/#define     FLAGS -DDEBUG
  14. /**/#define     FLAGS -DRESTRICED_DIRS
  15. /**/#define     FLAGS -DSHOWRIGHTS
  16. /**/#define    FLAGS -DDEUTSCH        /* for german language but not fully implemented yet */
  17. #define FLAGS -DSHOWRIGHTS
  18.  
  19. /**/# xfilemanager is written in iso-c, so you will have to use gcc or acc
  20.         CC = gcc
  21.  
  22. #ifdef HPArchitecture
  23.         CC = acc
  24. #ifdef    HAVE_XPM
  25.         DEFINES = AllocateLocalDefines -DHAVE_XPM -Dhpux FLAGS
  26.         LOCAL_LIBRARIES = -lXpm XawClientLibs
  27. #else
  28.         DEFINES = AllocateLocalDefines -Dhpux FLAGS
  29.         LOCAL_LIBRARIES = XawClientLibs 
  30. #endif
  31. #else
  32. #ifdef    HAVE_XPM
  33.         DEFINES = AllocateLocalDefines -DHAVE_XPM FLAGS
  34. LOCAL_LIBRARIES = -lXpm XawClientLibs
  35. #else
  36. LOCAL_LIBRARIES = XawClientLibs
  37.         DEFINES = AllocateLocalDefines FLAGS
  38. #endif
  39. #endif
  40.         DEPLIBS = XawClientDepLibs
  41.   SYS_LIBRARIES = -lm
  42.  
  43. /*
  44.  * Please could somebody report me, if there is such a define for Imake on Suns?
  45.  */
  46. #if defined(SunArchitecture) || defined(SparcArchitecture)
  47.            SRCS = main.c dir.c file.c graph.c action.c menu.c action_move.c \
  48.                   action_copy.c action_delete.c action_exec.c action_newdir.c \
  49.                   multi.c single.c grab.c folder.c iconbar.c customize.c \
  50.                   workspace.c about.c devices.c action_link.c popup.c tar.c \
  51.                   Icon.c IconB.c merge.c
  52.            OBJS = main.o dir.o file.o graph.o action.o menu.o action_move.o \
  53.                   action_copy.o action_delete.o action_exec.o action_newdir.o \
  54.                   multi.o single.o grab.o folder.o iconbar.o customize.o \
  55.                   workspace.o about.o devices.o action_link.o popup.o tar.o \
  56.                   Icon.o IconB.o merge.o
  57. #else
  58. #ifdef COHERENT
  59.            SRCS = main.c dir.c file.c graph.c action.c menu.c action_move.c \
  60.                   action_copy.c action_delete.c action_exec.c action_newdir.c \
  61.                   multi.c single.c grab.c folder.c iconbar.c customize.c \
  62.                   workspace.c about.c Clock.c transform.c devices.c popup.c tar.c \
  63.                   Icon.c IconB.c merge.c
  64.            OBJS = main.o dir.o file.o graph.o action.o menu.o action_move.o \
  65.                   action_copy.o action_delete.o action_exec.o action_newdir.o \
  66.                   multi.o single.o grab.o folder.o iconbar.o customize.o \
  67.                   workspace.o about.o Clock.o transform.o devices.o popup.o tar.o \
  68.                   Icon.o IconB.o merge.o
  69. #else
  70.            SRCS = main.c dir.c file.c graph.c action.c menu.c action_move.c \
  71.                   action_copy.c action_delete.c action_exec.c action_newdir.c \
  72.                   multi.c single.c grab.c folder.c iconbar.c customize.c \
  73.                   workspace.c about.c Clock.c transform.c devices.c action_link.c \
  74.                   popup.c tar.c Icon.c IconB.c merge.c
  75.            OBJS = main.o dir.o file.o graph.o action.o menu.o action_move.o \
  76.                   action_copy.o action_delete.o action_exec.o action_newdir.o \
  77.                   multi.o single.o grab.o folder.o iconbar.o customize.o \
  78.                   workspace.o about.o Clock.o transform.o devices.o action_link.o \
  79.                   popup.o tar.o Icon.o IconB.o merge.o
  80. #endif
  81. #endif
  82.  
  83. ComplexProgramTarget(xfilemanager)
  84. InstallAppDefaults(Xfilemanager)
  85. InstallManPage(xfilemanager,$(MANDIR))
  86.  
  87.  
  88. /**/# For ppmreduce
  89.  
  90. ppmreduce: ppmreduce.o
  91.     $(CC) -o ppmreduce $(CFLAGS) ppmreduce.o
  92.