XCOMM $XFree86: xc/programs/Xserver/miext/rootless/Imakefile,v 1.6 2005/10/14 15:17:25 tsi Exp $

#include <Server.tmpl>

#ifdef DarwinArchitecture
#define RootlessSafeAlpha YES
#define RootlessAcceleration YES
#else
#define RootlessSafeAlpha NO
#define RootlessAcceleration NO
#endif

#if RootlessSafeAlpha || RootlessAcceleration
#define IHaveSubdirs
#endif

#if RootlessSafeAlpha
ALPHADIRS = safeAlpha
#endif

#if RootlessAcceleration
ACCELDIRS = accel
ACCELINCS = -I$(ACCELDIRS)
#endif

SRCS =  rootlessCommon.c \
        rootlessScreen.c \
        rootlessWindow.c \
        rootlessGC.c \
        rootlessValTree.c

OBJS =  rootlessCommon.o \
        rootlessScreen.o \
        rootlessWindow.o \
        rootlessGC.o \
        rootlessValTree.o

INCLUDES = -I$(SERVERSRC)/fb -I$(SERVERSRC)/mi -I$(SERVERSRC)/include \
           -I$(SERVERSRC)/render $(ACCELINCS)

NormalLibraryObjectRule()
LibraryModuleTarget(rootless,$(OBJS),.)

DependTarget()

SUBDIRS = $(ALPHADIRS) $(ACCELDIRS)

#if RootlessSafeAlpha || RootlessAcceleration
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif
