As I said I would:

1. Deleted headers/shared/
2. Added a Jamfile to src/shared to build it into a static library libshared.a.
3. Removed my changes in the build/jam directory.
4. Have ShowImage include libshared.a.

I forgot to add AboutWindow.h to headers/private/shared. I will do that next.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21402 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ryan Leavengood
2007-06-13 02:35:29 +00:00
parent 1b842f776a
commit 2660d61ad6
6 changed files with 5 additions and 52 deletions
-11
View File
@@ -250,14 +250,3 @@ actions CopySetHaikuRevision1
$(2[2]) $(1) ${revision}
}
rule UseSharedSource
{
UseSharedHeaders ;
for file in $(1) {
local gristed_file = [ FGristFiles $(file) ] ;
SEARCH on $(gristed_file) = [ FDirName $(HAIKU_TOP) src shared ] ;
LOCATE on $(gristed_file) = [ FDirName $(HAIKU_TOP) src shared ] ;
SEARCH_SOURCE on $(gristed_file) = [ FDirName $(HAIKU_TOP) src shared ] ;
}
}
-5
View File
@@ -338,11 +338,6 @@ rule UseLegacyObjectHeaders
SourceSysHdrs $(1) : [ FDirName $(HAIKU_TOP) headers legacy ] : $(2) ;
}
rule UseSharedHeaders
{
UseHeaders [ FDirName $(HAIKU_TOP) headers shared ] ;
}
rule FStandardOSHeaders
{
local osIncludes = add-ons add-ons/file_system add-ons/graphics
-28
View File
@@ -1,28 +0,0 @@
/*
* Copyright 2007 Haiku, Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
* Ryan Leavengood, [email protected]
*/
#ifndef B_ABOUT_WINDOW_H
#define B_ABOUT_WINDOW_H
#include <String.h>
class BAboutWindow {
public:
BAboutWindow(char *appName, int32 firstCopyrightYear,
const char **authors, char *extraInfo = NULL);
virtual ~BAboutWindow();
void Show();
private:
BString* fAppName;
BString* fText;
};
#endif // B_ABOUT_WINDOW_H
+3 -5
View File
@@ -1,13 +1,10 @@
SubDir HAIKU_TOP src apps showimage ;
UsePrivateHeaders tracker ;
UsePrivateHeaders tracker shared ;
SetSubDirSupportedPlatformsBeOSCompatible ;
UseSharedSource AboutWindow.cpp ;
Application ShowImage :
AboutWindow.cpp
ShowImageApp.cpp
ShowImageSettings.cpp
ShowImageStatusView.cpp
@@ -20,7 +17,8 @@ Application ShowImage :
BackgroundImage.cpp
ProgressWindow.cpp
ResizerWindow.cpp
: be tracker translation
: libshared.a
be tracker translation
: ShowImage.rdef
;
+1 -1
View File
@@ -10,11 +10,11 @@
*/
#include "AboutWindow.h" // Shared source
#include "ShowImageApp.h"
#include "ShowImageConstants.h"
#include "ShowImageWindow.h"
#include <AboutWindow.h>
#include <Alert.h>
#include <Clipboard.h>
#include <FilePanel.h>
+1 -2
View File
@@ -6,8 +6,7 @@
* Ryan Leavengood, [email protected]
*/
#include "AboutWindow.h"
#include <AboutWindow.h>
#include <Alert.h>
#include <Font.h>
#include <String.h>