Replace existing build system with plain Makefile-based, add skeleton

for an app directory.

Subversion-branch: /launcher
Subversion-revision: 1775
This commit is contained in:
Simon Howard 2010-01-04 14:40:03 +00:00
parent 2ccc822bab
commit 619e36f60d
12 changed files with 45 additions and 335 deletions

View file

@ -1,60 +1,20 @@
#
# GNUmakefile - Generated by ProjectCenter
#
include $(GNUSTEP_MAKEFILES)/common.make CFLAGS=-Wall
LDFLAGS=-framework Cocoa
# OBJS= AppController.o \
# Application Execute.o \
# IWADController.o \
VERSION = 0.1 IWADLocation.o \
PACKAGE_NAME = chocolate-launcher LauncherManager.o \
APP_NAME = chocolate-launcher main.o
chocolate-launcher_APPLICATION_ICON = 48x48.png
launcher : $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o $@
# %.o : %.m
# Resource files $(CC) -c $(CFLAGS) $^ -o $@
#
chocolate-launcher_RESOURCE_FILES = \
Resources/launcher.nib \
Resources/Main.gsmarkup \
Resources/MainMenu-GNUstep.gsmarkup \
Resources/MainMenu-OSX.gsmarkup \
Resources/48x48.png \
Resources/128x128.png
clean :
rm -f $(OBJS) launcher
#
# Header files
#
chocolate-launcher_HEADER_FILES = \
AppController.h \
Execute.h \
IWADController.h \
IWADLocation.h \
LauncherManager.h
#
# Class files
#
chocolate-launcher_OBJC_FILES = \
AppController.m \
Execute.m \
IWADController.m \
IWADLocation.m \
LauncherManager.m
#
# Other sources
#
chocolate-launcher_OBJC_FILES += \
main.m
#
# Makefiles
#
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/aggregate.make
include $(GNUSTEP_MAKEFILES)/application.make
-include GNUmakefile.postamble

View file

@ -1,40 +0,0 @@
#
# GNUmakefile.postamble - Generated by ProjectCenter
#
# Things to do before compiling
# before-all::
# Things to do after compiling
# after-all::
# Things to do before installing
# before-install::
# Things to do after installing
# after-install::
# Things to do before uninstalling
# before-uninstall::
# Things to do after uninstalling
# after-uninstall::
# Things to do before cleaning
# before-clean::
# Things to do after cleaning
# after-clean::
# Things to do before distcleaning
# before-distclean::
# Things to do after distcleaning
# after-distclean::
# Things to do before checking
# before-check::
# Things to do after checking
# after-check::

View file

@ -1,25 +0,0 @@
#
# GNUmakefile.preamble - Generated by ProjectCenter
#
# Additional flags to pass to the preprocessor
ADDITIONAL_CPPFLAGS +=
# Additional flags to pass to Objective C compiler
ADDITIONAL_OBJCFLAGS +=
# Additional flags to pass to C compiler
ADDITIONAL_CFLAGS +=
# Additional flags to pass to the linker
ADDITIONAL_LDFLAGS +=
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS +=
# Additional library directories the linker should search
ADDITIONAL_LIB_DIRS +=
# Additional GUI libraries to link
ADDITIONAL_GUI_LIBS +=

View file

