home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-07-21 | 1.0 KB | 44 lines |
- XCOMM $XConsortium: Imakefile,v 5.15.1.1 92/09/09 15:32:22 rws Exp $
- #include <Server.tmpl>
-
- #if BuildXInputExt || BuildPexExt || BuildPexClients
- #define IHaveSubdirs
- #endif
-
- #if BuildXInputExt
- XINPUTDIRS = xinput
- #endif
- #if BuildPexExt
- PEXDIRS = PEX
- #else
- #if BuildPexClients
- PEXDIRS = PEX/dipex/swap
- #endif
- #endif
- #if HasShm
- SHMSRCS = shm.c
- SHMOBJS = shm.o
- #endif
- SRCS = shape.c $(SHMSRCS) multibuf.c mitmisc.c sleepuntil.c xtest.c xtest1di.c xtest1dd.c
- OBJS = shape.o $(SHMOBJS) multibuf.o mitmisc.o sleepuntil.o xtest.o xtest1di.o xtest1dd.o
- INCLUDES = -I../include -I$(INCLUDESRC) -I$(SERVERSRC)/include
- LINTLIBS = ../../server/dix/llib-ldix.ln ../../server/os/4.2bsd/llib-los.ln
- SUBDIRS = $(XINPUTDIRS) $(PEXDIRS)
-
- NormalLibraryObjectRule()
- NormalLibraryTarget(ext,$(OBJS))
- LintLibraryTarget(ext,$(SRCS))
- NormalLintTarget($(SRCS))
-
- DependTarget()
-
- #ifdef IHaveSubdirs
- MakeSubdirs($(SUBDIRS))
- DependSubdirs($(SUBDIRS))
- #endif
-
- #if HasSaberC
- saber_src:
- /**/#load $(CFLAGS) $(SRCS)
- #endif
-