Windows installer for mech_eap
[mech_eap.git] / Makefile.am
index 0165219..3fca34b 100644 (file)
@@ -2,3 +2,9 @@ AUTOMAKE_OPTIONS = foreign
 ACLOCAL_AMFLAGS = -I m4
 SUBDIRS = libeap mech_eap
 EXTRA_DIST = mech_eap.spec
+
+if TARGET_WINDOWS
+mech_eap.msi: windows/app.wxs windows/config.wxi mech_eap/mech_eap.dll
+       "${WIX_CANDLE}" $<
+       "${WIX_LIGHT}" -b "${WINDIR}\system32" -b "${MSVCREDIST}" -b "${KRB5DIR}bin" -b /mingw -o mech_eap.msi app.wixobj
+endif
\ No newline at end of file