From 68f5774cb6a8a8a31f6f530b99fdcb7f1c5695fa Mon Sep 17 00:00:00 2001 From: David Date: Thu, 13 Feb 2014 19:00:50 +1300 Subject: First commit, only original (broken) source --- src/Makefile.am | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Makefile.am (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..f388e14 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,20 @@ +bin_PROGRAMS = trayfreq trayfreq-set + + +trayfreq_SOURCES = getcore.c getcore.h getfreq.c getfreq.h getgov.c \ +getgov.h tray.c tray.h trayfreq.c utilities.c utilities.h \ +widget_manager.c widget_manager.h trayfreq_set_interface.c \ +trayfreq_set_interface.h config_file.c config_file.h defaults.c \ +defaults.h getbat.c getbat.h bat_tray.c bat_tray.h +trayfreq_CFLAGS = $(GTK_CFLAGS) $(GLIB_CFLAGS) +trayfreq_LDFLAGS = $(GTK_LIBS) $(GLIB_LIBS) -lm + +trayfreq_set_CFLAGS = $(GTK_CFLAGS) $(GLIB_CFLAGS) +trayfreq_set_LDFLAGS = $(GTK_LIBS) $(GLIB_LIBS) -lm +trayfreq_set_SOURCES = trayfreq_set.c getfreq.c getcore.c + + +install-exec-hook: +if SET_SUID + chmod -f 4755 ${DESTDIR}${prefix}/bin/trayfreq-set +endif -- cgit v1.1