[sisyphus] Suidclamav

Шенцев Алексей Владимирович =?iso-8859-1?q?ashen_=CE=C1_nsrz=2Eru?=
Чт Сен 21 17:03:25 MSD 2006


В сообщении от 21 сентября 2006 10:29 Damir Shayhutdinov написал(a):
> > CFLAGS=-I/usr/include -lcrypto -lcurl -ldl -lidn -lssl -lz
>
> Надо CPPFLAGS = -I/usr/include
> LDLIBS = -lcrypto -lcurl -ldl -lidn -lssl -lz
>
> all:    squidclam.c config.c clamdscan.c
>          gcc -Wall  $(CPPFLAGS) -s -o squidclam squidclam.c config.c
> clamdscan.c $(LDLIBS)
<skip>
Поправил configure. Теперь Makefile такой:
$ cat Makefile
ifndef $(DESTDIR)
        DESTDIR="/usr/bin"
endif
CPPFLAGS=-I/usr/include

all:    squidclam.c config.c clamdscan.c
        gcc -Wall  -I/usr/include  -s -o squidclam squidclam.c config.c 
clamdscan.c -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lcurl

gdb:    squidclam.c config.c clamdscan.c
        gcc -Wall  -I/usr/include  -g -o squidclam squidclam.c config.c 
clamdscan.c -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lcurl
c
debug:    squidclam.c config.c clamdscan.c
        gcc -Wall  -DDEBUG -I/usr/include  -g -O2 -o squidclam squidclam.c 
config.c 
clamdscan.c -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lcurl

clean:
        rm -f squidclam src/Makefile

install: squidclam
        cp squidclam $(DESTDIR)/.

tar: clean
        
tar --owner=nobody --group=nobody -cvzC ../.. -f ../../release/squidclam-0.22.tar.gz 
squidclam-0.22
        md5sum ../../release/squidclam-0.22.tar.gz | 
tee ../../release/squidclam-0.22.md5

На этапе make ни какой ругани не было. Значит всё норамльно со сборкой, так?
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen на nsrz.ru
ICQ: 271053845



Подробная информация о списке рассылки Sisyphus