2011-03-31 09:18:23 +00:00
|
|
|
TOPDIR = ..
|
|
|
|
|
|
|
|
!INCLUDE $(TOPDIR)\win32\Make.rules.mak
|
2002-06-14 12:52:56 +00:00
|
|
|
|
2015-04-25 17:30:31 +00:00
|
|
|
all: versioninfo-customactions.res config.h
|
2002-06-14 12:52:56 +00:00
|
|
|
|
|
|
|
config.h: winconfig.h
|
2011-04-04 06:42:34 +00:00
|
|
|
copy /y winconfig.h config.h
|
2010-05-01 12:15:36 +00:00
|
|
|
|
2015-04-25 17:30:31 +00:00
|
|
|
customactions.dll: versioninfo-customactions.res customactions.obj
|
2015-04-24 13:58:54 +00:00
|
|
|
echo LIBRARY $* > $*.def
|
|
|
|
echo EXPORTS >> $*.def
|
|
|
|
type customactions.exports >> $*.def
|
2015-09-30 04:26:13 +00:00
|
|
|
link /dll $(LINKFLAGS) /def:$*.def /out:customactions.dll versioninfo-customactions.res customactions.obj msi.lib $(WIX_LIBS) Advapi32.lib User32.lib Version.lib Shell32.lib
|
2015-04-24 13:58:54 +00:00
|
|
|
|
2011-03-31 09:18:23 +00:00
|
|
|
OpenSC.msi: OpenSC.wixobj
|
2015-09-11 08:55:34 +00:00
|
|
|
"$(WIX_PATH)\bin\light.exe" -sh -ext WixUIExtension -ext WiXUtilExtension $?
|
2010-05-01 12:15:36 +00:00
|
|
|
|
2015-04-24 13:58:54 +00:00
|
|
|
OpenSC.wixobj: OpenSC.wxs customactions.dll
|
2015-09-11 08:55:34 +00:00
|
|
|
"$(WIX_PATH)\bin\candle.exe" -ext WiXUtilExtension -dSOURCE_DIR=$(TOPDIR) $(CANDLEFLAGS) OpenSC.wxs
|
2011-03-31 09:18:23 +00:00
|
|
|
|
|
|
|
clean::
|
|
|
|
del /Q config.h *.msi *.wixobj *.wixpdb
|