Andrey Turkin : programs: Add cacls stub.

Alexandre Julliard julliard at winehq.org
Mon Jan 12 10:41:38 CST 2009


Module: wine
Branch: master
Commit: c0f4fc49781fa7fe536263a2e55f18968b87a1d3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c0f4fc49781fa7fe536263a2e55f18968b87a1d3

Author: Andrey Turkin <andrey.turkin at gmail.com>
Date:   Sun Jan 11 22:36:53 2009 +0300

programs: Add cacls stub.

---

 .gitignore                  |    1 +
 configure                   |   10 ++++++++++
 configure.ac                |    1 +
 programs/cacls/Makefile.in  |   15 +++++++++++++++
 programs/cacls/cacls_main.c |   31 +++++++++++++++++++++++++++++++
 5 files changed, 58 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index ab0eef7..531c2fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -223,6 +223,7 @@ loader/wine.de.man
 loader/wine.fr.man
 loader/wine.man
 programs/Makeprog.rules
+programs/cacls/cacls
 programs/clock/clock
 programs/cmd/cmd
 programs/cmdlgtst/cmdlgtst
diff --git a/configure b/configure
index 0c82d0e..a3914e0 100755
--- a/configure
+++ b/configure
@@ -26929,6 +26929,15 @@ programs/Makefile: programs/Makefile.in Make.rules"
 ac_config_files="$ac_config_files programs/Makefile"
 
 ALL_MAKEFILES="$ALL_MAKEFILES \\
+	programs/cacls/Makefile"
+test "x$enable_cacls" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
+	cacls" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
+	cacls"
+ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
+programs/cacls/Makefile: programs/cacls/Makefile.in programs/Makeprog.rules"
+ac_config_files="$ac_config_files programs/cacls/Makefile"
+
+ALL_MAKEFILES="$ALL_MAKEFILES \\
 	programs/clock/Makefile"
 test "x$enable_clock" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
 	clock" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
@@ -28414,6 +28423,7 @@ do
     "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
     "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
     "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
+    "programs/cacls/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cacls/Makefile" ;;
     "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
     "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
     "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 591d541..083203e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2144,6 +2144,7 @@ WINE_CONFIG_MAKEFILE([libs/wine/Makefile],[Make.rules])
 WINE_CONFIG_MAKEFILE([libs/wpp/Makefile],[Make.rules])
 WINE_CONFIG_MAKEFILE([loader/Makefile],[Make.rules],[],[ALL_TOP_DIRS])
 WINE_CONFIG_MAKEFILE([programs/Makefile],[Make.rules],[],[ALL_TOP_DIRS])
+WINE_CONFIG_MAKEFILE([programs/cacls/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
 WINE_CONFIG_MAKEFILE([programs/clock/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
 WINE_CONFIG_MAKEFILE([programs/cmd/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
 WINE_CONFIG_MAKEFILE([programs/cmdlgtst/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS])
diff --git a/programs/cacls/Makefile.in b/programs/cacls/Makefile.in
new file mode 100644
index 0000000..33eee02
--- /dev/null
+++ b/programs/cacls/Makefile.in
@@ -0,0 +1,15 @@
+EXTRADEFS = -DWINE_NO_UNICODE_MACROS
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = cacls.exe
+APPMODE   = -mconsole
+IMPORTS   = kernel32
+
+C_SRCS = \
+	cacls_main.c
+
+ at MAKE_PROG_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/programs/cacls/cacls_main.c b/programs/cacls/cacls_main.c
new file mode 100644
index 0000000..a6a2949
--- /dev/null
+++ b/programs/cacls/cacls_main.c
@@ -0,0 +1,31 @@
+/*
+ * ACL viewer/editor stub
+ * Copyright (C) 2009 Andrey Turkin
+ *
+ * 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 <stdlib.h>
+#include <stdio.h>
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(cacls);
+
+int main(int argc, char** argv)
+{
+    WINE_FIXME("This is dummy cacls, not performing ACL manipulations\n");
+    return 0;
+}




More information about the wine-cvs mailing list