Skip to content

Commit 2d7d8f1

Browse files
committed
Add autoconf / automake tools for apache2
1 parent 13e0498 commit 2d7d8f1

File tree

6 files changed

+4706
-27
lines changed

6 files changed

+4706
-27
lines changed

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
src/*.la
2-
src/*.lo
31
src/*.o
4-
src/*.slo
5-
src/.libs
2+
src/*.so

Makefile

Lines changed: 0 additions & 23 deletions
This file was deleted.

Makefile.in

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Source files. mod_auth_mellon.c must be the first file.
2+
SRC=src/mod_redirectionio.c \
3+
src/json.c \
4+
src/redirectionio_protocol.c
5+
6+
OBJ=$(SRC:.c=.o)
7+
8+
all: src/mod_redirectionio.so
9+
10+
%.o: %.c %.h
11+
@CC@ @CFLAGS@ -I. -c $(@:.o=.c) -fPIC -DPIC -o $@
12+
13+
src/mod_redirectionio.so: $(OBJ)
14+
@CC@ -shared -fPIC -DPIC $(OBJ) @LDFLAGS@ @LIBS@ -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -g -O2 -fstack-protector-strong -Wl,-soname -Wl,mod_redirectionio.so -o $@
15+
16+
.PHONY: clean
17+
clean:
18+
rm -f src/mod_redirectionio.so
19+
rm -f $(SRC:%.c=%.o)

0 commit comments

Comments
 (0)