- Move generated files to the top of the file list.

- Rename generated file svcctl.h to svcctl_c.h.

svn path=/trunk/; revision=14647
This commit is contained in:
Eric Kohl 2005-04-17 11:01:00 +00:00
parent 99bd564c01
commit 8c8090fc65
2 changed files with 7 additions and 5 deletions

View file

@ -48,11 +48,11 @@ SECURITY_OBJECTS = \
sec/trustee.o
SERVICE_OBJECTS = \
service/svcctl_c.o \
service/eventlog.o \
service/scm.o \
service/sctrl.o \
service/undoc.o \
service/svcctl_c.o
service/undoc.o
TOKEN_OBJECTS = \
token/privilege.o \
@ -68,7 +68,7 @@ TARGET_OBJECTS = \
DEP_OBJECTS = $(TARGET_OBJECTS)
TARGET_CLEAN = service/svcctl_c.c service/svcctl.h
TARGET_CLEAN = service/svcctl_c.c service/svcctl_c.h
include $(PATH_TO_TOP)/rules.mak
@ -81,4 +81,4 @@ WIDL_FLAGS = -o \
-I $(PATH_TO_TOP)/w32api/include
service/svcctl_c.c service/svcctl.h: $(PATH_TO_TOP)/include/idl/svcctl.idl
$(WIDL) $(WIDL_FLAGS) -h -H service/svcctl.h -c -C service/svcctl_c.c $(PATH_TO_TOP)/include/idl/svcctl.idl
$(WIDL) $(WIDL_FLAGS) -h -H service/svcctl_c.h -c -C service/svcctl_c.c $(PATH_TO_TOP)/include/idl/svcctl.idl

View file

@ -13,7 +13,7 @@
/* INCLUDES ******************************************************************/
#include "advapi32.h"
#include "svcctl.h"
#include "svcctl_c.h"
#define NDEBUG
#include <debug.h>
@ -187,6 +187,8 @@ ControlService(SC_HANDLE hService,
return FALSE;
}
DPRINT1("ControlService() done\n");
return TRUE;
#endif