@ -1,95 +0,0 @@
{
APPLICATIONICON = 48x48.png;
APP_DOCUMENT_BASED = NO;
APP_TYPE = GORM;
BUILDER_ARGS = (
);
CLASS_FILES = (
AppController.m,
Execute.m,
IWADController.m,
IWADLocation.m,
LauncherManager.m
);
COMPILEROPTIONS = "";
CPPOPTIONS = "";
CREATION_DATE = "2009-12-24 22:48:58 +0000";
DOCU_FILES = (
);
FRAMEWORKS = (
);
HEADER_FILES = (
AppController.h,
Execute.h,
IWADController.h,
IWADLocation.h,
LauncherManager.h
);
IMAGES = (
48x48.png,
128x128.png
);
INSTALLDIR = "$(HOME)/GNUstep";
INTERFACES = (
launcher.nib,
Main.gsmarkup,
"MainMenu-GNUstep.gsmarkup",
"MainMenu-OSX.gsmarkup"
);
LANGUAGE = English;
LAST_EDITING = "2009-12-26 22:26:47 +0000";
LIBRARIES = (
"gnustep-base",
"gnustep-gui"
);
LINKEROPTIONS = "";
LOCALIZED_RESOURCES = (
);
MAININTERFACE = launcher.nib;
MAKEFILEDIR = "$(GNUSTEP_MAKEFILES)";
OBJC_COMPILEROPTIONS = "";
OTHER_RESOURCES = (
);
OTHER_SOURCES = (
main.m
);
PC_WINDOWS = {
ProjectBrowser = "{x = 0; y = 0; width = 786; height = 161}";
ProjectBuild = "0 0 0 0 0 0 0 -1 ";
ProjectWindow = "178 32 810 544 0 0 1024 600 ";
ShowToolbar = YES;
};
PRINCIPAL_CLASS = NSApplication;
PROJECT_AUTHORS = (
"Simon Howard"
);
PROJECT_COPYRIGHT = "Copyright (C) 2009";
PROJECT_COPYRIGHT_DESC = "GNU General Public License, version 2";
PROJECT_CREATOR = "Simon Howard,,,";
PROJECT_DESCRIPTION = "Launcher program for Chocolate Doom";
PROJECT_DOCUMENTTYPES = (
);
PROJECT_GROUP = "No group available!";
PROJECT_MAINTAINER = "Simon Howard,,,";
PROJECT_NAME = "chocolate-launcher";
PROJECT_RELEASE = 0.1;
PROJECT_SUMMARY = "No summary available!";
PROJECT_TYPE = Application;
PROJECT_URL = "http://www.chocolate-doom.org/";
SEARCH_HEADER_DIRS = (
);
SEARCH_LIB_DIRS = (
);
SUBPROJECTS = (
);
SUPPORTING_FILES = (
GNUmakefile.preamble,
GNUmakefile,
GNUmakefile.postamble,
"chocolate-launcherInfo.plist"
);
USER_LANGUAGES = (
BritainEnglish,
English
);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

View file

@ -1,8 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE gsmarkup>
<gsmarkup>
<objects>
<window/>
</objects>
</gsmarkup>

View file

@ -1,32 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE gsmarkup>
<!-- Remove any menu items and submenus which you don't need. Add any
menu items and submenus which you need. -->
<gsmarkup>
<objects>
<menu type="main">
<menu title="Info">
<menuItem title="Info Panel..."
action="orderFrontStandardInfoPanel:"/>
<menuItem title="Preferences..." action=""/>
<menuItem title="Help..." action="orderFrontHelpPanel:" key="?"/>
</menu>
<menu title="Windows">
<menuItem title="Arrange In Front" action="arrangeInFront:"/>
<menuItem title="Miniaturize Window" action="performMiniaturize:"
key="m"/>
<menuItem title="Close Window" action="performClose:" key="w"/>
</menu>
<menu title="Services" type="services"/>
<menuItem title="Hide" action="hide:" key="h"/>
<menuItem title="Quit" action="terminate:" key="q"/>
</menu>
</objects>
</gsmarkup>

View file

@ -1,63 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE gsmarkup>
<gsmarkup>
<objects>
<menu type="main">
<menu title="MyApplication" type="apple">
<menuItem title="About MyApplication"
action="orderFrontStandardAboutPanel:"/>
<menuSeparator/>
<menuItem title="Preferences..." action="runPreferencesPanel:"/>
<menu title="Services" type="services"/>
<menuSeparator/>
<menuItem title="Hide MyApplication" action="hide:" key="h"/>
<menuItem title="Hide Others" action="hideOtherApplications:"/>
<menuItem title="Show All" action="unhideAllApplications:"/>
<menuSeparator/>
<menuItem title="Quit MyApplication" action="terminate:" key="q"/>
</menu>
<menu title="File">
<menuItem title="New" action="" key="n"/>
<menuItem title="Open..." action="" key="o"/>
<menu title="Open Recent" type="openRecent">
<menuItem title="Clear menu" action=""/>
</menu>
<menuSeparator/>
<menuItem title="Close" action="performClose:" key="w"/>
<menuItem title="Save" action="" key="s"/>
<menuItem title="Save As..." action="" key="S"/>
<menuItem title="Revert" action=""/>
<menuSeparator/>
<menuItem title="Page Setup..." action="runPageLayout:" key="P"/>
<menuItem title="Print..." action="print:" key="p"/>
</menu>
<menu title="Edit">
<menuItem title="Undo" action="undo:" key="z"/>
<menuItem title="Redo" action="redo:" key="Z"/>
<menuSeparator/>
<menuItem title="Cut" action="cut:" key="x"/>
<menuItem title="Copy" action="copy:" key="c"/>
<menuItem title="Paste" action="paste:" key="v"/>
<menuItem title="Delete" action="delete:"/>
<menuItem title="Select All" action="selectAll:" key="a"/>
</menu>
<menu title="Window" type="windows">
<menuItem title="Close Window" action="performClose:" key="w"/>
<menuItem title="Minimize Window" action="performMiniaturize:"
key="m"/>
<menuSeparator/>
<menuItem title="Bring All to Front" action="arrangeInFront:" key=""/>
</menu>
<menu title="Help">
<menuItem title="MyApplication Help" action="showHelp:" key="?"/>
</menu>
</menu>
</objects>
</gsmarkup>

View file

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>Chocolate Doom</string>
<key>CFBundleExecutable</key>
<string>launcher</string>
<key>CFBundleGetInfoString</key>
<string>Chocolate Doom 1.2.1</string>
<key>CFBundleIconFile</key>
<string>chocolate-doom.icns</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>ChocolateDoom</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.2.1</string>
<key>CFBundleVersion</key>
<string>1.2.1</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSMainNibFile</key>
<string>launcher</string>
</dict>
</plist>

View file

@ -0,0 +1 @@
APPL????

Binary file not shown.

View file

@ -1,18 +0,0 @@
{
ApplicationDescription = "Launcher program for Chocolate Doom";
ApplicationIcon = 48x48.png;
ApplicationName = "chocolate-launcher";
ApplicationRelease = 0.1;
Authors = (
"Simon Howard"
);
Copyright = "Copyright (C) 2009";
CopyrightDescription = "GNU General Public License, version 2";
FullVersionID = 0.1;
NSExecutable = "chocolate-launcher";
NSIcon = 48x48.png;
NSMainNibFile = launcher.nib;
NSPrincipalClass = NSApplication;
NSRole = Application;
URL = "http://www.chocolate-doom.org/";
}