diff --git a/PCLib/GNUmakefile b/PCLib/GNUmakefile index 2d7e66d..463dc03 100644 --- a/PCLib/GNUmakefile +++ b/PCLib/GNUmakefile @@ -1,101 +1,93 @@ # -# GNUmakefile +# GNUmakefile - Generated by ProjectCenter +# Written by Philippe C.D. Robert # -# Copyright (C) 2001 Free Software Foundation, Inc. +# NOTE: Do NOT change this file -- ProjectCenter maintains it! # -# Author: Philippe C.D. Robert +# Put all of your customisations in GNUmakefile.preamble and +# GNUmakefile.postamble # -# This file is part of GNUstep -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Library General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Library General Public License for more details. -# -# You should have received a copy of the GNU Library General Public -# License along with this library; if not, write to the Free -# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. -# - -GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT) - -PCLIB_INSTALLATION_DIR = $(GNUSTEP_INSTALLATION_DIR) -GNUSTEP_MAKEFILES = $(GNUSTEP_SYSTEM_ROOT)/Makefiles include $(GNUSTEP_MAKEFILES)/common.make +include Version +# -include ../Version +# Subprojects +# -srcdir = . +# +# Library +# -PACKAGE_NAME = PCLib -LIBRARY_VAR = PCLIB - -# The library to be compiled +PACKAGE_NAME=ProjectCenter +LIBRARY_VAR=PROJECTCENTER LIBRARY_NAME=libProjectCenter +libProjectCenter_HEADER_FILES_DIR=. +libProjectCenter_HEADER_FILES_INSTALL_DIR=/ProjectCenter +GNUSTEP_INSTALLATION_DIR=$(GNUSTEP_SYSTEM_ROOT) +PROJECTCENTER_INSTALLATION_DIR=$(GNUSTEP_INSTALLATION_DIR) +PROJECTCENTER_INSTALL_PREFIX=$(GNUSTEP_INSTALLATION_DIR) +ADDITIONAL_INCLUDE_DIRS = -I.. +srcdir = . +# -PCLIB_INSTALL_PREFIX=$(GNUSTEP_INSTALLATION_DIR) +# Additional libraries +# -# Grep for these names to build the legally-required "AUTHORS" file. -FILE_AUTHORS = \ - "Philippe C.D. Robert" +libProjectCenter_LIBRARIES_DEPEND_UPON += -lgnustep-gui -# The source files +# -libProjectCenter_MFILES = \ - PCBrowserController.m \ - PCBundleLoader.m \ - PCDataSource.m \ - PCEditorView.m \ - PCFileManager.m \ - PCProject.m \ - PCProjectBuilder.m \ - PCProjectDebugger.m \ - PCProjectManager.m \ - PCServer.m +# Header files +# -libProjectCenter_CFILES = +libProjectCenter_HEADER_FILES= \ +PCBrowserController.h \ +PCBundleLoader.h \ +PCDataSource.h \ +PCEditorView.h \ +PCFileManager.h \ +PCProject.h \ +PCProjectBuilder.h \ +PCProjectDebugger.h \ +PCProjectManager.h \ +PCServer.h \ +FileCreator.h \ +PreferenceController.h \ +ProjectBuilder.h \ +ProjectCenter.h \ +ProjectDebugger.h \ +ProjectEditor.h \ +ProjectType.h \ +Server.h -libProjectCenter_HFILES = \ - FileCreator.h \ - PCBrowserController.h \ - PCBundleLoader.h \ - PCDataSource.h \ - PCEditorView.h \ - PCFileManager.h \ - PCProject.h \ - PCProjectBuilder.h \ - PCProjectDebugger.h \ - PCProjectManager.h \ - PCServer.h \ - PreferenceController.h \ - ProjectBuilder.h \ - ProjectCenter.h \ - ProjectDebugger.h \ - ProjectEditor.h \ - ProjectType.h \ - Server.h +# -HEADERS_INSTALL = $(libProjectCenter_HFILES) +# Class files +# -# The Objective-C source files to be compiled -libProjectCenter_OBJC_FILES = $(libProjectCenter_MFILES) +libProjectCenter_OBJC_FILES= \ +PCBrowserController.m \ +PCBundleLoader.m \ +PCDataSource.m \ +PCEditorView.m \ +PCFileManager.m \ +PCProject.m \ +PCProjectBuilder.m \ +PCProjectDebugger.m \ +PCProjectManager.m \ +PCServer.m -# The C source files to be compiled -libProjectCenter_C_FILES = $(libProjectCenter_CFILES) +# -# The headers -libProjectCenter_HEADER_FILES_DIR = . -libProjectCenter_HEADER_FILES_INSTALL_DIR = /ProjectCenter -libProjectCenter_HEADER_FILES = $(libProjectCenter_HFILES) +# C files +# + +libProjectCenter_C_FILES= + +HEADERS_INSTALL = $(libProjectCenter_HEADER_FILES) -include GNUmakefile.preamble - +-include GNUmakefile.local include $(GNUSTEP_MAKEFILES)/library.make - -include GNUmakefile.postamble diff --git a/PCLib/PCBrowserController.m b/PCLib/PCBrowserController.m index 403c155..5c49ab9 100644 --- a/PCLib/PCBrowserController.m +++ b/PCLib/PCBrowserController.m @@ -150,7 +150,7 @@ NSString *FileShouldOpenNotification = @"FileShouldOpenNotification"; #ifdef DEBUG NSLog(@"<%@ %x>: create rows for column %d in %x",[self class],self,column,sender); -#endif DEBUG +#endif //DEBUG for (i = 0; i < count; ++i) { NSMutableString *keyPath = [NSMutableString stringWithString:pathToCol]; @@ -172,7 +172,7 @@ NSString *FileShouldOpenNotification = @"FileShouldOpenNotification"; { #ifdef DEBUG NSLog(@"<%@ %x>: browser %x will display %@ %x at %d,%d",[self class],self,sender,[cell class],cell,row,column); -#endif DEBUG +#endif //DEBUG } - (BOOL)browser:(NSBrowser *)sender selectCellWithString:(NSString *)title inColumn:(int)column diff --git a/PCLib/PCEditorView.m b/PCLib/PCEditorView.m index d8c7a2f..8f53b6e 100644 --- a/PCLib/PCEditorView.m +++ b/PCLib/PCEditorView.m @@ -94,7 +94,7 @@ static BOOL isInitialised = NO; [super setString:aString]; #ifdef COLOURISE [self colourise:self]; -#endif COLOURISE +#endif //COLOURISE } - (void)colourise:(id)sender diff --git a/PCLib/PCFileManager.m b/PCLib/PCFileManager.m index e8e099f..2a66323 100644 --- a/PCLib/PCFileManager.m +++ b/PCLib/PCFileManager.m @@ -337,7 +337,7 @@ static PCFileManager *_mgr = nil; #ifdef DEBUG NSLog(@"<%@ %x>: creating file at %@",[self class],self,path); -#endif DEBUG +#endif //DEBUG // Create file if (path) { @@ -374,7 +374,7 @@ static PCFileManager *_mgr = nil; #ifdef DEBUG NSLog(@"<%@ %x>: Registering creators...",[self class],self); -#endif DEBUG +#endif //DEBUG while (type = [enumerator nextObject]) { id creator = [[dict objectForKey:type] objectForKey:@"Creator"]; diff --git a/PCLib/ProjectCenter.pcproj b/PCLib/ProjectCenter.pcproj new file mode 100644 index 0000000..5c491bc --- /dev/null +++ b/PCLib/ProjectCenter.pcproj @@ -0,0 +1,78 @@ +{ + APPKIT = GNUSTEP-GUI; + BUILDTOOL = "/usr/bin/make"; + CLASS_FILES = ( + PCBrowserController.m, + PCBundleLoader.m, + PCDataSource.m, + PCEditorView.m, + PCFileManager.m, + PCProject.m, + PCProjectBuilder.m, + PCProjectDebugger.m, + PCProjectManager.m, + PCServer.m + ); + COMPILEROPTIONS = ""; + CREATION_DATE = ""; + DOCU_FILES = ( + ); + FOUNDATION = GNUSTEP-BASE; + FRAMEWORKS = ( + ); + HEADER_FILES = ( + PCBrowserController.h, + PCBundleLoader.h, + PCDataSource.h, + PCEditorView.h, + PCFileManager.h, + PCProject.h, + PCProjectBuilder.h, + PCProjectDebugger.h, + PCProjectManager.h, + PCServer.h, + FileCreator.h, + PreferenceController.h, + ProjectBuilder.h, + ProjectCenter.h, + ProjectDebugger.h, + ProjectEditor.h, + ProjectType.h, + Server.h + ); + INSTALLDIR = "$(GNUSTEP_SYSTEM_ROOT)"; + LANGUAGE = English; + LAST_EDITING = ""; + LIBRARIES = ( + gnustep-gui, + gnustep-base + ); + LINKEROPTIONS = ""; + MAKEFILEDIR = "$(GNUSTEP_SYSTEM_ROOT)/Makefiles"; + OTHER_FILES = ( + ); + OTHER_RESOURCES = ( + Version + ); + OTHER_SOURCES = ( + ); + PROJECT_BUILDER = PCLibProj; + PROJECT_COPYRIGHT = "No license specified!"; + PROJECT_CREATOR = ""; + PROJECT_DESCRIPTION = "No description avaliable!"; + PROJECT_GROUP = "No description avaliable!"; + PROJECT_MAINTAINER = ""; + PROJECT_NAME = ProjectCenter; + PROJECT_RELEASE = 1; + PROJECT_SOURCE = "%{gs_name}-%{gs_version}.tar.gz"; + PROJECT_SUMMARY = "No summary avaliable!"; + PROJECT_TYPE = PCLibProject; + PROJECT_VERSION = 1.0; + SUBPROJECTS = ( + ); + SUPPORTING_FILES = ( + GNUmakefile.preamble, + GNUmakefile, + GNUmakefile.postamble + ); +} \ No newline at end of file diff --git a/Version b/PCLib/Version similarity index 100% rename from Version rename to PCLib/Version