add openbsd.h to EXTRA_DIST
[monky] / src / Makefile.am
1 # Conky, a system monitor, based on torsmo
2 #
3 # Any original torsmo code is licensed under the BSD license
4 #
5 # All code written since the fork of torsmo is licensed under the GPL
6 #
7 # Please see COPYING for details
8 #
9 # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
10 # Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
11 # All rights reserved.
12 #
13 # This program is free software: you can redistribute it and/or modify
14 # it under the terms of the GNU General Public License as published by
15 # the Free Software Foundation, either version 3 of the License, or
16 # (at your option) any later version.
17 #
18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 # GNU General Public License for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
24 #
25 # $Id$
26
27 INCLUDES = -DSYSTEM_CONFIG_FILE=\"$(sysconfdir)/conky/conky.conf\"
28
29 bin_PROGRAMS = conky
30
31 if BUILD_AUDACIOUS
32 audacious = audacious.c audacious.h
33 endif
34
35 if BUILD_BMPX
36 bmpx = bmpx.c
37 endif
38
39 if BUILD_MPD
40 mpd = mpd.c libmpdclient.c
41 endif
42
43 if BUILD_MOC
44 moc = moc.c
45 endif
46
47 if BUILD_XMMS2
48 xmms2 = xmms2.c
49 endif
50
51 if BUILD_LINUX
52 linux = linux.c top.c diskio.c users.c
53 PTHREAD_LIBS =  -lpthread
54 endif
55
56 #if BUILD_SOLARIS
57 #solaris = solaris.c
58 #endif
59
60 if BUILD_FREEBSD
61 freebsd = freebsd.c
62 PTHREAD_LIBS =  -pthread
63 endif
64
65 #if BUILD_NETBSD
66 #netbsd = netbsd.c
67 #endif
68
69 if BUILD_OPENBSD
70 openbsd = openbsd.c
71 PTHREAD_LIBS =  -pthread
72 endif
73
74 if BUILD_PORT_MONITORS
75 port_monitors = libtcp-portmon.h libtcp-portmon.c
76 endif
77
78 if BUILD_X11
79 x11 = x11.c
80 endif
81
82 if BUILD_HDDTEMP
83 hddtemp = hddtemp.c
84 endif
85
86 if BUILD_EVE
87 eve = eve.c eve.h
88 endif
89
90 if BUILD_RSS
91 rss = rss.c prss.c prss.h
92 endif
93
94 if BUILD_SMAPI
95 smapi = smapi.c smapi.h
96 endif
97
98 if BUILD_NVIDIA
99 nvidia = nvidia.c nvidia.h
100 endif
101
102 conky_SOURCES =                 \
103         $(audacious)            \
104         $(bmpx)                 \
105         common.c                \
106         conky.c                 \
107         conky.h                 \
108         $(freebsd)              \
109         fs.c                    \
110         $(hddtemp)              \
111         $(linux)                \
112         $(nvidia)               \
113         mail.c                  \
114         mixer.c                 \
115         $(mpd)                  \
116   $(moc) \
117         $(netbsd)               \
118         $(openbsd)              \
119         $(port_monitors)        \
120         $(eve)                  \
121         $(rss)                  \
122         $(solaris)              \
123         timed_thread.c          \
124         timed_thread.h          \
125         mboxscan.c              \
126         mboxscan.h              \
127         $(x11)                  \
128         $(xmms2)                \
129         $(smapi)
130
131 conky_LDFLAGS =                                 \
132         $(PTHREAD_LIBS)                         \
133         -lm
134
135 EXTRA_DIST =                    \
136         audacious.c             \
137         audacious.h             \
138         bmpx.c                  \
139         common.h                \
140         freebsd.c               \
141         freebsd.h               \
142         fs.h                    \
143         hddtemp.c               \
144         hddtemp.h               \
145         linux.c                 \
146         linux.h                 \
147         libmpdclient.c          \
148         libmpdclient.h          \
149         libtcp-portmon.c        \
150         libtcp-portmon.h        \
151         rss.h                   \
152         mail.h                  \
153         mixer.h                 \
154         moc.h                   \
155         moc.c                   \
156         mpd.c                   \
157         mpd.h                   \
158         netbsd.c                \
159         nvidia.c                \
160         nvidia.h                \
161         openbsd.c               \
162         openbsd.h               \
163         solaris.c               \
164         top.h                   \
165         diskio.h                \
166         x11.c                   \
167         x11.h                   \
168         xmms2.c                 \
169         xmms2.h                 \
170         smapi.c                 \
171         users.c
172
173
174 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: