diff --git a/GNUmakefile b/GNUmakefile index 392f980..649a634 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,53 +1,118 @@ -# GNUmakefile: main makefile for GNUstep ProjectCenter # -# Copyright (C) 2001 Free Software Foundation, Inc. +# GNUmakefile - Generated by ProjectCenter +# Written by Philippe C.D. Robert # -# Author: Philippe C.D. Robert -# Date: 2000 +# NOTE: Do NOT change this file -- ProjectCenter maintains it! # -# This file is part of GNUstep. +# Put all of your customisations in GNUmakefile.preamble and +# GNUmakefile.postamble # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# - -# Install into the system root by default -GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT) include $(GNUSTEP_MAKEFILES)/common.make +GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT) + + +# +# Subprojects +# +SUBPROJECTS = \ + PCLib \ + PCAppProj \ + PCGormProj \ + PCBundleProj \ + PCToolProj \ + PCLibProj \ + PCBaseFileTypes \ + PCRenaissanceProj + +# +# Main application +# PACKAGE_NAME = ProjectCenter +APP_NAME = ProjectCenter +ProjectCenter_APPLICATION_ICON = Images/ProjectCenter.tiff + # -# The list of subproject directories +# Additional libraries # -SUBPROJECTS = \ - PCLib \ - ProjectCenter \ - PCAppProj \ - PCGormProj \ - PCBundleProj \ - PCToolProj \ - PCLibProj \ - PCBaseFileTypes \ - PCRenaissanceProj +ADDITIONAL_GUI_LIBS += -lProjectCenter --include GNUMakefile.preamble +# +# Resource files +# + +ProjectCenter_RESOURCE_FILES = \ +ProjectCenterInfo.plist \ +Images/FileIcon_.c.tiff \ +Images/FileIcon_.h.tiff \ +Images/FileIcon_.m.tiff \ +Images/FileIcon_rtf.tiff \ +Images/ProjectCenter.tiff \ +Images/ProjectCenter_add.tiff \ +Images/ProjectCenter_build.tiff \ +Images/ProjectCenter_clean.tiff \ +Images/ProjectCenter_cvs.tiff \ +Images/ProjectCenter_debug.tiff \ +Images/ProjectCenter_dist.tiff \ +Images/ProjectCenter_documentation.tiff \ +Images/ProjectCenter_files.tiff \ +Images/ProjectCenter_find.tiff \ +Images/ProjectCenter_install.tiff \ +Images/ProjectCenter_make.tiff \ +Images/ProjectCenter_prefs.tiff \ +Images/ProjectCenter_profile.tiff \ +Images/ProjectCenter_rpm.tiff \ +Images/ProjectCenter_run.tiff \ +Images/ProjectCenter_settings.tiff \ +Images/ProjectCenter_uml.tiff \ +Images/Stop.tiff \ +PCAppProj/PCAppProj.bundle \ +PCGormProj/PCGormProj.bundle \ +PCBundleProj/PCBundleProj.bundle \ +PCToolProj/PCToolProj.bundle \ +PCLibProj/PCLibProj.bundle \ +PCBaseFileTypes/PCBaseFileTypes.bundle \ +PCRenaissanceProj/PCRenaissanceProj.bundle + +# +# Header files +# + +ProjectCenter_HEADERS = \ +PCAppController.h \ +PCFindController.h \ +PCInfoController.h \ +PCLogController.h \ +PCMenuController.h \ +PCPrefController.h \ +PCAppController+MenuHandling.h + +# +# Class files +# + +ProjectCenter_OBJC_FILES = \ +PCAppController.m \ +PCFindController.m \ +PCInfoController.m \ +PCLogController.m \ +PCMenuController.m \ +PCPrefController.m \ +ProjectCenter_main.m \ +PCAppController+MenuHandling.m + +# +# C files +# + +ProjectCenter_C_FILES = + +-include GNUmakefile.preamble include $(GNUSTEP_MAKEFILES)/aggregate.make +include $(GNUSTEP_MAKEFILES)/application.make --include GNUMakefile.postamble - - +-include GNUmakefile.postamble diff --git a/GNUmakefile.postamble b/GNUmakefile.postamble index 3d6b24c..d8a38d6 100644 --- a/GNUmakefile.postamble +++ b/GNUmakefile.postamble @@ -1,27 +1,33 @@ -# GNUmakefile.postamble: makefile for GNUstep ProjectCenter # -# Copyright (C) 2001 Free Software Foundation, Inc. +# GNUmakefile.postamble # -# Author: Philippe C.D. Robert -# Date: 2000 +# Copyright (C) 2001 Free Software Foundation, Inc. # -# This file is part of GNUstep. +# Author: Philippe C.D. Robert # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# This file is part of GNUstep # -# This program 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 General Public License for more details. +# 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. # -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# 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; see the file COPYING.LIB. +# If not, write to the Free Software Foundation, +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +before-all:: +# rm -f ProjectCenter +# $(LN_S) . ProjectCenter + +after-clean:: +# rm -f ProjectCenter after-uninstall:: - rm -rf $(GNUSTEP_SYSTEM_ROOT)/Library/ProjectCenter - \ No newline at end of file + rm -rf $(GNUSTEP_SYSTEM_ROOT)/Library/Headers/ProjectCenter diff --git a/GNUmakefile.preamble b/GNUmakefile.preamble index 2b282d2..0a36b01 100644 --- a/GNUmakefile.preamble +++ b/GNUmakefile.preamble @@ -1,27 +1,39 @@ -# GNUmakefile.preamble: makefile for GNUstep ProjectCenter +# GNUmakefile.preamble # -# Copyright (C) 2001 Free Software Foundation, Inc. +# Copyright (C) 2001 Free Software Foundation, Inc. # -# Author: Philippe C.D. Robert -# Date: 2000 +# Author: Philippe C.D. Robert # -# This file is part of GNUstep. +# This file is part of GNUstep # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU 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 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 program 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 General Public License for more details. +# 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 General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# If you are interested in a warranty or support for this source code, +# contact Scott Christley at scottc@net-community.com +# +# You should have received a copy of the GNU Library General Public +# License along with this library; see the file COPYING.LIB. +# If not, write to the Free Software Foundation, +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# +# Makefile.preamble +# +# Project specific makefile variables, and additional +# +# Do not put any Makefile rules in this file, instead they should +# be put into Makefile.postamble. # +# # Flags dealing with compiling and linking # @@ -36,13 +48,13 @@ ADDITIONAL_CFLAGS += #ADDITIONAL_CFLAGS += # Additional include directories the compiler should search -ADDITIONAL_INCLUDE_DIRS += +ADDITIONAL_INCLUDE_DIRS += -I./PCLib # Additional LDFLAGS to pass to the linker -ADDITIONAL_LDFLAGS += +#ADDITIONAL_LDFLAGS += # Additional library directories the linker should search -ADDITIONAL_LIB_DIRS += +ADDITIONAL_LIB_DIRS += -L./PCLib/$(GNUSTEP_OBJ_DIR) ADDITIONAL_TOOL_LIBS += @@ -51,8 +63,10 @@ ADDITIONAL_TOOL_LIBS += # # Additional directories to be created during installation -ADDITIONAL_INSTALL_DIRS = +ADDITIONAL_INSTALL_DIRS += # # Local configuration # + +