PCLib is now maintained by ProjectCenter as well!

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@12018 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Philippe C.D. Robert 2002-01-07 10:00:23 +00:00
parent fa7bda8926
commit 346daad02e
6 changed files with 152 additions and 82 deletions

View file

@ -1,101 +1,93 @@
#
# GNUmakefile
# GNUmakefile - Generated by ProjectCenter
# Written by Philippe C.D. Robert <phr@3dkit.org>
#
# Copyright (C) 2001 Free Software Foundation, Inc.
# NOTE: Do NOT change this file -- ProjectCenter maintains it!
#
# Author: Philippe C.D. Robert <prh@3dkit.org>
# 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

View file

@ -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

View file

@ -94,7 +94,7 @@ static BOOL isInitialised = NO;
[super setString:aString];
#ifdef COLOURISE
[self colourise:self];
#endif COLOURISE
#endif //COLOURISE
}
- (void)colourise:(id)sender

View file

@ -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"];

View file

@ -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
);
}