# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
# winlauncher.exe and opendj_service.exe that are used by OpenDS in
# The compilation of winlauncher.exe is straightforward but in the case of
# opendj_service.exe uses a Message File called EventLogMsg.mc which
# During compilation the first step is to generate EventLogMsg.h and
# EventLogMsg.res using the rc.exe and mc.exe utilities.
# EventLogMsg.h contains some references to the message IDs that are sent to
# the Windows Event Log and is required in order service.c to be compiled.
# Once the EvenLogMsg.h file is generated we can compile the service.c and
# common.c and finally we link the service.obj, common.obj and
# EventLogMsg.res files and we generate the opendj_service.exe executable.
$(RES_FILE):
$(MT) -manifest "$(LAUNCHER_ADMINISTRATOR_MANIFEST_FILE)" -outputresource:"$(LAUNCHER_ADMINISTRATOR_PROGNAME)";#1
del $(SERVICE_OBJS) $(EVENTLOG_H) $(WINLAUNCHER_OBJS) $(RC_FILE) $(RES_FILE) $(SERVICE_PROGNAME) $(WINLAUNCHER_PROGNAME) $(LAUNCHER_ADMINISTRATOR_PROGNAME) core