/[mod_czs]/Makefile
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by dpavlin, Wed Aug 9 19:43:30 2000 UTC revision 1.6 by dpavlin, Sat Aug 12 21:36:50 2000 UTC
# Line 1  Line 1 
1  APXS_FLAGS=-DTEST_QUERYSTRING -DDEBUG -i -a  APXS_FLAGS=-i -a #-DTEST_QUERYSTRING -DDEBUG
2  #APXS=/usr/local/apache/bin/apxs  #APXS=/usr/local/apache/bin/apxs
3  #URL=http://dpavlinusic.pliva.hr/~dpavlin/case12.html.czs  #URL=http://dpavlinusic.pliva.hr/~dpavlin/case12.html.czs
4  APXS=/usr/sbin/apxs  APXS=/usr/sbin/apxs
5    #APACHECTL=/usr/local/apache/bin/apachectl
6    APACHECTL=/etc/rc.d/init.d/httpd
7    
8    
9  URL=http://localhost/czs/~dpavlin/  URL=http://localhost/czs/~dpavlin/
10  URL2=http://localhost/~dpavlin/?foo  URL2=http://localhost/~dpavlin/?foo
11    
12  all:  all:
13            $(APACHECTL) stop
14          $(APXS) -c $(APXS_FLAGS) mod_czs.c          $(APXS) -c $(APXS_FLAGS) mod_czs.c
15    #       $(APXS) -c $(APXS_FLAGS) mod_noczs.c
16            $(APACHECTL) start
17    
18  install: mod_czs.so mod_czs.c  install: mod_czs.so mod_czs.c
19          $(APXS) -a -i mod_czs.so          $(APXS) -a -i mod_czs.so
20    
21  clean:  clean:
22          rm -f *.o *.so *~          rm -f *.o *.so *~
   
23  test:  test:
24            echo -e "GET /czs/n.html HTTP/1.0\n" | nc localhost 80 2>&1 | tee out | head -30
25    
26    test1:
27          wget --save-headers --proxy=off -O out $(URL)          wget --save-headers --proxy=off -O out $(URL)
28    
29  test2:  test2:
30          wget --save-headers --proxy=off -O out2 $(URL2)          wget --save-headers --proxy=off -O out2 $(URL2)
31    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.26