2008-01-07 Richard Jones <rjones@redhat.com>
+ Include mlvirtmanager in the Windows installer.
+ * wininstaller.nsis.in: Include mlvirtmanager in the Windows
+ installer.
+ * Makefile.in: Re-enable native code builds for Windows installer.
+ * mlvirtmanager/Makefile.in: Pass $(LDFLAGS) when building on
+ Windows - you need to specify the location of $GTK/lib.
+
Bundle Gtk DLLs and support files in the Windows installer.
* configure.ac: Detect library paths instead of hard-
coding them.
ifneq ($(MAKENSIS),)
wininstaller: $(PACKAGE)-$(VERSION).exe
-$(PACKAGE)-$(VERSION).exe: wininstaller.nsis all # opt
+$(PACKAGE)-$(VERSION).exe: wininstaller.nsis all opt
"$(MAKENSIS)" \
//DPACKAGE=$(PACKAGE) //DVERSION=$(VERSION) \
//DOUTFILE=$@ $<
../libvirt/mllibvirt.cma gtkInit.cmo -o $@ $^
mlvirtmanager.opt: $(VIRTMANAGER_XOBJS)
- $(OCAMLOPT) \
- $(OCAMLOPTINCS) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \
+ $(OCAMLOPT) -verbose $(OCAMLOPTINCS) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \
+ -cclib "$(LDFLAGS)" \
../libvirt/mllibvirt.cmxa gtkInit.cmx -o $@ $^
endif
Section "Programs (recommended)"\r
SetOutPath $INSTDIR\r
File "/oname=mlvirsh.exe" "mlvirsh\mlvirsh.opt"\r
- #File "/oname=mlvirtmanager.exe" "mlvirsh\mlvirtmanager.opt"\r
+ File "/oname=mlvirtmanager.exe" "mlvirsh\mlvirtmanager.opt"\r
SectionEnd\r
\r
Section "OCaml Libvirt bindings (for developers only)"\r
CreateDirectory "$SMPROGRAMS\${PACKAGE}"\r
CreateShortCut "$SMPROGRAMS\${PACKAGE}\Uninstall.lnk" "$INSTDIR\Uninstall ${PACKAGE}.exe" "" "$INSTDIR\Uninstall ${PACKAGE}.exe" 0\r
CreateShortCut "$SMPROGRAMS\${PACKAGE}\Virt Shell.lnk" "$INSTDIR\mlvirsh.exe" "" "$INSTDIR\mlvirsh.exe" 0\r
+ CreateShortCut "$SMPROGRAMS\${PACKAGE}\Virt Control.lnk" "$INSTDIR\mlvirtmanager.exe" "" "$INSTDIR\mlvirtmanager.exe" 0\r
SectionEnd\r
\r
Section "Desktop Icons"\r
CreateShortCut "$DESKTOP\Virt Shell.lnk" "$INSTDIR\mlvirsh.exe" "" "$INSTDIR\mlvirsh.exe" 0\r
+ CreateShortCut "$DESKTOP\Virt Control.lnk" "$INSTDIR\mlvirtmanager.exe" "" "$INSTDIR\mlvirtmanager.exe" 0\r
SectionEnd\r
\r
Section "Uninstall"\r
# Desktop icons\r
Delete /rebootok "$DESKTOP\Virt Shell.lnk"\r
+ Delete /rebootok "$DESKTOP\Virt Control.lnk"\r
\r
# Menu shortcuts\r
Delete /rebootok "$SMPROGRAMS\${PACKAGE}\Virt Shell.lnk"\r
+ Delete /rebootok "$SMPROGRAMS\${PACKAGE}\Virt Control.lnk"\r
Delete /rebootok "$SMPROGRAMS\${PACKAGE}\Uninstall.lnk"\r
RMDir "$SMPROGRAMS\${PACKAGE}"\r
\r