XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:47:22 cpqbld Exp $




XCOMM $XFree86: xc/programs/Xserver/XIE/Imakefile,v 3.17 2001/01/17 22:12:44 dawes Exp $

#define IHaveModules
#include <Server.tmpl>

#define IHaveSubdirs


     SUBDIRS = dixie mixie
MakeSubdirs($(SUBDIRS))

#if DoLoadableServer
MSRCS = xiemodule.c
MOBJS = xiemodule.o

DONES = \
	dixie/export/DONE \
	dixie/import/DONE \
	dixie/process/DONE \
	dixie/request/DONE \
	mixie/control/DONE \
	mixie/export/DONE \
	mixie/fax/DONE \
	mixie/import/DONE \
	mixie/jpeg/DONE \
	mixie/process/DONE

SRCS = $(MSRCS)

OBJS = \
	dixie/export/?*.o \
	dixie/import/?*.o \
	dixie/process/?*.o \
	dixie/request/?*.o \
	mixie/control/?*.o \
	mixie/export/?*.o \
	mixie/fax/?*.o \
	mixie/import/?*.o \
	mixie/jpeg/?*.o \
	mixie/process/?*.o \
	$(MOBJS)

INCLUDES = -Iinclude -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
	   -I$(EXTINCSRC)

#if HasParallelMake
MakeMutex($(SUBDIRS) $(OBJS) $(DONES))
#endif

#ifndef SCO325
REQUIREDLIBS = -lm
#endif

ModuleObjectRule()
DepLibraryModuleTarget(xie,$(SUBDIRS) $(DONES) $(MOBJS),$(OBJS))
InstallLibraryModule(xie,$(MODULEDIR),extensions)
ForceSubdirs($(SUBDIRS))

DependTarget()

#endif


DependSubdirs($(SUBDIRS))
MakeLintLibSubdirs($(SUBDIRS))
LintSubdirs($(SUBDIRS))

InstallDriverSDKLibraryModule(xie,$(DRIVERSDKMODULEDIR),extensions)
