57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:54:29 cpqbld Exp $
|
|
|
|
|
|
|
|
|
|
XCOMM $XFree86: xc/programs/xinit/Imakefile,v 3.18 2003/11/12 00:10:31 dawes Exp $
|
|
|
|
#if HasVFork
|
|
VFORK_DEFINES = -DHAS_VFORK
|
|
#endif
|
|
#ifdef XFree86Version
|
|
OS_DEFS = -DXFREE86
|
|
#endif
|
|
#ifdef OS2Architecture
|
|
DEFFILE = xinit.def
|
|
#endif
|
|
DEFINES = $(CONNECTION_FLAGS) $(VFORK_DEFINES) $(SIGNAL_DEFINES) \
|
|
-DBINDIR=\"$(BINDIR)\" $(OS_DEFS)
|
|
DEPLIBS = $(DEPXONLYLIB)
|
|
LOCAL_LIBRARIES = $(XONLYLIB)
|
|
SRCS1 = xinit.c
|
|
OBJS1 = xinit.o
|
|
#ifndef OS2Architecture
|
|
SAMPLECONFIG = xinitrc
|
|
#else
|
|
SAMPLECONFIG = xinitrc.cmd
|
|
#endif
|
|
PROGRAMS = ProgramTargetName(xinit)
|
|
#if HasCookieMaker
|
|
COOKIEDEFS = -DHAS_COOKIE_MAKER -DMK_COOKIE=MkCookieCmd
|
|
#endif
|
|
|
|
all:: startx $(SAMPLECONFIG)
|
|
|
|
ComplexProgramTarget_1(xinit,$(LOCAL_LIBRARIES),$(DEFFILE))
|
|
|
|
MakeScriptFromCpp(xinitrc, -DXINITDIR=$(XINITDIR))
|
|
|
|
MakeScriptFromCpp(startx, -DXINITDIR=$(XINITDIR) -DBINDIR=$(BINDIR) $(COOKIEDEFS))
|
|
|
|
EXTRAMANDEFS=-D__xinitdir__=$(XINITDIR)
|
|
|
|
InstallNamedProg(startx,startx,$(BINDIR))
|
|
#ifdef OS2Architecture
|
|
InstallNamedProg(startx.cmd,startx.cmd,$(BINDIR))
|
|
#endif
|
|
InstallManPage(startx,$(MANDIR))
|
|
|
|
#if InstallXinitConfig
|
|
InstallNonExecFile($(SAMPLECONFIG),$(XINITDIR))
|
|
#else
|
|
InstallNonExecFileNoClobber($(SAMPLECONFIG),$(XINITDIR))
|
|
#endif
|
|
|
|
LinkConfDirectory(xinit,.,xinit,.)
|
|
|