XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/os-support/sunos/Imakefile,v 1.5 2004/02/13 23:58:49 dawes Exp $ XCOMM XCOMM Copyright 2001 The XFree86 Project, Inc. XCOMM All rights reserved. XCOMM XCOMM Permission is hereby granted, free of charge, to any person obtaining XCOMM a copy of this software and associated documentation files (the XCOMM "Software"), to deal in the Software without restriction, including XCOMM without limitation the rights to use, copy, modify, merge, publish, XCOMM distribute, sublicense, and/or sell copies of the Software, and to XCOMM permit persons to whom the Software is furnished to do so, subject XCOMM to the following conditions: XCOMM XCOMM 1. Redistributions of source code must retain the above copyright XCOMM notice, this list of conditions, and the following disclaimer. XCOMM XCOMM 2. Redistributions in binary form must reproduce the above copyright XCOMM notice, this list of conditions and the following disclaimer XCOMM in the documentation and/or other materials provided with the XCOMM distribution, and in the same place and form as other copyright, XCOMM license and disclaimer information. XCOMM XCOMM 3. The end-user documentation included with the redistribution, XCOMM if any, must include the following acknowledgment: "This product XCOMM includes software developed by The XFree86 Project, Inc XCOMM (http://www.xfree86.org/) and its contributors", in the same XCOMM place and form as other third-party acknowledgments. Alternately, XCOMM this acknowledgment may appear in the software itself, in the XCOMM same form and location as other such third-party acknowledgments. XCOMM XCOMM 4. Except as contained in this notice, the name of The XFree86 XCOMM Project, Inc shall not be used in advertising or otherwise to XCOMM promote the sale, use or other dealings in this Software without XCOMM prior written authorization from The XFree86 Project, Inc. XCOMM XCOMM THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED XCOMM WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF XCOMM MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. XCOMM IN NO EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE XCOMM LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, XCOMM OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT XCOMM OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR XCOMM BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, XCOMM WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE XCOMM OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, XCOMM EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. XCOMM /* This is a combined Imakefile intended for all SunOS variants */ #include #if !HasGcc && defined(i386Architecture) PROWORKS_INOUT_SRC = sun_inout.s PROWORKS_INOUT_OBJ = sun_inout.s #endif #if defined(i386Architecture) && (OSMinorVersion < 8) IO_SRC = sysv_io.c IO_OBJ = sysv_io.o KBD_SRCS = sysv_kbd.c std_kbdEv.c KBD_OBJS = sysv_kbd.o std_kbdEv.o VTSW_SRC = VTsw_usl.c VTSW_OBJ = VTsw_usl.o #else IO_SRC = sun_io.c IO_OBJ = sun_io.o KBD_SRCS = sun_kbd.c sun_kbdEv.c KBD_OBJS = sun_kbd.o sun_kbdEv.o VTSW_SRC = VTsw_noop.c VTSW_OBJ = VTsw_noop.o #endif SRCS = sun_bios.c sun_init.c $(IO_SRC) $(KBD_SRCS) $(PROWORKS_INOUT_SRC) \ sun_mouse.c sun_vid.c agp_noop.c libc_wrapper.c kmod_noop.c pm_noop.c \ posix_tty.c sigiostubs.c stdPci.c stdResource.c $(VTSW_SRC) OBJS = sun_bios.o sun_init.o $(IO_OBJ) $(KBD_OBJS) $(PROWORKS_INOUT_OBJ) \ sun_mouse.o sun_vid.o agp_noop.o libc_wrapper.o kmod_noop.o pm_noop.o \ posix_tty.o sigiostubs.o stdPci.o stdResource.o $(VTSW_OBJ) INCLUDES = -I. -I$(XF86OSSRC) -I$(XF86COMSRC) \ -I$(SERVERSRC)/mi -I$(SERVERSRC)/include -I$(SERVERSRC)/Xext \ -I$(XINCLUDESRC) -I$(EXTINCSRC) DEFINES = -DUSESTDRES SubdirLibraryRule($(OBJS)) NormalLibraryObjectRule() NormalAsmObjectRule() LinkSourceFile($(VTSW_SRC),../shared) LinkSourceFile(agp_noop.c,../shared) LinkSourceFile(libc_wrapper.c,../shared) LinkSourceFile(kmod_noop.c,../shared) LinkSourceFile(pm_noop.c,../shared) LinkSourceFile(posix_tty.c,../shared) LinkSourceFile(sigiostubs.c,../shared) LinkSourceFile(stdPci.c,../shared) LinkSourceFile(stdResource.c,../shared) LinkSourceFile(std_kbdEv.c,../shared) LinkSourceFile(sysv_io.c,../sysv) LinkSourceFile(sysv_kbd.c,../shared) DependTarget()