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

Contents of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations)
Sun Aug 13 20:11:51 2000 UTC (21 years, 2 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +7 -1 lines
partial mac support, support all text* contnet-types

1 APXS_FLAGS=-i -a -DTEST_QUERYSTRING -DDEBUG
2 #APXS=/usr/local/apache/bin/apxs
3 #URL=http://dpavlinusic.pliva.hr/~dpavlin/case12.html.czs
4 APXS=/usr/sbin/apxs
5 #APACHECTL=/usr/local/apache/bin/apachectl
6 APACHECTL=/etc/rc.d/init.d/httpd
7 WGETOPT=--user-agent="Mac"
8
9 URL=http://localhost/czs/~dpavlin/
10 URL2=http://localhost/mac/~dpavlin/?foo
11
12 all:
13 $(APACHECTL) stop
14 $(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
19 $(APXS) -a -i mod_czs.so
20
21 clean:
22 rm -f *.o *.so *~
23 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 $(WGETOPT) $(URL)
28
29 test2:
30 wget --save-headers --proxy=off -O out2 $(WGETOPT) $(URL2)
31
32 mac1:
33 echo -e "GET ~dpavlin/neformalno.html HTTP/1.0\nUser-agent: Mac\n\n" | nc localhost 80 2>&1 | tee out-mac1 | head -30
34 wget --save-headers --proxy=off -O out-mac1 --user-agent="Mac" http://localhost/~dpavlin/neformalno.html
35
36 mac2:
37 wget --save-headers --proxy=off -O out-mac2 --user-agent="Mac" http://localhost/mac/~dpavlin/

  ViewVC Help
Powered by ViewVC 1.1.26