File: Makefile

package info (click to toggle)
libapache-mod-auth-mysql 3.2-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 76 kB
  • ctags: 79
  • sloc: ansic: 567; makefile: 51
file content (18 lines) | stat: -rw-r--r-- 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
APXS      = apxs
APXSFLAGS =
DSO   = mod_auth_mysql.so
SRCS  = mod_auth_mysql.c
HDRS  = mod_auth_mysql.h
OPTS  = -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient

all: $(DSO)

$(DSO): $(SRCS) $(HDRS)
	$(APXS) $(APXSFLAGS) -o $(DSO) $(OPTS) -c $(SRCS)

install: $(DSO)
	$(APXS) $(APXSFLAGS) $(NAME) -i -A $(DSO)

clean:
	-rm -f *.o $(DSO)