Show total number of results for google driver too. Helps to know if my query resulte...
[beagle.git] / search / Makefile.am
blob4cd4c6bc4f8b2cccecacef5f3786a7a0aa2c879f
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 if ENABLE_GALAGO
13 CSFLAGS += -define:ENABLE_GALAGO
14 endif
16 pkglib_DATA = Search.exe Search.exe.mdb
18 BIN_WRAPPERS = beagle-search
20 beagle-search: beagle-search.in
21         sed                                     \
22         -e "s:@pkglibdir@:${pkglibdir}:"        \
23         -e "s:@bash@:$(BASH):"                  \
24         < $(srcdir)/beagle-search.in > beagle-search
25         chmod a+x beagle-search
27 CSFILES =                                       \
28         $(srcdir)/Category.cs                   \
29         $(srcdir)/ConversationCategory.cs       \
30         $(srcdir)/Entry.cs                      \
31         $(srcdir)/GroupView.cs                  \
32         $(srcdir)/Panes.cs                      \
33         $(srcdir)/Search.cs                     \
34         $(srcdir)/SortedTileList.cs             \
35         $(srcdir)/Spinner.cs                    \
36         $(srcdir)/TileCategory.cs               \
37         $(srcdir)/TypeFilter.cs                 \
38         $(srcdir)/UIManager.cs
40 TILES =                                         \
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             
73 if ENABLE_OPEN_WITH
74 TILES += $(srcdir)/Tiles/OpenWithMenu.cs
75 endif
77 PAGES =                                         \
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
84 TRAY =                                          \
85         $(srcdir)/Tray/NotificationArea.cs      \
86         $(srcdir)/Tray/TrayIcon.cs
88 LOCAL_ASSEMBLIES =                      \
89         ../Util/Util.dll                \
90         ../Util/UiUtil.dll              \
91         ../images/Images.dll            \
92         ../BeagleClient/Beagle.dll
94 ASSEMBLIES =                            \
95         $(BEAGLE_UI_LIBS)               \
96         $(LOCAL_ASSEMBLIES:%=-r:%)      \
97         -r:Mono.Posix
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)
113 all: $(BIN_WRAPPERS)
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
122 uninstall-local:
123         rm -f $(DESTDIR)$(bindir)/beagle-search
125 EXTRA_DIST =                    \
126         $(CSFILES)              \
127         $(TILES)                \
128         $(PAGES)                \
129         $(TRAY)                 \
130         $(desktop_DATA).in      \
131         beagle-search.in        \
132         beagle-search.desktop.in.in
134 CLEANFILES =                    \
135         Search.exe              \
136         Search.exe.mdb          \
137         beagle-search           \
138         $(desktop_DATA)         \
139         $(desktop_h_files)