diff options
author | Reinhard Tartler <siretart@tauware.de> | 2011-10-10 17:43:39 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-10-10 17:43:39 +0200 |
commit | f4092abdf94af6a99aff944d6264bc1284e8bdd4 (patch) | |
tree | 2ac1c9cc16ceb93edb2c4382c088dac5aeafdf0f /nx-X11/programs/Xserver/hw/xfree86/os-support/sunos/Imakefile | |
parent | a840692edc9c6d19cd7c057f68e39c7d95eb767d (diff) | |
download | nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.gz nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.bz2 nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.zip |
Imported nx-X11-3.1.0-1.tar.gznx-X11/3.1.0-1
Summary: Imported nx-X11-3.1.0-1.tar.gz
Keywords:
Imported nx-X11-3.1.0-1.tar.gz
into Git repository
Diffstat (limited to 'nx-X11/programs/Xserver/hw/xfree86/os-support/sunos/Imakefile')
-rw-r--r-- | nx-X11/programs/Xserver/hw/xfree86/os-support/sunos/Imakefile | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/xfree86/os-support/sunos/Imakefile b/nx-X11/programs/Xserver/hw/xfree86/os-support/sunos/Imakefile new file mode 100644 index 000000000..2ef24f5e4 --- /dev/null +++ b/nx-X11/programs/Xserver/hw/xfree86/os-support/sunos/Imakefile @@ -0,0 +1,119 @@ +XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/os-support/sunos/Imakefile,v 1.4 2002/10/17 02:22:49 dawes Exp $ +XCOMM $XdotOrg: xc/programs/Xserver/hw/xfree86/os-support/sunos/Imakefile,v 1.8 2005/11/06 03:49:22 alanc Exp $ +XCOMM +XCOMM Copyright 2001 The XFree86 Project, Inc. All Rights Reserved. +XCOMM +XCOMM Permission is hereby granted, free of charge, to any person obtaining a +XCOMM 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 permit +XCOMM persons to whom the Software is furnished to do so, subject to the +XCOMM following conditions: +XCOMM +XCOMM The above copyright notice and this permission notice shall be included +XCOMM in all copies or substantial portions of the Software. +XCOMM +XCOMM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +XCOMM OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +XCOMM MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +XCOMM IN NO EVENT SHALL THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR +XCOMM OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +XCOMM ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +XCOMM OTHER DEALINGS IN THE SOFTWARE. +XCOMM +XCOMM Except as contained in this notice, the name of the XFree86 Project shall +XCOMM not be used in advertising or otherwise to promote the sale, use or other +XCOMM dealings in this Software without prior written authorization from the +XCOMM XFree86 Project. +XCOMM + +/* This is a combined Imakefile intended for all SunOS variants */ + +#include <Server.tmpl> + +#if !HasGcc +# if HasSunC +# if !defined(AsmArch) || !defined(AsmFlags) +# error "Unsupported Architecture for building Xorg server with Sun compilers." +# error "Need to use gcc or add AsmArch & AsmFlag settings in xc/config/cf/sun.cf" +# endif +PROWORKS_ASM_ARCH = AsmArch +PROWORKS_ASM_FLAGS = AsmFlags +PROWORKS_INOUT_SRC = solaris-$(PROWORKS_ASM_ARCH).S +PROWORKS_INOUT_OBJ = solaris-$(PROWORKS_ASM_ARCH).o + +all:: $(PROWORKS_ASM_ARCH).il +includes:: $(PROWORKS_ASM_ARCH).il + +CppFileTarget($(PROWORKS_ASM_ARCH).il,solaris-$(PROWORKS_ASM_ARCH).S,-DINLINE_ASM,NullParameter) + +$(PROWORKS_INOUT_OBJ): $(PROWORKS_INOUT_SRC) + $(AS) -P -o $@ $(PROWORKS_ASM_FLAGS) $(PROWORKS_INOUT_SRC) + +# elif defined(i386Architecture) +PROWORKS_INOUT_SRC = sun_inout.s +PROWORKS_INOUT_OBJ = sun_inout.o +# endif +#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 + +#if defined(i386Architecture) || defined(AMD64Architecture) +AGP_SRC = sun_agp.c +AGP_OBJ = sun_agp.o +#else +AGP_SRC = agp_noop.c +AGP_OBJ = agp_noop.o +#endif + +#ifdef SVR4Architecture +SYSVIPCDEFINES = -DHAVE_SYSV_IPC +#endif + +SRCS = sun_bios.c sun_init.c $(IO_SRC) $(KBD_SRCS) $(PROWORKS_INOUT_SRC) \ + sun_mouse.c sun_vid.c $(AGP_SRC) 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_OBJ) 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 $(VENDOR_DEFINES) $(SYSVIPCDEFINES) + +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() +LintTarget() |