4 if ENABLE_DESKTOP_LAUNCH
5 CSFLAGS += -define:ENABLE_DESKTOP_LAUNCH
9 CSFLAGS += -define:ENABLE_OPEN_WITH
13 CSFLAGS += -define:ENABLE_GALAGO
16 pkglib_DATA = Search.exe Search.exe.mdb
18 BIN_WRAPPERS = beagle-search
20 beagle-search: beagle-search.in
22 -e "s:@pkglibdir@:${pkglibdir}:" \
23 -e "s:@bash@:$(BASH):" \
24 < $(srcdir)/beagle-search.in > beagle-search
25 chmod a+x beagle-search
28 $(srcdir)/Category.cs \
29 $(srcdir)/ConversationCategory.cs \
31 $(srcdir)/GroupView.cs \
34 $(srcdir)/SortedTileList.cs \
35 $(srcdir)/Spinner.cs \
36 $(srcdir)/TileCategory.cs \
37 $(srcdir)/TypeFilter.cs \
38 $(srcdir)/UIManager.cs
41 $(srcdir)/Tiles/ActionMenuItem.cs \
42 $(srcdir)/Tiles/Application.cs \
43 $(srcdir)/Tiles/AssemblyInfo.cs \
44 $(srcdir)/Tiles/Audio.cs \
45 $(srcdir)/Tiles/CApplet.cs \
46 $(srcdir)/Tiles/Calendar.cs \
47 $(srcdir)/Tiles/Contact.cs \
48 $(srcdir)/Tiles/DetailsPane.cs \
49 $(srcdir)/Tiles/File.cs \
50 $(srcdir)/Tiles/Folder.cs \
51 $(srcdir)/Tiles/HitFlavor.cs \
52 $(srcdir)/Tiles/IMLog.cs \
53 $(srcdir)/Tiles/Image.cs \
54 $(srcdir)/Tiles/MailMessage.cs \
55 $(srcdir)/Tiles/MailAttachment.cs \
56 $(srcdir)/Tiles/Note.cs \
57 $(srcdir)/Tiles/Presentation.cs \
58 $(srcdir)/Tiles/RSSFeed.cs \
59 $(srcdir)/Tiles/Spreadsheet.cs \
60 $(srcdir)/Tiles/TextDocument.cs \
61 $(srcdir)/Tiles/ThumbnailFactory.cs \
62 $(srcdir)/Tiles/Tile.cs \
63 $(srcdir)/Tiles/TileAction.cs \
64 $(srcdir)/Tiles/TileActivator.cs \
65 $(srcdir)/Tiles/TileFlat.cs \
66 $(srcdir)/Tiles/TileGroup.cs \
67 $(srcdir)/Tiles/TileTemplate.cs \
68 $(srcdir)/Tiles/Utils.cs \
69 $(srcdir)/Tiles/Video.cs \
70 $(srcdir)/Tiles/WebHistory.cs \
71 $(srcdir)/Tiles/WidgetFu.cs
74 TILES += $(srcdir)/Tiles/OpenWithMenu.cs
78 $(srcdir)/Pages/Base.cs \
79 $(srcdir)/Pages/NoMatch.cs \
80 $(srcdir)/Pages/QuickTips.cs \
81 $(srcdir)/Pages/RootUser.cs \
82 $(srcdir)/Pages/StartDaemon.cs
85 $(srcdir)/Tray/NotificationArea.cs \
86 $(srcdir)/Tray/TrayIcon.cs
91 ../images/Images.dll \
92 ../BeagleClient/Beagle.dll
96 $(LOCAL_ASSEMBLIES:%=-r:%) \
99 Search.exe: $(CSFILES) $(TILES) $(PAGES) $(TRAY) $(LOCAL_ASSEMBLIES)
100 $(CSC) -out:$@ $(CSFLAGS) $(CSFILES) $(TILES) $(PAGES) $(TRAY) $(ASSEMBLIES)
102 Search.exe.mdb: Search.exe
104 @INTLTOOL_DESKTOP_RULE@
106 desktop_in_files = beagle-search.desktop.in
107 desktop_files = $(desktop_in_files:.desktop.in=.desktop)
108 desktop_h_files = $(desktop_in_files:.in=.in.h)
110 desktopdir = $(datadir)/applications
111 desktop_DATA = $(desktop_files)
115 install-data-local: $(BIN_WRAPPERS)
116 $(mkinstalldirs) $(DESTDIR)$(bindir)
118 @sed -e "s|\#installed=1|installed=1|" < beagle-search > beagle-search.tmp
119 $(INSTALL_SCRIPT) beagle-search.tmp $(DESTDIR)$(bindir)/beagle-search
120 @rm -f beagle-search.tmp
123 rm -f $(DESTDIR)$(bindir)/beagle-search
132 beagle-search.desktop.in.in