win32: test 'BUILD_MSI' condition and build MSI

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4934 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
vtarasov 2010-12-09 09:21:57 +00:00
parent 2aa034d467
commit aed53df545
1 changed files with 6 additions and 1 deletions

View File

@ -8,8 +8,13 @@ SUBDIRS = common scconf pkcs15init libopensc pkcs11 tools tests
SUBDIRS = $(SUBDIRS) cardmod
!ENDIF
!IF "$(WIX_MSI_DEF)" == "/DBUILD_MSI"
SUBDIRS = $(SUBDIRS) "$(TOPDIR)\win32\opensc-msi"
!ENDIF
all::
all depend install clean::
@for %i in ( $(SUBDIRS) ) do \
@cmd /c "cd %i && $(MAKE) /nologo /f Makefile.mak $@"
@cmd /c "cd %i && $(MAKE) /nologo /f Makefile.mak $@"