All pastes #799301 Raw Edit

Mine

public text v1 · immutable
#799301 ·published 2007-11-27 14:57 UTC
rendered paste body
CFLAGS = -Wall -g
LDFLAGS = "-Wl,--as-needed"

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
else
        CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        INSTALL_PROGRAM += -s
endif

config.status: configure
        dh_testdir
        CFLAGS="$(CFLAGS)" ./configure \
                --prefix=/usr \
                --bindir=\$${prefix}/bin \
                --build=${DEB_BUILD_GNU_TYPE} \
                --host=${DEB_HOST_GNU_TYPE} \
                --datadir=\$${prefix}/share \
                --mandir=\$${datadir}/man \
                --infodir=\$${datadir}/info \
                --sysconfdir=/etc/motion \
                --with-ffmpeg \
                --with-mysql \
                --with-pgsql \
                --without-optimizecpu \
                --without-jpeg-mmx
        touch configure-stamp