show the difference between two versions for a specified path
[tfs.git] / tools / opentf / Makefile
blob0f11f9e0471e92b99f6cab2c73eaff94eff77b0d
1 thisdir = tools/opentf
2 SUBDIRS =
3 include ../../build/rules.make
5 ifeq ($(HAVE_GTK),yes)
6 EXTRA_SOURCES += ExploreCommand.cs Gui.cs
7 LOCAL_MCS_FLAGS += -pkg:gtk-sharp-2.0 -r:Gtk.TeamFoundation.dll -d:HAVE_GTK
8 else
9 EXTRA_SOURCES += NoGui.cs
10 endif
12 PROGRAM = opentf.exe
13 PROGRAM_INSTALL_DIR=$(prefix)/lib/opentf/
15 install:
16 $(MKINSTALLDIRS) $(DESTDIR)$(prefix)/bin/
17 $(INSTALL_BIN) tf.sh $(DESTDIR)$(prefix)/bin/tf
19 uninstall:
20 -rm -f $(DESTDIR)$(prefix)/bin/tf
22 include ../../build/executable.make
24 cp-mslibs:
25 cp /cygdrive/c/Program\ Files/Microsoft\ Visual\ Studio\ 8/Common7/IDE/PrivateAssemblies/Microsoft.TeamFoundation.* .
27 ondotnet:
28 csc /out:opentf.exe $(EXTRA_SOURCES) -r:Microsoft.TeamFoundation.dll -r:Microsoft.TeamFoundation.Client.dll -r:Microsoft.TeamFoundation.VersionControl.Client.dll -r:Microsoft.TeamFoundation.VersionControl.Common.dll -r:Microsoft.TeamFoundation.Common.dll -r:Mono.GetOptions.dll -r:System.Configuration.dll @opentf.exe.sources