From 478c32ae5aceca9fadcd0de357bf5055c610c42d Mon Sep 17 00:00:00 2001 From: marco Date: Wed, 22 Oct 2008 22:08:05 +0000 Subject: * More fpmake fixes. Exampledirs and includefiles mostly fixed for these. gdbint moves two examples from src to exampledir + makefile fix. git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@11949 3ad0048d-3df7-0310-abae-a5850022a9f2 --- packages/httpd20/fpmake.pp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'packages/httpd20') diff --git a/packages/httpd20/fpmake.pp b/packages/httpd20/fpmake.pp index 494cf958ba..7446348ace 100644 --- a/packages/httpd20/fpmake.pp +++ b/packages/httpd20/fpmake.pp @@ -18,6 +18,13 @@ begin {$endif ALLPACKAGES} P.Version:='2.2.2-0'; P.SourcePath.Add('src'); + P.SourcePath.Add('src/apr'); + P.SourcePath.Add('src/apriconv'); + P.SourcePath.Add('src/aprutil'); + P.IncludePath.Add('src'); + P.IncludePath.Add('src/apr'); + P.IncludePath.Add('src/apriconv'); + P.IncludePath.Add('src/aprutil'); // P.Dependencies.Add('x11'); T:=P.Targets.AddUnit('apriconv.pas'); @@ -86,6 +93,15 @@ begin AddUnit('aprutil'); end; + P.ExamplePath.Add('examples'); + T:=P.Targets.AddExampleProgram('minimain.pas'); + T:=P.Targets.AddExampleProgram('mod_hello.pp'); + T:=P.Targets.AddExampleProgram('mod_example.pp'); + T.Dependencies.AddInclude('define.inc'); + T:=P.Targets.AddExampleProgram('mod_spelling.pp'); + T.Dependencies.AddInclude('define.inc'); + T:=P.Targets.AddExampleProgram('testmodule.pp'); + T.Dependencies.AddInclude('define.inc'); {$ifndef ALLPACKAGES} Run; -- cgit v1.2.1