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