home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-10-01 | 3.6 KB | 92 lines |
- XCOMM $Ove Kalkan: Imakefile,v 1.0 93/5/20 00:47:05 gildea Exp $
-
- /**/# xfilemanager Imakefile
- /**/#
- /**/# Comment the next line if you dont have the xpm-library
-
- #define HAVE_XPM
-
- /*
- * If your system doesn't have the dirent.h include und -DNODIRENT
- */
- /**/#define FLAGS -DNODIRENT
- /**/#define FLAGS -DDEBUG
- /**/#define FLAGS -DRESTRICED_DIRS
- /**/#define FLAGS -DSHOWRIGHTS
- /**/#define FLAGS -DDEUTSCH /* for german language but not fully implemented yet */
- #define FLAGS -DSHOWRIGHTS
-
- /**/# xfilemanager is written in iso-c, so you will have to use gcc or acc
- CC = gcc
-
- #ifdef HPArchitecture
- CC = acc
- #ifdef HAVE_XPM
- DEFINES = AllocateLocalDefines -DHAVE_XPM -Dhpux FLAGS
- LOCAL_LIBRARIES = -lXpm XawClientLibs
- #else
- DEFINES = AllocateLocalDefines -Dhpux FLAGS
- LOCAL_LIBRARIES = XawClientLibs
- #endif
- #else
- #ifdef HAVE_XPM
- DEFINES = AllocateLocalDefines -DHAVE_XPM FLAGS
- LOCAL_LIBRARIES = -lXpm XawClientLibs
- #else
- LOCAL_LIBRARIES = XawClientLibs
- DEFINES = AllocateLocalDefines FLAGS
- #endif
- #endif
- DEPLIBS = XawClientDepLibs
- SYS_LIBRARIES = -lm
-
- /*
- * Please could somebody report me, if there is such a define for Imake on Suns?
- */
- #if defined(SunArchitecture) || defined(SparcArchitecture)
- SRCS = main.c dir.c file.c graph.c action.c menu.c action_move.c \
- action_copy.c action_delete.c action_exec.c action_newdir.c \
- multi.c single.c grab.c folder.c iconbar.c customize.c \
- workspace.c about.c devices.c action_link.c popup.c tar.c \
- Icon.c IconB.c merge.c
- OBJS = main.o dir.o file.o graph.o action.o menu.o action_move.o \
- action_copy.o action_delete.o action_exec.o action_newdir.o \
- multi.o single.o grab.o folder.o iconbar.o customize.o \
- workspace.o about.o devices.o action_link.o popup.o tar.o \
- Icon.o IconB.o merge.o
- #else
- #ifdef COHERENT
- SRCS = main.c dir.c file.c graph.c action.c menu.c action_move.c \
- action_copy.c action_delete.c action_exec.c action_newdir.c \
- multi.c single.c grab.c folder.c iconbar.c customize.c \
- workspace.c about.c Clock.c transform.c devices.c popup.c tar.c \
- Icon.c IconB.c merge.c
- OBJS = main.o dir.o file.o graph.o action.o menu.o action_move.o \
- action_copy.o action_delete.o action_exec.o action_newdir.o \
- multi.o single.o grab.o folder.o iconbar.o customize.o \
- workspace.o about.o Clock.o transform.o devices.o popup.o tar.o \
- Icon.o IconB.o merge.o
- #else
- SRCS = main.c dir.c file.c graph.c action.c menu.c action_move.c \
- action_copy.c action_delete.c action_exec.c action_newdir.c \
- multi.c single.c grab.c folder.c iconbar.c customize.c \
- workspace.c about.c Clock.c transform.c devices.c action_link.c \
- popup.c tar.c Icon.c IconB.c merge.c
- OBJS = main.o dir.o file.o graph.o action.o menu.o action_move.o \
- action_copy.o action_delete.o action_exec.o action_newdir.o \
- multi.o single.o grab.o folder.o iconbar.o customize.o \
- workspace.o about.o Clock.o transform.o devices.o action_link.o \
- popup.o tar.o Icon.o IconB.o merge.o
- #endif
- #endif
-
- ComplexProgramTarget(xfilemanager)
- InstallAppDefaults(Xfilemanager)
- InstallManPage(xfilemanager,$(MANDIR))
-
-
- /**/# For ppmreduce
-
- ppmreduce: ppmreduce.o
- $(CC) -o ppmreduce $(CFLAGS) ppmreduce.o
-