no.urls.needed
[tfs.git] / tools / tf / Makefile
blobe7364d9785b3758b41f254441eb3756248060b0a
1 thisdir = tools/tf
2 SUBDIRS =
3 include ../../build/rules.make
5 LOCAL_MCS_FLAGS = -r:Microsoft.TeamFoundation.dll -r:Microsoft.TeamFoundation.Common.dll -r:Microsoft.TeamFoundation.Client.dll -r:Microsoft.TeamFoundation.VersionControl.Client.dll -r:Microsoft.TeamFoundation.VersionControl.Common.dll -r:Mono.GetOptions.dll -r:Mono.Posix.dll
7 ifeq ($(HAVE_GLADE),no)
8 EXTRA_SOURCES += NoGui.cs
9 else
10 EXTRA_SOURCES += Gui.cs
11 LOCAL_MCS_FLAGS += -pkg:glade-sharp-2.0 -resource:login.glade
12 endif
14 ifeq ($(HAVE_MAGIC),no)
15 EXTRA_SOURCES += NoFileType.cs
16 else
17 EXTRA_SOURCES += FileType.cs
18 endif
20 ifeq ($(HAVE_GNOME_KEYRING),no)
21 EXTRA_SOURCES += NoKeyring.cs
22 else
23 EXTRA_SOURCES += Keyring.cs
24 LOCAL_MCS_FLAGS += -pkg:gnome-keyring-sharp
25 endif
27 PROGRAM = tf.exe
28 PROGRAM_INSTALL_DIR=$(prefix)/lib/teamfoundation/
30 install:
31 $(MKINSTALLDIRS) $(DESTDIR)$(prefix)/bin/
32 $(INSTALL_BIN) tf.sh $(DESTDIR)$(prefix)/bin/tf
34 uninstall:
35 -rm -f $(DESTDIR)$(prefix)/bin/tf
37 include ../../build/executable.make
39 # if you want to run the tf.exe against the MS versions of these
40 # assemblies you might find these targets useful
42 cp-mslibs:
43 cp /cygdrive/c/Program\ Files/Microsoft\ Visual\ Studio\ 8/Common7/IDE/PrivateAssemblies/Microsoft.TeamFoundation.* .
45 ondotnet:
46 csc /out:tfp.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 @tf.exe.sources