/[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

Annotation of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations)
Sun Aug 13 18:30:24 2000 UTC (23 years, 8 months ago) by dpavlin
Branch: MAIN
Changes since 1.6: +4 -4 lines
case-insensitive checks

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

  ViewVC Help
Powered by ViewVC 1.1.26