Skip to content
This repository was archived by the owner on Jul 14, 2019. It is now read-only.

Commit de5f83b

Browse files
author
Lior Amram
committed
refactor ribs2, ssl .mk files
1 parent f8b8c97 commit de5f83b

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

src/ribs2.mk

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
TARGET=ribs2.a
2-
3-
SRC=context.c epoll_worker.c ctx_pool.c http_server.c hashtable.c mime_types.c http_client_pool.c timeout_handler.c ribify.c logger.c daemonize.c http_headers.c http_cookies.c file_mapper.c ds_var_field.c file_utils.c lhashtable.c search.c json.c memalloc.c mempool.c sleep.c timer.c ringbuf.c ringfile.c sendemail.c ds_loader.c heap.c vmallocator.c base64.c http_file_server.c http_vhost.c thashtable.c json_dom.c vmbuf.c
4-
ASM=context_asm.S
5-
6-
CFLAGS+= -I ../include
7-
2+
include ribs2_common.mk
83
include ../make/ribs.mk

src/ribs2_common.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SRC=context.c epoll_worker.c ctx_pool.c http_server.c hashtable.c mime_types.c http_client_pool.c timeout_handler.c ribify.c logger.c daemonize.c http_headers.c http_cookies.c file_mapper.c ds_var_field.c file_utils.c lhashtable.c search.c json.c memalloc.c mempool.c sleep.c timer.c ringbuf.c ringfile.c sendemail.c ds_loader.c heap.c vmallocator.c base64.c http_file_server.c http_vhost.c thashtable.c json_dom.c vmbuf.c
2+
ASM=context_asm.S
3+
CFLAGS+= -I ../include

src/ribs2_ssl.mk

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
TARGET=ribs2_ssl.a
2-
32
CPPFLAGS+=-DRIBS2_SSL
43
OBJ_SUB_DIR=ssl
5-
SRC=context.c epoll_worker.c ctx_pool.c http_server.c hashtable.c mime_types.c http_client_pool.c timeout_handler.c ribify.c logger.c daemonize.c http_headers.c http_cookies.c file_mapper.c ds_var_field.c file_utils.c lhashtable.c search.c json.c memalloc.c mempool.c sleep.c timer.c ringbuf.c ringfile.c sendemail.c ds_loader.c heap.c vmallocator.c base64.c http_file_server.c thashtable.c json_dom.c vmbuf.c ribs_ssl.c
6-
ASM=context_asm.S
7-
8-
CFLAGS+= -I ../include
9-
4+
include ribs2_common.mk
5+
SRC+=ribs_ssl.c
106
include ../make/ribs.mk

0 commit comments

Comments
 (0)