4 if ENABLE_DESKTOP_LAUNCH
5 CSFLAGS += -define:ENABLE_DESKTOP_LAUNCH
9 CSFLAGS += -define:ENABLE_OPEN_WITH
13 CSFLAGS += -define:ENABLE_GALAGO
17 CSFLAGS += -define:ENABLE_THUNDERBIRD
20 pkglib_DATA = Search.exe Search.exe.mdb
22 BIN_WRAPPERS = beagle-search
24 beagle-search: beagle-search.in
26 -e "s:@pkglibdir@:${pkglibdir}:" \
27 -e "s:@bash@:$(BASH):" \
28 < $(srcdir)/beagle-search.in > beagle-search
29 chmod a+x beagle-search
32 $(srcdir)/Category.cs \
33 $(srcdir)/ConversationCategory.cs \
35 $(srcdir)/GroupView.cs \
36 $(srcdir)/NotificationArea.cs \
39 $(srcdir)/SortedTileList.cs \
40 $(srcdir)/Spinner.cs \
41 $(srcdir)/TileCategory.cs \
42 $(srcdir)/TypeFilter.cs \
43 $(srcdir)/UIManager.cs
46 $(srcdir)/Tiles/ActionMenuItem.cs \
47 $(srcdir)/Tiles/Application.cs \
48 $(srcdir)/Tiles/ArchivedFile.cs \
49 $(srcdir)/Tiles/AssemblyInfo.cs \
50 $(srcdir)/Tiles/Audio.cs \
51 $(srcdir)/Tiles/CApplet.cs \
52 $(srcdir)/Tiles/Calendar.cs \
53 $(srcdir)/Tiles/Contact.cs \
54 $(srcdir)/Tiles/DetailsPane.cs \
55 $(srcdir)/Tiles/File.cs \
56 $(srcdir)/Tiles/Folder.cs \
57 $(srcdir)/Tiles/HitFlavor.cs \
58 $(srcdir)/Tiles/IMLog.cs \
59 $(srcdir)/Tiles/Image.cs \
60 $(srcdir)/Tiles/MailMessage.cs \
61 $(srcdir)/Tiles/MailAttachment.cs \
62 $(srcdir)/Tiles/Note.cs \
63 $(srcdir)/Tiles/Presentation.cs \
64 $(srcdir)/Tiles/RSSFeed.cs \
65 $(srcdir)/Tiles/Spreadsheet.cs \
66 $(srcdir)/Tiles/TextDocument.cs \
67 $(srcdir)/Tiles/ThumbnailFactory.cs \
68 $(srcdir)/Tiles/Tile.cs \
69 $(srcdir)/Tiles/TileAction.cs \
70 $(srcdir)/Tiles/TileActivator.cs \
71 $(srcdir)/Tiles/TileFlat.cs \
72 $(srcdir)/Tiles/TileGroup.cs \
73 $(srcdir)/Tiles/TileTemplate.cs \
74 $(srcdir)/Tiles/Utils.cs \
75 $(srcdir)/Tiles/Video.cs \
76 $(srcdir)/Tiles/WebHistory.cs \
77 $(srcdir)/Tiles/WidgetFu.cs
80 TILES += $(srcdir)/Tiles/OpenWithMenu.cs
84 $(srcdir)/Pages/Base.cs \
85 $(srcdir)/Pages/NoMatch.cs \
86 $(srcdir)/Pages/QuickTips.cs \
87 $(srcdir)/Pages/RootUser.cs \
88 $(srcdir)/Pages/StartDaemon.cs
91 $(srcdir)/Tray/NotificationArea.cs \
92 $(srcdir)/Tray/TrayIcon.cs
97 ../images/Images.dll \
98 ../BeagleClient/Beagle.dll
102 $(LOCAL_ASSEMBLIES:%=-r:%) \
105 Search.exe: $(CSFILES) $(TILES) $(PAGES) $(TRAY) $(LOCAL_ASSEMBLIES)
106 $(CSC) -out:$@ $(CSFLAGS) $(CSFILES) $(TILES) $(PAGES) $(TRAY) $(ASSEMBLIES)
108 Search.exe.mdb: Search.exe
110 @INTLTOOL_DESKTOP_RULE@
112 desktop_in_files = beagle-search.desktop.in
113 desktop_files = $(desktop_in_files:.desktop.in=.desktop)
114 desktop_h_files = $(desktop_in_files:.in=.in.h)
116 desktopdir = $(datadir)/applications
117 desktop_DATA = $(desktop_files)
121 install-data-local: $(BIN_WRAPPERS)
122 $(mkinstalldirs) $(DESTDIR)$(bindir)
124 @sed -e "s|\#installed=1|installed=1|" < beagle-search > beagle-search.tmp
125 $(INSTALL_SCRIPT) beagle-search.tmp $(DESTDIR)$(bindir)/beagle-search
126 @rm -f beagle-search.tmp
129 rm -f $(DESTDIR)$(bindir)/beagle-search
138 beagle-search.desktop.in.in