2010-01-04 18:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbgd/hbgd.hbc
+ examples/httpsrv/modulesg.hbp
* examples/httpsrv/uhttpdgd.hbp
* examples/httpsrv/readme.txt
* Merged gd linking logic from uhttpdgd.hbp to hbgd.hbc.
(contains little hack, too) (untested)
+ Added .hbp file to build GD enabled modules.
* Modified readme to reflect above change.
+ Changed .hbp files to use hbgd.hbc and hbct.hbc to
build with hbgd and hbct libs. This is much better
method, since hbmk2 will locate them automatically
plus set header path as well.
This commit is contained in:
6
harbour/examples/httpsrv/modulesg.hbp
Normal file
6
harbour/examples/httpsrv/modulesg.hbp
Normal file
@@ -0,0 +1,6 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
@modules.hbp
|
||||
hbgd.hbc -DGD_SUPPORT
|
||||
@@ -4,16 +4,14 @@
|
||||
|
||||
uHTTPD micro web server
|
||||
|
||||
Build it without GD: hbmk2 uhttpd.hbp
|
||||
Build it with GD: hbmk2 uhttpdgd.hbp
|
||||
Build it without GD: hbmk2 uhttpd.hbp modules.hbp
|
||||
Build it with GD: hbmk2 uhttpdgd.hbp modulesg.hbp
|
||||
[ This one needs bgd.dll. Please download it from:
|
||||
http://www.libgd.org/releases/gd-latest-win32.zip ]
|
||||
|
||||
To see accepted parameters run: uhttpd -?
|
||||
Parameters can also be defined using uhttpd.ini file.
|
||||
|
||||
Before starting please build modules using: hbmk2 modules.hbp
|
||||
|
||||
Once started connect to uhttpd using:
|
||||
http://localhost:8082
|
||||
to see default index page.
|
||||
|
||||
@@ -3,8 +3,5 @@
|
||||
#
|
||||
|
||||
@uhttpd.hbp
|
||||
-DGD_SUPPORT
|
||||
-lhbgd -lhbct
|
||||
-lbgd{win}
|
||||
-lgd{!win}
|
||||
-L/opt/local/lib{darwin}
|
||||
hbgd.hbc -DGD_SUPPORT
|
||||
hbct.hbc
|
||||
|
||||
Reference in New Issue
Block a user