home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-08-22 | 969 b | 41 lines |
- XCOMM $XConsortium: Imakefile,v 1.22 91/08/22 12:26:06 rws Exp $
-
- #if BuildXInputLib
- #define IHaveSubdirs
- #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
- SUBDIRS = xinput
- #endif
-
- DEFINES = ExtensionDefines
- IMAKE_DEFINES = $(DEFINES)
- SHAPESRCS = shapetest.c
- SHAPEOBJS = shapetest.o
- #if HasShm
- SHMSRCS = shmtest.c
- SHMOBJS = shmtest.o
- #endif
- MBUFSRCS = xmbufinfo.c
- MBUFOBJS = xmbufinfo.o
- INCLUDES = -I../include
- SRCS = $(SHAPESRCS) $(SHMSRCS) $(MBUFSRCS)
- OBJS = $(SHAPEOBJS) $(SHMOBJS) $(MBUFOBJS)
-
- #if HasShm
- all:: shapetest shmtest xmbufinfo
- #else
- all:: shapetest xmbufinfo
- #endif
-
- NormalProgramTarget(xmbufinfo,$(MBUFOBJS),$(DEPXLIB),$(XLIB),NullParameter)
- NormalProgramTarget(shapetest,$(SHAPEOBJS),$(DEPXLIB),$(XLIB),NullParameter)
- #if HasShm
- NormalProgramTarget(shmtest,$(SHMOBJS),$(DEPXLIB),$(XLIB),NullParameter)
- #endif
-
- DependTarget()
-
- #ifdef IHaveSubdirs
- MakeSubdirs($(SUBDIRS))
- DependSubdirs($(SUBDIRS))
- #endif
-