/**/#ident	"@(#)r5server:ddx/io/Imakefile	1.1.1.2"
/**/#	Copyright (c) 1990, 1991, 1992, 1993, 1994 Novell, Inc. All Rights Reserved.
/**/#	Copyright (c) 1993 Novell, Inc. All Rights Reserved.
/**/#	  All Rights Reserved

/**/#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Novell Inc.
/**/#	The copyright notice above does not evidence any
/**/#	actual or intended publication of such source code.


#include <Server.tmpl>

#if !Release5
LIB = libio.a
#endif

 SRCS = init.c xwin_io.c kbd.c ioutils.c uslutils.c sitrace.c
SRCS1 = dyn.c arch.c
OBJS = init.o xwin_io.o kbd.o ioutils.o uslutils.o sitrace.o
OBJS1 = dyn.o arch.o

   INCLUDES = -I. -I./../../include -I$(INCLUDESRC) -I../mi -I../../os \
	-I../../../extensions/include -I$(FONTINCSRC) -I$(FONTLIBINCSRC)
   LINTLIBS = ../../dix/llib-ldix.ln ../../os/llib-los.ln \
		../att/llib-lega.ln ../mi/llib-lmi.ln

NormalLibraryObjectRule()
NormalAsmObjectRule()
NormalLibraryTarget(io,$(OBJS))

#if XWINSharedDisplayLibrary
all::	libio.a dyn.o arch.o
#else
all::	libio.a arch.o
#endif

LintLibraryTarget(io,$(SRCS))
NormalLintTarget($(SRCS))

DependTarget()

arch.o: arch.c 
	$(CC) $(CFLAGS) -c arch.c

arch.c:
	$(LN) dyn.c arch.c

dyn.o: dyn.c
	$(CC) $(CFLAGS) -DSHARED_DISPLIB -c dyn.c

clean::
	$(RM) arch.c
