-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.in
60 lines (51 loc) · 2.25 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Makefile -- makefile for sawfish-pager
#
# Copyright (C) 2009-2010 Christopher Bratusek <[email protected]>
# Copyright (C) 2007-2008 Janek Kozicki <[email protected]>
# Copyright (C) 2002 Daniel Pfeiffer <[email protected]>
# Copyright (C) 2000 Satyaki Das <[email protected]>
# Hakon Alstadheim <[email protected]>
# Andreas Büsching <[email protected]>
#
# This file is part of sawfish-pager.
#
# sawfish-pager is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# sawfish-pager is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with sawfish-pager; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
override CFLAGS += @GTK_CFLAGS@ @IMAGE_LOADER_CFLAGS@ @SAWFISH_CFLAGS@ -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
LDFLAGS = -Wl,-rpath @SAWFISH_CLIENT_LIB_DIR@
LDLIBS = @SAWFISH_CLIENT_LIB_DIR@/client.so @GTK_LIBS@ @SAWFISH_LIBS@ @IMAGE_LOADER_LIBS@
all: sawfishpager pager.jlc
%.jlc: %.jl
sawfish --batch --no-rc compiler -f compile-batch $^
install: all
mkdir -p $(DESTDIR)@PAGER_C_DIR@
mkdir -p $(DESTDIR)@PAGER_JL_DIR@
install -m644 pager.jl $(DESTDIR)@PAGER_JL_DIR@
install -m644 pager.jlc $(DESTDIR)@PAGER_JL_DIR@
install -m755 sawfishpager $(DESTDIR)@PAGER_C_DIR@
uninstall:
rm -f $(DESTDIR)@PAGER_JL_DIR@/pager.jl
rm -f $(DESTDIR)@PAGER_JL_DIR@/pager.jlc
rm -f $(DESTDIR)@PAGER_C_DIR@/sawfishpager
gitclean: distclean
rm -rf autom4te.cache
rm -f aclocal.m4 configure
-fakeroot debian/rules clean sawfish-pager*.ebuild
debclean: gitclean
rm -rf m4/* ltmain.sh configure.[!.in]* libtool config.h.in
distclean: clean
rm -f Makefile config.cache config.log config.status
rm -f sawfish-pager.pc
clean:
rm -f sawfishpager pager.jlc