1 # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 # Permission is hereby granted, free of charge, to any person obtaining a
4 # copy of this software and associated documentation files (the
5 # "Software"), to deal in the Software without restriction, including
6 # without limitation the rights to use, copy, modify, merge, publish,
7 # distribute, and/or sell copies of the Software, and to permit persons
8 # to whom the Software is furnished to do so, provided that the above
9 # copyright notice(s) and this permission notice appear in all copies of
10 # the Software and that both the above copyright notice(s) and this
11 # permission notice appear in supporting documentation.
13 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
14 # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
16 # OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
17 # HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
18 # INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
19 # FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
20 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
21 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23 # Except as contained in this notice, the name of a copyright holder
24 # shall not be used in advertising or otherwise to promote the sale, use
25 # or other dealings in this Software without prior written authorization
26 # of the copyright holder.
31 XFREE86_SRCDIR = $(top_srcdir)/hw/xfree86
32 DUMMYLIB_SRCDIR = $(XFREE86_SRCDIR)/dummylib
34 INCLUDES = $(XORG_INCS) -I$(DUMMYLIB_SRCDIR)
36 ioport_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
38 ../../os-support/libxorgos.la \
39 ../../dummylib/libdummy-nonserver.a \
46 ioport_PROGRAM_LINKS = inb inw inl outb outw outl
49 @for i in $(ioport_PROGRAM_LINKS); do (set -x; \
50 rm -f $$i; $(LN_S) ioport $$i); \
54 @for i in $(ioport_PROGRAM_LINKS); do (set -x; \
55 rm -f $(DESTDIR)$(bindir)/$$i; \
56 (cd $(DESTDIR)$(bindir); $(LN_S) ioport $$i)); \