home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Enlightenment
/
enl_BETA-0.13.src.tar.gz
/
enl_BETA-0.13.src.tar
/
enl-0.13
/
Imakefile
< prev
next >
Wrap
Makefile
|
1997-11-20
|
2KB
|
72 lines
XCOMM Enlightenment Configuration File
XCOMM ------------------------------------------------------
XCOMM First, a few must-have definitions...
NAME=enlightenment
VERSION=0.13
AllTarget($(NAME))
SRC1 = main.c lists.c draw.c events.c wininfo.c actions.c ewin.c
SRC2 = loadcfg.c root.c text.c status.c buttons.c alert.c iconify.c
SRC3 = menus.c globals.c infobox.c file.c regexp.c desktops.c misc.c
SRC4 = states.c keys.c windowops.c
SRCS = $(SRC1) $(SRC2) $(SRC3) $(SRC4)
OBJ1 = main.o lists.o draw.o events.o wininfo.o actions.o ewin.o
OBJ2 = loadcfg.o root.o text.o status.o buttons.o alert.o iconify.o
OBJ3 = globals.o menus.o infobox.o file.o regexp.o desktops.o misc.o
OBJ4 = states.o keys.o windowops.o
OBJS = $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4)
XCOMM Let's grab the silly user setup stuff...
#include "Enl.tmpl"
#if ThemesDirPresent
#define IHaveSubdirs
SUBDIRS = themes
#endif
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
INCLUDES += -I. -I/usr/local/include
SYS_LIBRARIES += $(XLIB) -lm -ljpeg -lpng -lz
LOCAL_LIBRARIES += -lIm
XCOMM Now, based on that, we can decided how fancy we want to be...
XCOMM For thread support...
#if ThreadedE
#define LocalThreadsDefines -D_USE_PTHREADS
#include <Threads.tmpl>
#endif
XCOMM Define _our_ places to install stuff...
ENLBINDIR=$(ENLROOT)/bin
ENLTHMDIR=$(ENLROOT)/themes
ENLETCDIR=$(ENLROOT)/etc
XCOMM Once we know these...
DEFINES += -DSYSCONFIG_DIR=\"$(ENLETCDIR)/\"
DEFINES += -DTHEMES_DIR=\"$(ENLTHMDIR)/\"
DEFINES += -DVERSION=\"$(VERSION)\"
XCOMM I prefer using this method, since we don't have to redfine
XCOMM ProjectRoot or the other xxxDIR entries, which screws up
XCOMM make Makefile, make Makefiles, xmkmf -a and other calls...
NormalProgramTarget($(NAME),$(OBJS),,$(LOCAL_LIBRARIES),$(SYS_LIBRARIES))
InstallProgram($(NAME),$(ENLBINDIR))
DependTarget()
LintTarget()
#if ThemesDirPresent
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif