3 DEB_VERSION
:= $(shell dpkg-parsechangelog | egrep
'^Version:' | cut
-f
2 -d
' ')
5 DEB_BUILD_GNU_TYPE
:= $(shell dpkg-architecture
-qDEB_BUILD_GNU_TYPE
)
6 DEB_HOST_GNU_TYPE
:= $(shell dpkg-architecture
-qDEB_HOST_GNU_TYPE
)
8 ifeq ($(DEB_BUILD_GNU_TYPE
),$(DEB_HOST_GNU_TYPE
))
11 CROSS
:= CC
=$(DEB_HOST_GNU_TYPE
)-gcc
22 override_dh_shlibdeps
:
23 dh_shlibdeps
-a
-Xq_atm.so
-Xm_xt.so
-Xm_ipt.so
24 dh_shlibdeps
-a
-- -pipmods
-dRecommends
-e debian
/iproute2
/usr
/lib
/tc
/m_xt.so
-e debian
/iproute2
/usr
/lib
/tc
/q_atm.so
-xlibc6
26 override_dh_auto_configure
:
27 $(CROSS
) dh_auto_configure
29 override_dh_auto_build
:
30 $(MAKE
) KERNEL_INCLUDE
=.
/include $(CROSS
)