mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 15:20:32 -04:00
20 lines
454 B
Text
20 lines
454 B
Text
--- /dev/null Sat Apr 20 17:11:40 2002
|
|
+++ Makefile Sat Apr 20 17:12:22 2002
|
|
@@ -0,0 +1,17 @@
|
|
+APXS = apxs
|
|
+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)
|
|
+
|