blob: 62665ace52a68ba439afb8dc22019becc81d8c1e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- /dev/null Sat Apr 20 17:11:40 2002
+++ Makefile Sat Apr 20 17:12:22 2002
@@ -0,0 +1,17 @@
+APXS = %%APXS%%
+APXSFLAGS = %%APXSFLAGS%%
+DSO = mod_auth_mysql.so
+SRCS = mod_auth_mysql.c
+OPTS = -I%%PREFIX%%/include -L%%PREFIX%%/lib/mysql -lmysqlclient
+
+all: $(DSO)
+
+$(DSO): $(SRCS)
+ $(APXS) $(APXSFLAGS) -o $(DSO) $(OPTS) -c $(SRCS) -rpath %%PREFIX%%/lib/mysql
+
+install: $(DSO)
+ $(APXS) $(APXSFLAGS) $(NAME) -i -A $(DSO)
+
+clean:
+ -rm -f *.o $(DSO)
+
|