From c0f4fc49781fa7fe536263a2e55f18968b87a1d3 Mon Sep 17 00:00:00 2001 From: Andrey Turkin Date: Sun, 11 Jan 2009 22:36:53 +0300 Subject: [PATCH] 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(+) create mode 100644 programs/cacls/Makefile.in create mode 100644 programs/cacls/cacls_main.c diff --git a/.gitignore b/.gitignore index ab0eef774eb..531c2fce5e0 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 0c82d0e6a23..a3914e04abe 100755 --- a/configure +++ b/configure @@ -26928,6 +26928,15 @@ ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS 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 \\ @@ -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 591d54131a5..083203ea6d0 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 00000000000..33eee029274 --- /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 + +@MAKE_PROG_RULES@ + +@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 00000000000..a6a2949e69b --- /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 +#include + +#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; +}