2006-02-27 Gabor Kelemen <kelemeng@gnome.hu>
[beagle.git] / search / Makefile.am
blob24d6b725731341d4e91e58e3455e78d6b0629f37
1 CSC = mcs -debug
2 CSFLAGS = -target:exe
4 bin_SCRIPTS = beagle-search
5 pkglib_DATA = Search.exe Search.exe.mdb
7 beagle-search: beagle-search.in
8         sed -e "s:@PKGLIBDIR@:${pkglibdir}:" < $(srcdir)/beagle-search.in > beagle-search
9         chmod a+x beagle-search
11 CSFILES =                                       \
12         $(srcdir)/Category.cs                   \
13         $(srcdir)/ConversationCategory.cs       \
14         $(srcdir)/Entry.cs                      \
15         $(srcdir)/GroupView.cs                  \
16         $(srcdir)/Panes.cs                      \
17         $(srcdir)/Search.cs                     \
18         $(srcdir)/SortedTileList.cs             \
19         $(srcdir)/Spinner.cs                    \
20         $(srcdir)/TileCategory.cs               \
21         $(srcdir)/TypeFilter.cs                 \
22         $(srcdir)/UIManager.cs
24 TILES =                                         \
25         $(srcdir)/Tiles/ActionMenuItem.cs       \
26         $(srcdir)/Tiles/Application.cs          \
27         $(srcdir)/Tiles/Audio.cs                \
28         $(srcdir)/Tiles/CApplet.cs              \
29         $(srcdir)/Tiles/Contact.cs              \
30         $(srcdir)/Tiles/DetailsPane.cs          \
31         $(srcdir)/Tiles/File.cs                 \
32         $(srcdir)/Tiles/Folder.cs               \
33         $(srcdir)/Tiles/HitFlavor.cs            \
34         $(srcdir)/Tiles/IMLog.cs                \
35         $(srcdir)/Tiles/Image.cs                \
36         $(srcdir)/Tiles/MailMessage.cs          \
37         $(srcdir)/Tiles/MailAttachment.cs       \
38         $(srcdir)/Tiles/Note.cs                 \
39         $(srcdir)/Tiles/Presentation.cs         \
40         $(srcdir)/Tiles/RSSFeed.cs              \
41         $(srcdir)/Tiles/Spreadsheet.cs          \
42         $(srcdir)/Tiles/TextDocument.cs         \
43         $(srcdir)/Tiles/ThumbnailFactory.cs     \
44         $(srcdir)/Tiles/Tile.cs                 \
45         $(srcdir)/Tiles/TileAction.cs           \
46         $(srcdir)/Tiles/TileActivator.cs        \
47         $(srcdir)/Tiles/TileFlat.cs             \
48         $(srcdir)/Tiles/TileGroup.cs            \
49         $(srcdir)/Tiles/TileTemplate.cs         \
50         $(srcdir)/Tiles/Utils.cs                \
51         $(srcdir)/Tiles/Video.cs                \
52         $(srcdir)/Tiles/WebHistory.cs           \
53         $(srcdir)/Tiles/WidgetFu.cs
56 PAGES =                                         \
57         $(srcdir)/Pages/Base.cs                 \
58         $(srcdir)/Pages/NoMatch.cs              \
59         $(srcdir)/Pages/QuickTips.cs            \
60         $(srcdir)/Pages/StartDaemon.cs
62 TRAY =                                          \
63         $(srcdir)/Tray/NotificationArea.cs      \
64         $(srcdir)/Tray/TrayIcon.cs
66 LOCAL_ASSEMBLIES =                      \
67         ../Util/Util.dll                \
68         ../Util/UiUtil.dll              \
69         ../images/Images.dll            \
70         ../BeagleClient/Beagle.dll
72 ASSEMBLIES =                            \
73         $(BEAGLE_UI_LIBS)               \
74         $(LOCAL_ASSEMBLIES:%=-r:%)      \
75         -r:Mono.Posix
77 Search.exe: $(CSFILES) $(TILES) $(PAGES) $(TRAY) $(LOCAL_ASSEMBLIES)
78         $(CSC) -out:$@ $(CSFLAGS) $(CSFILES) $(TILES) $(PAGES) $(TRAY) $(ASSEMBLIES)
80 @INTLTOOL_DESKTOP_RULE@
82 desktop_in_files = beagle-search.desktop.in
83 desktop_files = $(desktop_in_files:.desktop.in=.desktop)
84 desktop_h_files = $(desktop_in_files:.in=.in.h)
86 desktopdir       = $(datadir)/applications
87 desktop_DATA     = $(desktop_files)
89 EXTRA_DIST =                    \
90         $(CSFILES)              \
91         $(TILES)                \
92         $(PAGES)                \
93         $(TRAY)                 \
94         $(desktop_DATA).in      \
95         beagle-search.in
97 CLEANFILES =                    \
98         Search.exe              \
99         Search.exe.mdb          \
100         beagle-search           \
101         $(desktop_DATA)         \
102         $(desktop_h_files)