Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(778)

Side by Side Diff: Makefile

Issue 3389003: Deprecate libcrash.a (Closed) Base URL: http://git.chromium.org/git/dhcpcd.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # dhcpcd Makefile 1 # dhcpcd Makefile
2 2
3 PROG= dhcpcd 3 PROG= dhcpcd
4 SRCS= arp.c bind.c common.c control.c dhcp.c dhcpcd.c duid.c eloop.c 4 SRCS= arp.c bind.c common.c control.c dhcp.c dhcpcd.c duid.c eloop.c
5 SRCS+= dbus-dict.c dhcpcd-dbus.c 5 SRCS+= dbus-dict.c dhcpcd-dbus.c
6 SRCS+= if-options.c if-pref.c ipv4ll.c net.c signals.c 6 SRCS+= if-options.c if-pref.c ipv4ll.c net.c signals.c
7 7
8 CFLAGS?= -O2 8 CFLAGS?= -O2
9 CSTD?= c99 9 CSTD?= c99
10 CFLAGS+= -std=${CSTD} 10 CFLAGS+= -std=${CSTD}
11 include config.mk 11 include config.mk
12 12
13 FILES+= dhcpcd.conf dhcpcd-dbus.conf 13 FILES+= dhcpcd.conf dhcpcd-dbus.conf
14 14
15 _DBUSCFLAGS_SH= pkg-config --cflags dbus-1 15 _DBUSCFLAGS_SH= pkg-config --cflags dbus-1
16 _DBUSCFLAGS!= ${_DBUSCFLAGS_SH} 16 _DBUSCFLAGS!= ${_DBUSCFLAGS_SH}
17 DBUSCFLAGS= ${_DBUSCFLAGS}$(shell ${_DBUSCFLAGS_SH}) 17 DBUSCFLAGS= ${_DBUSCFLAGS}$(shell ${_DBUSCFLAGS_SH})
18 18
19 _DBUSLIBS_SH= pkg-config --libs dbus-1 19 _DBUSLIBS_SH= pkg-config --libs dbus-1
20 _DBUSLIBS!= ${_DBUSLIBS_SH} 20 _DBUSLIBS!= ${_DBUSLIBS_SH}
21 DBUSLIBS= ${_DBUSLIBS}$(shell ${_DBUSLIBS_SH}) 21 DBUSLIBS= ${_DBUSLIBS}$(shell ${_DBUSLIBS_SH})
22 22
23 DBUSDIR= ${SYSCONFDIR}/dbus-1/system.d 23 DBUSDIR= ${SYSCONFDIR}/dbus-1/system.d
24 24
25 # Linux needs librt 25 # Linux needs librt
26 _LIBRT_SH= [ "$$(uname -s)" = "Linux" ] && echo "-lrt" || echo "" 26 _LIBRT_SH= [ "$$(uname -s)" = "Linux" ] && echo "-lrt" || echo ""
27 _LIBRT!= ${_LIBRT_SH} 27 _LIBRT!= ${_LIBRT_SH}
28 LIBRT?= ${_LIBRT}$(shell ${_LIBRT_SH}) 28 LIBRT?= ${_LIBRT}$(shell ${_LIBRT_SH})
29 29
30 # Chrome OS crash reporting
31 LIBCRASH?= -lcrash
32
33 CFLAGS+= ${DBUSCFLAGS} 30 CFLAGS+= ${DBUSCFLAGS}
34 LDADD+=»» ${DBUSLIBS} ${LIBRT} ${LIBCRASH} 31 LDADD+=»» ${DBUSLIBS} ${LIBRT}
35 32
36 OBJS+= ${SRCS:.c=.o} ${COMPAT_SRCS:.c=.o} 33 OBJS+= ${SRCS:.c=.o} ${COMPAT_SRCS:.c=.o}
37 34
38 CLEANFILES+= .depend 35 CLEANFILES+= .depend
39 36
40 LDFLAGS+= -Wl,-rpath=${LIBDIR} 37 LDFLAGS+= -Wl,-rpath=${LIBDIR}
41 38
42 SED_SYS= -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' 39 SED_SYS= -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g'
43 40
44 _DEPEND_SH= test -e .depend && echo ".depend" || echo "" 41 _DEPEND_SH= test -e .depend && echo ".depend" || echo ""
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 ${INSTALL} -d /tmp/${DISTPREFIX}/compat; \ 107 ${INSTALL} -d /tmp/${DISTPREFIX}/compat; \
111 cp ${COMPAT_SRCS} /tmp/${DISTPREFIX}/compat; \ 108 cp ${COMPAT_SRCS} /tmp/${DISTPREFIX}/compat; \
112 cp $$(${CC} ${CPPFLAGS} -MM ${COMPAT_SRCS} | \ 109 cp $$(${CC} ${CPPFLAGS} -MM ${COMPAT_SRCS} | \
113 sed -e 's/^.*c //g' -e 's/\\//g' | \ 110 sed -e 's/^.*c //g' -e 's/\\//g' | \
114 tr ' ' '\n' | \ 111 tr ' ' '\n' | \
115 sort -u) /tmp/${DISTPREFIX}/compat; \ 112 sort -u) /tmp/${DISTPREFIX}/compat; \
116 fi; 113 fi;
117 cd dhcpcd-hooks; ${MAKE} DISTPREFIX=${DISTPREFIX} $@ 114 cd dhcpcd-hooks; ${MAKE} DISTPREFIX=${DISTPREFIX} $@
118 115
119 include Makefile.inc 116 include Makefile.inc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698