author | Hajime Tazaki <tazaki@sfc.wide.ad.jp> |
Wed, 25 Sep 2013 16:02:32 +0900 | |
changeset 515 | 98f8c21e069f |
parent 313 | myscripts/httpd/dce-thttpd.patch@256b404c4463 |
child 516 | c51ea1c25ebe |
permissions | -rw-r--r-- |
313
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
1 |
diff -r 26e35047fda8 Makefile |
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
2 |
--- a/Makefile Tue Oct 23 15:40:55 2012 +0200 |
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
3 |
+++ b/Makefile Tue Oct 23 15:41:39 2012 +0200 |
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
4 |
@@ -49,10 +49,10 @@ |
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
5 |
|
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
6 |
CC = gcc |
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
7 |
CCOPT = -O2 |
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
8 |
-DEFS = -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 |
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
9 |
+DEFS = -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 |
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
10 |
INCLS = -I. |
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
11 |
-CFLAGS = $(CCOPT) $(DEFS) $(INCLS) |
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
12 |
-LDFLAGS = |
515
98f8c21e069f
Bug 1759 - dce httpd example stops working with big files (~1MB)
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
313
diff
changeset
|
13 |
+CFLAGS += $(CCOPT) $(DEFS) $(INCLS) -fPIC -g |
98f8c21e069f
Bug 1759 - dce httpd example stops working with big files (~1MB)
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
313
diff
changeset
|
14 |
+LDFLAGS += -pie -rdynamic |
313
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
15 |
LIBS = -lcrypt |
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
16 |
NETLIBS = |
256b404c4463
Add scenario example using HTTP protocol and applications.
frederic.urbani@inria.fr
parents:
diff
changeset
|
17 |
INSTALL = /usr/bin/install -c |