Makefile.am 935 Bytes
Newer Older
1 2
SUBDIRS  = menu mailcheck clock launcher batmon netwatch logout \
	@PROGRAMS_PANEL_CDPLAYER@
Elliot Lee's avatar
Elliot Lee committed
3 4

INCLUDES =	 			\
Raja R Harinath's avatar
Raja R Harinath committed
5
	-I$(includedir) $(X_CFLAGS)
Elliot Lee's avatar
Elliot Lee committed
6

7
bin_PROGRAMS = panel clock_applet
Elliot Lee's avatar
Elliot Lee committed
8 9 10 11 12 13 14 15 16 17

panel_SOURCES = \
	gdkextra.c	\
	gdkextra.h	\
	applet_files.c	\
	applet_files.h	\
	applet_cmds.h	\
	panel_cmds.h	\
	main.c		\
	panel.c		\
18
	panel.h         \
19 20
	panel-widget.c  \
	panel-widget.h  \
21 22
	panel_config.c  \
	panel_config.h
Elliot Lee's avatar
Elliot Lee committed
23

24
panel_LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(DL_LIB)
Elliot Lee's avatar
Elliot Lee committed
25

26 27 28 29 30
clock_applet_SOURCES = \
	clock.c

clock_applet_LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS)

31 32 33 34 35 36 37 38 39
data_DATA = panelrc

## Why not just make this via configure?  Because @datadir@ will be
## expanded incorrectly.
panelrc: panelrc.in Makefile
## Why do a sed and then an mv?  To avoid problems if the user
## interrupts.
	sed -e 's,\@datadir\@,$(datadir),g' < $(srcdir)/panelrc.in \
	  > panelrc.tmp && mv -f panelrc.tmp panelrc
40

41
MOSTLYCLEANFILES = panelrc
42 43

EXTRA_DIST = panelrc.in