4 if ENABLE_DESKTOP_LAUNCH
5 CSFLAGS += -define:ENABLE_DESKTOP_LAUNCH
8 pkglib_DATA = Search.exe Search.exe.mdb
10 BIN_WRAPPERS = beagle-search
12 beagle-search: beagle-search.in
13 sed -e "s:@pkglibdir@:${pkglibdir}:" < $(srcdir)/beagle-search.in > beagle-search
14 chmod a+x beagle-search
17 $(srcdir)/Category.cs \
18 $(srcdir)/ConversationCategory.cs \
20 $(srcdir)/GroupView.cs \
23 $(srcdir)/SortedTileList.cs \
24 $(srcdir)/Spinner.cs \
25 $(srcdir)/TileCategory.cs \
26 $(srcdir)/TypeFilter.cs \
27 $(srcdir)/UIManager.cs
30 $(srcdir)/Tiles/ActionMenuItem.cs \
31 $(srcdir)/Tiles/Application.cs \
32 $(srcdir)/Tiles/Audio.cs \
33 $(srcdir)/Tiles/CApplet.cs \
34 $(srcdir)/Tiles/Contact.cs \
35 $(srcdir)/Tiles/DetailsPane.cs \
36 $(srcdir)/Tiles/File.cs \
37 $(srcdir)/Tiles/Folder.cs \
38 $(srcdir)/Tiles/HitFlavor.cs \
39 $(srcdir)/Tiles/IMLog.cs \
40 $(srcdir)/Tiles/Image.cs \
41 $(srcdir)/Tiles/MailMessage.cs \
42 $(srcdir)/Tiles/MailAttachment.cs \
43 $(srcdir)/Tiles/Note.cs \
44 $(srcdir)/Tiles/Presentation.cs \
45 $(srcdir)/Tiles/RSSFeed.cs \
46 $(srcdir)/Tiles/Spreadsheet.cs \
47 $(srcdir)/Tiles/TextDocument.cs \
48 $(srcdir)/Tiles/ThumbnailFactory.cs \
49 $(srcdir)/Tiles/Tile.cs \
50 $(srcdir)/Tiles/TileAction.cs \
51 $(srcdir)/Tiles/TileActivator.cs \
52 $(srcdir)/Tiles/TileFlat.cs \
53 $(srcdir)/Tiles/TileGroup.cs \
54 $(srcdir)/Tiles/TileTemplate.cs \
55 $(srcdir)/Tiles/Utils.cs \
56 $(srcdir)/Tiles/Video.cs \
57 $(srcdir)/Tiles/WebHistory.cs \
58 $(srcdir)/Tiles/WidgetFu.cs
62 $(srcdir)/Pages/Base.cs \
63 $(srcdir)/Pages/NoMatch.cs \
64 $(srcdir)/Pages/QuickTips.cs \
65 $(srcdir)/Pages/RootUser.cs \
66 $(srcdir)/Pages/StartDaemon.cs
69 $(srcdir)/Tray/NotificationArea.cs \
70 $(srcdir)/Tray/TrayIcon.cs
75 ../images/Images.dll \
76 ../BeagleClient/Beagle.dll
80 $(LOCAL_ASSEMBLIES:%=-r:%) \
83 Search.exe: $(CSFILES) $(TILES) $(PAGES) $(TRAY) $(LOCAL_ASSEMBLIES)
84 $(CSC) -out:$@ $(CSFLAGS) $(CSFILES) $(TILES) $(PAGES) $(TRAY) $(ASSEMBLIES)
86 Search.exe.mdb: Search.exe
88 @INTLTOOL_DESKTOP_RULE@
90 desktop_in_files = beagle-search.desktop.in
91 desktop_files = $(desktop_in_files:.desktop.in=.desktop)
92 desktop_h_files = $(desktop_in_files:.in=.in.h)
94 desktopdir = $(datadir)/applications
95 desktop_DATA = $(desktop_files)
99 install-data-local: $(BIN_WRAPPERS)
100 $(mkinstalldirs) $(DESTDIR)$(bindir)
102 @sed -e "s|\#installed=1|installed=1|" < beagle-search > beagle-search.tmp
103 $(INSTALL_SCRIPT) beagle-search.tmp $(DESTDIR)$(bindir)/beagle-search
104 @rm -f beagle-search.tmp
107 rm -f $(DESTDIR)$(bindir)/beagle-search