Imakefile   [plain text]


XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:48:29 cpqbld Exp $




XCOMM $XFree86: xc/programs/Xserver/hw/sun/Imakefile,v 1.7 2001/05/28 02:42:26 tsi Exp $

#include <Server.tmpl>

SRCS1 =	sunInit.c \
	sunCfb.c \
	sunCfb24.c \
	sunCursor.c \
	sunFbs.c \
	sunIo.c \
	sunKbd.c \
	sunMfb.c \
	sunMouse.c\
	sunKeyMap.c

OBJS1 = sunCfb.o \
	sunCfb24.o \
	sunCursor.o \
	sunFbs.o \
	sunIo.o \
	sunKbd.o \
	sunMfb.o \
	sunMouse.o \
	sunKeyMap.o

#if BuildLowMem
SRCS2 =
OBJS2 =
#else
SRCS2 = sunGX.c
OBJS2 = sunGX.o
#endif

#ifdef i386Architecture
SRCS3 = sunInit.c
OBJS3 = sunInit.o
#else
SRCS3 = sunInit.c sunInitExt.c \
	sunInitMono.c sunInExMono.c \
	sunInitMulti.c stubs.c
OBJS3 = sunInit.o sunInitExt.o \
	sunInitMono.o sunInExMono.o \
	sunInitMulti.o stubs.o

DEFINES = $(OS_DEFINES) $(EXT_DEFINES) \
	  -UXFree86LOADER -UXF86VIDMODE -UXFreeXDGA \
	  -UXF86MISC -UXF86DRI -UXF86BIGFONT
#endif

SRCS = $(SRCS1) $(SRCS2) $(SRCS3) kbd_mode.c constype.c

OBJS = $(OBJS1) $(OBJS2)

   INCLUDES = -I. -I../.. -I../../mi -I../../mfb -I../../cfb -I../../cfb32 \
	      -I../../include -I$(XINCLUDESRC) -I$(FONTINCSRC) -I$(EXTINCSRC)
   LINTLIBS = ../../dix/llib-ldix.ln ../../os/llib-los.ln \
	      ../mfb/llib-lmfb.ln ../mi/llib-lmi.ln ../cfb/llib-lcfb.ln

NormalLibraryObjectRule()

all:: $(OBJS3) kbd_mode constype

lintlib:

NormalLibraryTarget(sun,$(OBJS))
NormalLintTarget($(SRCS1))

#ifndef i386Architecture
sunInExMono.o: $(ICONFIGFILES)
ObjectFromSpecialSource(sunInExMono,../../mi/miinitext, \
	-UPEXEXT -UGLXEXT -UXV -URENDER)
LinkFile(sunInitExt.c,../../mi/miinitext.c)
LinkSourceFile(stubs.c,../../Xi)
ObjectFromSpecialSource(sunInitMono,sunInit,-DSUNMAXDEPTH=1)
ObjectFromSpecialSource(sunInitMulti,sunInit,-DSUNMAXDEPTH=32)
#endif

SingleProgramTarget(kbd_mode, kbd_mode.o,,)
SingleProgramTarget(constype, constype.o,,)
InstallProgram(kbd_mode,$(BINDIR))
InstallProgram(constype,$(BINDIR))
InstallManPage(kbd_mode,$(MANDIR))
InstallManPage(constype,$(MANDIR))
InstallManPage(Xsun,$(MANDIR))
#ifndef i386Architecture
InstallManPageAliases(Xsun,$(MANDIR),XsunMono)
InstallManPageAliases(Xsun,$(MANDIR),Xsun24)
#endif

DependTarget()