blob: a1d97a50ae1a928831a6d8a5fa527b0e6be15174 (
plain)
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
|
--- Makefile.in 2004-08-15 01:11:43.000000000 +0200
+++ ../cxfe-edited/Makefile.in 2004-09-25 10:56:21.820612240 +0200
@@ -1,7 +1,7 @@
SHELL = /bin/sh
VPATH = @srcdir@
-subdirs = @subdirs@
+subdirs = .
top_srcdir = @top_srcdir@
srcdir = @srcdir@
prefix = @prefix@
@@ -13,9 +13,9 @@
CC = @CC@ -Wall
CPPFLAGS = @CPPFLAGS@
-CFLAGS = $(CPPFLAGS) @CFLAGS@ `xine-config --cflags`
+CFLAGS = $(CPPFLAGS) @CFLAGS@ `xine-config --cflags` -I/usr/X11R6/include
LIBS = @LIBS@
-LDFLAGS = `xine-config --libs` @LDFLAGS@ -lX11 @LIBS@
+LDFLAGS = `xine-config --libs` -L/usr/X11R6/lib -lX11 -lXext @LDFLAGS@ @LIBS@
INSTALL = @INSTALL@
#CC=gcc -Wall -g -O2
@@ -29,15 +29,20 @@
cxfe: cxfe.o termio/getch2.o
clean:
- rm cxfe.o cxfe termio/*.o
+ @if test -f cxfe.o ; then rm cxfe.o ; fi
+ @if test -f cxfe ; then rm cxfe termio/*.o ; fi
+ @if test -f termio/getch2.o ; then rm cxfe termio/*.o ; fi
install:
- cp cxfe $(bindir)/cxfe
- chmod 755 $(bindir)/cxfe
- if test ! -d $(prefix)/share/cxfe ; then mkdir -p $(prefix)/share/cxfe ;
-fi
- cp lircrc-example $(prefix)/share/cxfe/lircrc
+ @echo "Installing cxfe to:" $(bindir)/cxfe
+ @chmod +x cxfe
+ @cp cxfe $(bindir)/cxfe
+ @if test ! -d $(prefix)/share/cxfe ; \
+ then mkdir -p $(prefix)/share/cxfe ; \
+ fi
+ @echo "Installing lirc example to:" $(prefix)/share/cxfe/lircrc
+ @cp lircrc-example $(prefix)/share/cxfe/lircrc
uninstall:
- rm -f $(bindir)/cxfe
- rm -Rf $(prefix)/share/cxfe
+ @rm -f $(bindir)/cxfe
+ @rm -Rf $(prefix)/share/cxfe
|