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/httpd22/fpmake.pp | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'packages/httpd22') diff --git a/packages/httpd22/fpmake.pp b/packages/httpd22/fpmake.pp index 3e3325adb4..8d36ff89c0 100644 --- a/packages/httpd22/fpmake.pp +++ b/packages/httpd22/fpmake.pp @@ -18,6 +18,14 @@ 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'); @@ -85,10 +93,19 @@ begin AddUnit('apr'); 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; end; end. {$endif ALLPACKAGES} + -- cgit v1.2.1