Группа :: Сети/WWW
Пакет: http_post
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
http_post-20110118/ 0000755 0000000 0000000 00000000000 12156162762 0014003 5 ustar 00root root 0000000 0000000 http_post-20110118/Makefile 0000644 0000000 0000000 00000002177 12156162762 0015452 0 ustar 00root root 0000000 0000000 # Makefile for http_post
# CONFIGURE: If you are using a SystemV-based operating system, such as
# Solaris, you will need to uncomment this definition.
#SYSV_LIBS = -lnsl -lsocket
# CONFIGURE: If you want to compile in support for https, uncomment these
# definitions. You will need to have already built OpenSSL, available at
# http://www.openssl.org/ Make sure the SSL_TREE definition points to the
# tree with your OpenSSL installation - depending on how you installed it,
# it may be in /usr/local instead of /usr/local/ssl.
#SSL_TREE = /usr/local/ssl
#SSL_DEFS = -DUSE_SSL
#SSL_INC = -I$(SSL_TREE)/include
#SSL_LIBS = -L$(SSL_TREE)/lib -lssl -lcrypto
BINDIR = /usr/local/bin
MANDIR = /usr/local/man/man1
CC = gcc
CFLAGS = -Wall -O $(SSL_DEFS) $(SSL_INC)
#CFLAGS = -Wall -g $(SSL_DEFS) $(SSL_INC)
LDFLAGS = -s $(SSL_LIBS) $(SYSV_LIBS)
#LDFLAGS = -g $(SSL_LIBS) $(SYSV_LIBS)
all: http_post
http_post: http_post.c
$(CC) $(CFLAGS) http_post.c $(LDFLAGS) -o http_post
install: all
rm -f $(BINDIR)/http_post
cp http_post $(BINDIR)
rm -f $(MANDIR)/http_post.1
cp http_post.1 $(MANDIR)
clean:
rm -f http_post *.o core core.* *.core