mirror of
https://github.com/Stichting-MINIX-Research-Foundation/xsrc.git
synced 2025-09-17 00:28:54 -04:00
78 lines
2.0 KiB
Plaintext
78 lines
2.0 KiB
Plaintext
XCOMM $XFree86: xc/programs/Xserver/hw/darwin/Imakefile,v 1.21 2004/05/28 07:44:00 torrey Exp $
|
|
|
|
#include <Server.tmpl>
|
|
#define IHaveSubdirs
|
|
|
|
LinkSourceFile(XFree86.man,../xfree86)
|
|
|
|
/* The version of miinitext.c in mi is built with many extensions off. */
|
|
LinkSourceFile(miinitext.c,$(SERVERSRC)/mi)
|
|
SpecialCObjectRule(miinitext,$(ICONFIGFILES),$(EXT_DEFINES))
|
|
|
|
#if BuildXInputExt
|
|
XINPUTSRCS = darwinXinput.c
|
|
XINPUTOBJS = darwinXinput.o
|
|
#endif
|
|
|
|
SRCS = darwin.c \
|
|
darwinEvents.c \
|
|
darwinKeyboard.c \
|
|
miinitext.c \
|
|
$(XINPUTSRCS)
|
|
|
|
OBJS = darwin.o \
|
|
darwinEvents.o \
|
|
darwinKeyboard.o \
|
|
miinitext.o \
|
|
$(XINPUTOBJS)
|
|
|
|
INCLUDES = -I. -I$(SERVERSRC)/mi -I$(SERVERSRC)/fb -I$(EXTINCSRC) \
|
|
-I$(SERVERSRC)/render -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
|
|
-I$(SERVERSRC)/os -I$(INCLUDESRC) -I$(FONTINCSRC) \
|
|
-I$(SERVERSRC)/miext/shadow -I$(SERVERSRC)/hw/xfree86 \
|
|
-I$(SERVERSRC)/Xi
|
|
|
|
OSNAME = OSName
|
|
OSVENDOR = OSVendor
|
|
OSNAMEDEF = -DOSNAME='" $(OSNAME)"' -DOSVENDOR='" $(OSVENDOR)"'
|
|
#if defined(XFree86CustomVersion)
|
|
CUSTOMVERSION = XFree86CustomVersion
|
|
CUSTOMVERDEF = -DXF86_CUSTOM_VERSION='$(CUSTOMVERSION)'
|
|
#endif
|
|
#if defined(BuilderString)
|
|
BUILDERSTRING = BuilderString
|
|
BUILDERMSG = -DBUILDERSTRING='$(BUILDERSTRING)'
|
|
#endif
|
|
|
|
#if OSMajorVersion >= 6
|
|
CLUTDEF = -DUSE_NEW_CLUT
|
|
#endif
|
|
|
|
#if DarwinQuartzSupport
|
|
# if (OSMajorVersion == 1 && OSMinorVersion >= 4) || OSMajorVersion >= 5
|
|
SUBDIRS = iokit bundle quartz utils
|
|
# else
|
|
SUBDIRS = iokit bundle quartz_1.3 utils
|
|
# endif
|
|
QUARTZDEF = -DDARWIN_WITH_QUARTZ
|
|
#else
|
|
SUBDIRS = iokit utils
|
|
#endif
|
|
|
|
DEFINES = $(QUARTZDEF)
|
|
EXTRAMANDEFS = $(QUARTZDEF) -D__logdir__=$(LOGDIRECTORY)
|
|
|
|
SpecialCObjectRule(darwin,$(ICONFIGFILES),$(OSNAMEDEF) $(BUILDERMSG) \
|
|
$(CUSTOMVERDEF) $(CLUTDEF))
|
|
|
|
NormalLibraryObjectRule()
|
|
NormalLibraryTarget(darwin,$(OBJS))
|
|
|
|
InstallManPage(XDarwin,$(MANDIR))
|
|
InstallManPage(XFree86,$(MANDIR))
|
|
|
|
DependTarget()
|
|
|
|
MakeSubdirs($(SUBDIRS))
|
|
DependSubdirs($(SUBDIRS))
|