services.exe: Add a new program.

This commit is contained in:
Mikołaj Zalewski 2008-03-15 09:49:42 +01:00 committed by Alexandre Julliard
parent 0ab270e41a
commit 7bd0efa123
7 changed files with 51 additions and 0 deletions

1
.gitignore vendored
View File

@ -582,6 +582,7 @@ programs/rpcss/irot_s.c
programs/rpcss/rpcss
programs/rundll32/rundll32
programs/secedit/secedit
programs/services/services
programs/spoolsv/spoolsv
programs/start/start
programs/svchost/svchost

View File

@ -539,6 +539,7 @@ ALL_MAKEFILES = \
programs/rpcss/Makefile \
programs/rundll32/Makefile \
programs/secedit/Makefile \
programs/services/Makefile \
programs/spoolsv/Makefile \
programs/start/Makefile \
programs/svchost/Makefile \
@ -962,6 +963,7 @@ programs/regsvr32/Makefile: programs/regsvr32/Makefile.in programs/Makeprog.rule
programs/rpcss/Makefile: programs/rpcss/Makefile.in programs/Makeprog.rules
programs/rundll32/Makefile: programs/rundll32/Makefile.in programs/Makeprog.rules
programs/secedit/Makefile: programs/secedit/Makefile.in programs/Makeprog.rules
programs/services/Makefile: programs/services/Makefile.in programs/Makeprog.rules
programs/spoolsv/Makefile: programs/spoolsv/Makefile.in programs/Makeprog.rules
programs/start/Makefile: programs/start/Makefile.in programs/Makeprog.rules
programs/svchost/Makefile: programs/svchost/Makefile.in programs/Makeprog.rules

3
configure vendored
View File

@ -22026,6 +22026,8 @@ ac_config_files="$ac_config_files programs/rundll32/Makefile"
ac_config_files="$ac_config_files programs/secedit/Makefile"
ac_config_files="$ac_config_files programs/services/Makefile"
ac_config_files="$ac_config_files programs/spoolsv/Makefile"
ac_config_files="$ac_config_files programs/start/Makefile"
@ -23035,6 +23037,7 @@ do
"programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
"programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
"programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
"programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
"programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
"programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
"programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;

View File

@ -2042,6 +2042,7 @@ AC_CONFIG_FILES([programs/regsvr32/Makefile])
AC_CONFIG_FILES([programs/rpcss/Makefile])
AC_CONFIG_FILES([programs/rundll32/Makefile])
AC_CONFIG_FILES([programs/secedit/Makefile])
AC_CONFIG_FILES([programs/services/Makefile])
AC_CONFIG_FILES([programs/spoolsv/Makefile])
AC_CONFIG_FILES([programs/start/Makefile])
AC_CONFIG_FILES([programs/svchost/Makefile])

View File

@ -27,6 +27,7 @@ SUBDIRS = \
rpcss \
rundll32 \
secedit \
services \
spoolsv \
start \
svchost \
@ -73,6 +74,7 @@ INSTALLSUBDIRS = \
rpcss \
rundll32 \
secedit \
services \
spoolsv \
start \
svchost \

View File

@ -0,0 +1,14 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = services.exe
APPMODE = -mconsole
IMPORTS = kernel32
C_SRCS = \
services.c
@MAKE_PROG_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

View File

@ -0,0 +1,28 @@
/*
* Services - controls services keeps track of their state
*
* Copyright 2007 Google (Mikolaj Zalewski)
*
* 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
*/
#define WIN32_LEAN_AND_MEAN
#include <stdarg.h>
int main(int argc, char *argv[])
{
return 0;
}