Introduction
Introduction Statistics Contact Development Disclaimer Help
Makefile - surf-adblock - Surf adblock web extension
git clone git://git.codemadness.org/surf-adblock
Log
Files
Refs
README
LICENSE
---
Makefile (953B)
---
1 include config.mk
2
3 SRC = surf-adblock.c adblock.c
4 OBJ = ${SRC:.c=.lo}
5
6 all: surf-adblock.la
7
8 .SUFFIXES: .la .lo .o .c
9
10 .c.o:
11 ${CC} -c ${CFLAGS} $<
12
13 .c.lo:
14 ${LIBTOOL} --mode compile --tag CC ${CC} ${CFLAGS} -c $<
15
16 ${OBJ}: config.mk
17
18 surf-adblock.la: ${OBJ}
19 ${LIBTOOL} --mode link --tag CC ${CC} ${LIB} ${LDFLAGS} -o $@ \
20 ${OBJ} -rpath ${DESTDIR}${LIBPREFIX}
21
22 clean:
23 rm -rf surf-adblock.la .libs ${OBJ} ${OBJ:.lo=.o}
24
25 install: all surf-adblock.la
26 mkdir -p ${DESTDIR}${PREFIX}/bin
27 cp -f surf-adblock-dl ${DESTDIR}${PREFIX}/bin
28 chmod 755 ${DESTDIR}${PREFIX}/bin/surf-adblock-dl
29
30 mkdir -p ${DESTDIR}${LIBPREFIX}
31 ${LIBTOOL} --mode install install -c surf-adblock.la \
32 ${DESTDIR}${LIBPREFIX}/surf-adblock.la
33
34 uninstall:
35 rm -f ${DESTDIR}${PREFIX}/bin/surf-adblock-dl
36 ${LIBTOOL} --mode uninstall rm -f \
37 ${DESTDIR}${LIBPREFIX}/surf-adblock.la
38 rm -df ${DESTDIR}${LIBPREFIX}
39 - rm -df ${DESTDIR}${PREFIX}/bin
40
41 .PHONY: all clean install uninstall
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.