/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk

« back to all changes in this revision

Viewing changes to apps/mod_root2/Makefile

  • Committer: Suren A. Chilingaryan
  • Date: 2008-04-02 10:23:22 UTC
  • Revision ID: csa@dside.dyndns.org-20080402102322-okib92sicg2dx3o3
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#   the used tools
 
2
APXS=/usr/sbin/apxs2
 
3
APACHECTL=apachectl
 
4
 
 
5
NAME = mod_root2
 
6
INCLUDES =
 
7
CFLAGS =
 
8
LIBS = 
 
9
 
 
10
all: $(NAME)
 
11
 
 
12
 
 
13
$(NAME): $(NAME).c $(INCLUDES)
 
14
        $(APXS) -c $(CLFAGS) $(LIBS) $(NAME).c
 
15
 
 
16
install: all
 
17
        apxs -i -c $(NAME).c
 
18
 
 
19
#   cleanup
 
20
clean:
 
21
        -rm -rf mod_root2.so mod_root2.o *.la *.lo *.slo .libs
 
22
 
 
23
#   simple test
 
24
test: reload
 
25
        lynx -mime_header http://localhost/opc/hell.opc
 
26
 
 
27
#   reload the module by installing and restarting Apache
 
28
reload: install restart
 
29
 
 
30
#   the general Apache start/restart/stop procedures
 
31
start:
 
32
        $(APACHECTL) start
 
33
restart:
 
34
        $(APACHECTL) restart
 
35
stop:
 
36
        $(APACHECTL) stop
 
37