[PATCH 1/5] Add the quartz (Mac OS X) video driver to the build system.

Pierre d'Herbemont pdherbemont at free.fr
Fri Oct 20 14:46:55 CDT 2006


Alexandre,

You might still want more to review

Pierre.
---
  configure.ac                            |    1 +
  dlls/winequartz.drv/Makefile.in         |   16 ++++++++++
  dlls/winequartz.drv/quartzdrv_main.c    |   49 
+++++++++++++++++++++++++++++++
  dlls/winequartz.drv/winequartz.drv.spec |    1 +
  4 files changed, 67 insertions(+), 0 deletions(-)
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index 5d43d53..8fafa83 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1728,6 +1728,7 @@ dlls/wined3d/Makefile
 dlls/winedos/Makefile
 dlls/winemp3.acm/Makefile
 dlls/wineps.drv/Makefile
+dlls/winequartz.drv/Makefile
 dlls/winex11.drv/Makefile
 dlls/wininet/Makefile
 dlls/wininet/tests/Makefile
diff --git a/dlls/winequartz.drv/Makefile.in b/dlls/winequartz.drv/Makefile.in
new file mode 100644
index 0000000..809bf0a
--- /dev/null
+++ b/dlls/winequartz.drv/Makefile.in
@@ -0,0 +1,16 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = winequartz.drv
+IMPORTS   = user32 gdi32 advapi32 kernel32 ntdll
+EXTRAINCL = 
+EXTRALIBS = 
+
+C_SRCS = \
+	quartzdrv_main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
+
diff --git a/dlls/winequartz.drv/quartzdrv_main.c b/dlls/winequartz.drv/quartzdrv_main.c
new file mode 100644
index 0000000..6d764e4
--- /dev/null
+++ b/dlls/winequartz.drv/quartzdrv_main.c
@@ -0,0 +1,49 @@
+/*
+ * QUARTZDRV initialization code
+ *
+ * Copyright 1998 Patrik Stridvall
+ * Copyright 2000 Alexandre Julliard
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+#include "config.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "winreg.h"
+
+/***********************************************************************
+ *           QUARTZDRV initialisation routine
+ */
+BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
+{
+    BOOL ret = TRUE;
+
+    switch(reason)
+    {
+    case DLL_PROCESS_ATTACH:
+        /* Do attach */
+        break;
+    case DLL_THREAD_DETACH:
+        /* do thread detach */
+        break;
+    case DLL_PROCESS_DETACH:
+        /* do detach */
+        break;
+    }
+    return ret;
+}
\ No newline at end of file
diff --git a/dlls/winequartz.drv/winequartz.drv.spec b/dlls/winequartz.drv/winequartz.drv.spec
new file mode 100644
index 0000000..d98d860
--- /dev/null
+++ b/dlls/winequartz.drv/winequartz.drv.spec
@@ -0,0 +1 @@
+# Nothing Yet


More information about the wine-patches mailing list