Add methods and messages to retrieve specific information from beagle-info. Clients...
[beagle.git] / search / Makefile.am
blobbe43e45833e0847c58c6612c9cb9ff579eb96f46
1 CSC = mcs -debug
2 CSFLAGS = -target:exe
4 if ENABLE_DESKTOP_LAUNCH
5 CSFLAGS += -define:ENABLE_DESKTOP_LAUNCH
6 endif
8 if ENABLE_OPEN_WITH
9 CSFLAGS += -define:ENABLE_OPEN_WITH
10 endif
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
20 CSFILES =                                       \
21         $(srcdir)/Category.cs                   \
22         $(srcdir)/ConversationCategory.cs       \
23         $(srcdir)/Entry.cs                      \
24         $(srcdir)/GroupView.cs                  \
25         $(srcdir)/Panes.cs                      \
26         $(srcdir)/Search.cs                     \
27         $(srcdir)/SortedTileList.cs             \
28         $(srcdir)/Spinner.cs                    \
29         $(srcdir)/TileCategory.cs               \
30         $(srcdir)/TypeFilter.cs                 \
31         $(srcdir)/UIManager.cs
33 TILES =                                         \
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             
65 if ENABLE_OPEN_WITH
66 TILES += $(srcdir)/Tiles/OpenWithMenu.cs
67 endif
69 PAGES =                                         \
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
76 TRAY =                                          \
77         $(srcdir)/Tray/NotificationArea.cs      \
78         $(srcdir)/Tray/TrayIcon.cs
80 LOCAL_ASSEMBLIES =                      \
81         ../Util/Util.dll                \
82         ../Util/UiUtil.dll              \
83         ../images/Images.dll            \
84         ../BeagleClient/Beagle.dll
86 ASSEMBLIES =                            \
87         $(BEAGLE_UI_LIBS)               \
88         $(LOCAL_ASSEMBLIES:%=-r:%)      \
89         -r:Mono.Posix
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)
105 all: $(BIN_WRAPPERS)
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
114 uninstall-local:
115         rm -f $(DESTDIR)$(bindir)/beagle-search
117 EXTRA_DIST =                    \
118         $(CSFILES)              \
119         $(TILES)                \
120         $(PAGES)                \
121         $(TRAY)                 \
122         $(desktop_DATA).in      \
123         beagle-search.in
125 CLEANFILES =                    \
126         Search.exe              \
127         Search.exe.mdb          \
128         beagle-search           \
129         $(desktop_DATA)         \
130         $(desktop_h_files)