debrix-driver-nv Makefile.am,1.1,1.2 configure.ac,NONE,1.1

Daniel Stone xserver-commit at pdx.freedesktop.org
Sun Jun 27 17:53:01 PDT 2004


Committed by: daniel

Update of /cvs/xserver/debrix-driver-nv
In directory pdx:/tmp/cvs-serv4568

Modified Files:
	Makefile.am 
Added Files:
	configure.ac 
Log Message:
Initial (loading, at least) import of sources. I don't know if libnv.a
needs to be split up.


Index: Makefile.am
===================================================================
RCS file: /cvs/xserver/debrix-driver-nv/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile.am	25 Jun 2004 06:49:25 -0000	1.1
+++ Makefile.am	28 Jun 2004 00:52:59 -0000	1.2
@@ -1,2 +1,26 @@
 AUTOMAKE_OPTIONS = foreign
-SUBDIRS = nv riva
+
+driver_LTLIBRARIES = libnv.la
+
+libnv_drv_la_SOURCES = \
+                       nv/nv_driver.c \
+                       nv/nv_dac.c \
+                       nv/nv_setup.c \
+                       nv/nv_cursor.c \
+                       nv/nv_xaa.c \
+                       nv/nv_dga.c \
+                       nv/nv_shadow.c \
+                       nv/nv_hw.c \
+                       nv/nv_video.c
+
+libriva128_la_SOURCES = \
+                        riva/riva_driver.c \
+                        riva/riva_dac.c \
+                        riva/riva_setup.c \
+                        riva/riva_cursor.c \
+                        riva/riva_xaa.c \
+                        riva/riva_dga.c \
+                        riva/riva_shadow.c \
+                        riva/riva_hw.c
+
+libnv_la_SOURCES = $(libnv_drv_la_SOURCES) $(libriva128_la_SOURCES)

--- NEW FILE: configure.ac ---
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.57)
AC_INIT([debrix-driver-nv],
        0.1.0,
        [daniel at freedesktop.org],
        debrix-driver-nv)

AC_CONFIG_SRCDIR([Makefile.am])
AM_INIT_AUTOMAKE([dist-bzip2])

AM_MAINTAINER_MODE

AM_CONFIG_HEADER([config.h])
AC_CONFIG_AUX_DIR(.)

# Checks for programs.
AC_PROG_LIBTOOL
AC_PROG_CC

AC_ARG_ENABLE(dri, [ --enable-dri ], [ DRI="yes" ], [ DRI="no" ])
AM_CONDITIONAL(DRI, [ test "x$DRI" == "xyes" ])

# Checks for pkg-config packages
PKG_CHECK_MODULES(XORG, debrix)
driverdir=$(pkg-config --variable=driverdir debrix)
AC_SUBST([driverdir])
sdkdir=$(pkg-config --variable=sdkdir debrix)

CFLAGS="$XORG_CFLAGS -include debrix.h"
INCLUDES="$XORG_INCS -I${sdkdir}"
AC_SUBST([CFLAGS])
AC_SUBST([INCLUDES])

# Checks for libraries.

# Checks for header files.
AC_HEADER_STDC

AC_OUTPUT([Makefile])




More information about the xserver-commit mailing list