Imakefile   [plain text]


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



XCOMM $XFree86: xc/programs/Xserver/hw/sunLynx/Imakefile,v 3.2 2001/01/17 22:36:52 dawes Exp $

#include <Server.tmpl>

SRCS1 =	sunLyInit.c \
	sunLyIo.c \
	sunLyUtil.c \
	sunLyMouse.c\
	sunLyCfb.c \
	sunLyFbs.c \
	sunLyKbd.c \
	sunCursor.c \
	sunMfb.c \
	sunGX.c \
	sunKeyMap.c

XCOMM SRCS =	$(SRCS1) kbd_mode.c constype.c
SRCS =	$(SRCS1)

#if XsunLynxMonoServer
OFILES = sunInitMono.o sunInExMono.o 
#endif

OBJS =	sunLyInit.o \
	sunLyIo.o \
	sunLyUtil.o \
	sunLyMouse.o\
	sunLyCfb.o \
	sunLyFbs.o \
	sunLyKbd.o \
	sunCursor.o \
	sunMfb.o \
	sunGX.o \
	sunKeyMap.o

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

NormalLibraryObjectRule()

XCOMM all:: $(OFILES) kbd_mode constype
all:: $(OFILES)

lintlib:

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

sunInExMono.o: $(ICONFIGFILES)
ObjectFromSpecialSource(sunInExMono,../../mi/miinitext,$(EXT_DEFINES) -UXIEEXT -UPEXEXT -UXF86VIDMODE)
ObjectFromSpecialSource(sunInitMono,sunLyInit,-DSUNMAXDEPTH=1)

#if 0
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))
InstallManPageAliases(Xsun,$(MANDIR),XsunMono)
#endif

LinkSourceFile(sunGX.h,../sun)
LinkSourceFile(circleset.h,../sun)
ObjectFromSpecialSource(sunKeyMap,../sun/sunKeyMap,/**/)
ObjectFromSpecialSource(sunMfb,../sun/sunMfb,/**/)
ObjectFromSpecialSource(sunGX,../sun/sunGX,/**/)
ObjectFromSpecialSource(sunCursor,../sun/sunCursor,/**/)

DependTarget()