removed obsolete lash name event call
[jackctlmmc.git] / GNUmakefile.in
blob85b001a9a7f4d0616a065f1edbc7712caf44fba8
1 # Copyright (c) 2006-2011 Nedko Arnaudov <nedko@arnaudov.name>,
2 # Alex Montgomery <apmontgo@users.sourceforge.net>
4 # This program is free software; you can redistribute it and/or modify it under
5 # the terms of the GNU General Public License as published by the Free Software
6 # Foundation; version 2 of the License.
7 #
8 # This program is distributed in the hope that it will be useful, but WITHOUT ANY
9 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
12 # You should have received a copy of the GNU General Public License along
13 # with this program; if not, write to the Free Software Foundation, Inc.,
14 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
16 @SET_MAKE@
18 prefix ?= @prefix@
19 datarootdir ?= @datarootdir@
20 exec_prefix ?= @exec_prefix@
21 bindir ?= @bindir@
23 QMAKE = @ac_qmake@
24 INSTALL = @INSTALL@
25 CFLAGS += @ac_cflags@
26 LIBS += @ac_libs@
28 OBJECTS=main.o common.o
30 default: @ac_default_deps@
31 install: @ac_default_install@
32 uninstall: @ac_default_uninstall@
34 jackctlmmc: $(OBJECTS)
35 $(CC) $(CFLAGS) $(LIBS) -o $@ $(OBJECTS)
37 qjackmmc:
38 cd qt && $(QMAKE) -o Makefile qjackmmc.pro && $(MAKE)
41 cli_install: jackctlmmc
42 $(INSTALL) -v ./jackctlmmc $(DESTDIR)$(bindir)
44 gui_install: qjackmmc
45 $(INSTALL) -v ./qjackmmc $(DESTDIR)$(bindir)
46 $(INSTALL) -v qt/images/qjackmmc.png $(DESTDIR)$(datarootdir)/pixmaps
47 $(INSTALL) -v qt/qjackmmc.desktop $(DESTDIR)$(datarootdir)/applications
49 cli_uninstall:
50 rm -vf $(DESTDIR)$(bindir)/jackctlmmc
52 gui_uninstall: qjackmmc
53 rm -vf $(DESTDIR)$(bindir)/qjackmmc
54 rm -vf $(DESTDIR)$(datarootdir)/pixmaps/qjackmmc.png
55 rm -vf $(DESTDIR)$(datarootdir)/applications/qjackmmc.desktop
57 clean:
58 rm -f jackctlmmc
59 rm -f qjackmmc
60 rm -rf *.o
61 if test -f qt/Makefile ; then cd qt && $(MAKE) clean && rm Makefile src/Makefile ; fi
63 rebuild: clean default