4.4BSD/usr/src/contrib/X11R5-hp300/mit/server/ddx/hpbsd/input/Imakefile

#include <Server.tmpl>

#if defined(HPArchitecture) || defined(HPOSFArchitecture) || defined(HPBSDArchitecture)

SRCS1 =	\
	hpKeyMap.c	\
	x_hil.c		\
	x_hilinit.c	\
	beeper.c	\
	x_threebut.c	\
	xtest1imp.c	\
	getkeysym.c

#if defined(__hp9000s800)

SRCS2 = \
        cr16.s          \
        get_tv.c

#endif  /* __hp9000s800 */

NONHILOBJS = \
	hpKeyMap.o	\
	x_threebut.o	\
	xtest1imp.o	\
	getkeysym.o

#if defined(__hp9000s800) 

NONHILOBJS2 = \
        cr16.o          \
        get_tv.o

#endif  /* __hp9000s800 */

#else

SRCS1 =	\
	hpKeyMap.c	\
	x_hil.c		\
	x_hilinit.c	\
	beeper.c	\
	x_threebut.c	\
	xtest1imp.c	\
	getkeysym.c

NONHILOBJS = \
	hpKeyMap.o	\
	x_threebut.o	\
	xtest1imp.o	\
	getkeysym.o

#endif	/* HPArchitecture */

SRCS = $(SRCS1) $(SRCS2) 


HILOBJS = \
	x_hil.o		\
	x_hilinit.o	\
	beeper.o	

OBJS = $(NONHILOBJS) $(NONHILOBJS2) $(HILOBJS)

#if BSD44
        DEVINC = -I/sys/hp/dev
#else
        DEVINC = -I/sys/hpdev
#endif
   INCLUDES = -I. -I.. -I../include -I../../../include -I./X11 \
	      -I../../mi \
	      -I$(INCLUDESRC) -I../../../../extensions/include $(DEVINC)
LIBDIR_DEFINES = -DDEF_DIRECTORY=\"$(LIBDIR)/\"
   LINTLIBS = ../../../dix/llib-ldix.ln ../../../os/hpux/llib-los.ln

all:: 

NormalLibraryObjectRule()
NormalLibraryTarget(input,$(OBJS))

SpecialObjectRule(getkeysym.o, $(ICONFIGFILES), $(LIBDIR_DEFINES))
SpecialObjectRule(x_hilinit.o, $(ICONFIGFILES), $(LIBDIR_DEFINES))

DependTarget()

LintLibraryTarget(input,$(SRCS1))
NormalLintTarget($(SRCS1))