• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoawindowspythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdombtronvb.netdirectxarduinopreviewerゲームエンジン

Commit MetaInfo

Révisiondc24b96a781d22e9516e091f018fd130c79bd675 (tree)
l'heure2013-06-11 05:36:36
AuteurK.Ohta <whatisthis.sowhat@gmai...>
CommiterK.Ohta

Message de Log

[Build] Add MPLAB-X IDE's stubs.

Change Summary

Modification

--- /dev/null
+++ b/nbproject/Makefile-default.mk
@@ -0,0 +1,148 @@
1+#
2+# Generated Makefile - do not edit!
3+#
4+# Edit the Makefile in the project folder instead (../Makefile). Each target
5+# has a -pre and a -post target defined where you can add customized code.
6+#
7+# This makefile implements configuration specific macros and targets.
8+
9+
10+# Include project Makefile
11+ifeq "${IGNORE_LOCAL}" "TRUE"
12+# do not include local makefile. User is passing all local related variables already
13+else
14+include Makefile
15+# Include makefile containing local settings
16+ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk"
17+include nbproject/Makefile-local-default.mk
18+endif
19+endif
20+
21+# Environment
22+MKDIR=mkdir -p
23+RM=rm -f
24+MV=mv
25+CP=cp
26+
27+# Macros
28+CND_CONF=default
29+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
30+IMAGE_TYPE=debug
31+OUTPUT_SUFFIX=cof
32+DEBUGGABLE_SUFFIX=cof
33+FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/OPENI2CRADIO_6955.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
34+else
35+IMAGE_TYPE=production
36+OUTPUT_SUFFIX=hex
37+DEBUGGABLE_SUFFIX=cof
38+FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/OPENI2CRADIO_6955.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
39+endif
40+
41+# Object Directory
42+OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
43+
44+# Distribution Directory
45+DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
46+
47+# Object Files Quoted if spaced
48+OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/ui.o ${OBJECTDIR}/i2c_io.o ${OBJECTDIR}/main.o ${OBJECTDIR}/idle.o
49+POSSIBLE_DEPFILES=${OBJECTDIR}/ui.o.d ${OBJECTDIR}/i2c_io.o.d ${OBJECTDIR}/main.o.d ${OBJECTDIR}/idle.o.d
50+
51+# Object Files
52+OBJECTFILES=${OBJECTDIR}/ui.o ${OBJECTDIR}/i2c_io.o ${OBJECTDIR}/main.o ${OBJECTDIR}/idle.o
53+
54+
55+CFLAGS=
56+ASFLAGS=
57+LDLIBSOPTIONS=
58+
59+############# Tool locations ##########################################
60+# If you copy a project from one host to another, the path where the #
61+# compiler is installed may be different. #
62+# If you open this project with MPLAB X in the new host, this #
63+# makefile will be regenerated and the paths will be corrected. #
64+#######################################################################
65+# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build
66+FIXDEPS=fixDeps
67+
68+.build-conf: ${BUILD_SUBPROJECTS}
69+ ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/OPENI2CRADIO_6955.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
70+
71+# ------------------------------------------------------------------------------------
72+# Rules for buildStep: compile
73+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
74+${OBJECTDIR}/ui.o: ui.c nbproject/Makefile-${CND_CONF}.mk
75+ ${MKDIR} ${OBJECTDIR}
76+ ${RM} ${OBJECTDIR}/ui.o
77+ ${MP_CC} --debug-ralloc --use-non-free --pstack-model=small -c -mpic16 -p18f25k22 ui.c -o${OBJECTDIR}/ui.o
78+
79+${OBJECTDIR}/i2c_io.o: i2c_io.c nbproject/Makefile-${CND_CONF}.mk
80+ ${MKDIR} ${OBJECTDIR}
81+ ${RM} ${OBJECTDIR}/i2c_io.o
82+ ${MP_CC} --debug-ralloc --use-non-free --pstack-model=small -c -mpic16 -p18f25k22 i2c_io.c -o${OBJECTDIR}/i2c_io.o
83+
84+${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk
85+ ${MKDIR} ${OBJECTDIR}
86+ ${RM} ${OBJECTDIR}/main.o
87+ ${MP_CC} --debug-ralloc --use-non-free --pstack-model=small -c -mpic16 -p18f25k22 main.c -o${OBJECTDIR}/main.o
88+
89+${OBJECTDIR}/idle.o: idle.c nbproject/Makefile-${CND_CONF}.mk
90+ ${MKDIR} ${OBJECTDIR}
91+ ${RM} ${OBJECTDIR}/idle.o
92+ ${MP_CC} --debug-ralloc --use-non-free --pstack-model=small -c -mpic16 -p18f25k22 idle.c -o${OBJECTDIR}/idle.o
93+
94+else
95+${OBJECTDIR}/ui.o: ui.c nbproject/Makefile-${CND_CONF}.mk
96+ ${MKDIR} ${OBJECTDIR}
97+ ${RM} ${OBJECTDIR}/ui.o
98+ ${MP_CC} --debug-ralloc --use-non-free --pstack-model=small -c -mpic16 -p18f25k22 ui.c -o${OBJECTDIR}/ui.o
99+
100+${OBJECTDIR}/i2c_io.o: i2c_io.c nbproject/Makefile-${CND_CONF}.mk
101+ ${MKDIR} ${OBJECTDIR}
102+ ${RM} ${OBJECTDIR}/i2c_io.o
103+ ${MP_CC} --debug-ralloc --use-non-free --pstack-model=small -c -mpic16 -p18f25k22 i2c_io.c -o${OBJECTDIR}/i2c_io.o
104+
105+${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk
106+ ${MKDIR} ${OBJECTDIR}
107+ ${RM} ${OBJECTDIR}/main.o
108+ ${MP_CC} --debug-ralloc --use-non-free --pstack-model=small -c -mpic16 -p18f25k22 main.c -o${OBJECTDIR}/main.o
109+
110+${OBJECTDIR}/idle.o: idle.c nbproject/Makefile-${CND_CONF}.mk
111+ ${MKDIR} ${OBJECTDIR}
112+ ${RM} ${OBJECTDIR}/idle.o
113+ ${MP_CC} --debug-ralloc --use-non-free --pstack-model=small -c -mpic16 -p18f25k22 idle.c -o${OBJECTDIR}/idle.o
114+
115+endif
116+
117+# ------------------------------------------------------------------------------------
118+# Rules for buildStep: link
119+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
120+dist/${CND_CONF}/${IMAGE_TYPE}/OPENI2CRADIO_6955.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
121+ ${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
122+ ${MP_CC} --debug-ralloc -Wl-c -Wl-m --use-non-free --pstack-model=small -mpic16 -p18f25k22 ${OBJECTFILES} -odist/${CND_CONF}/${IMAGE_TYPE}/OPENI2CRADIO_6955.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
123+else
124+dist/${CND_CONF}/${IMAGE_TYPE}/OPENI2CRADIO_6955.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
125+ ${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
126+ ${MP_CC} --debug-ralloc -Wl-c -Wl-m --use-non-free --pstack-model=small -mpic16 -p18f25k22 ${OBJECTFILES} -odist/${CND_CONF}/${IMAGE_TYPE}/OPENI2CRADIO_6955.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}
127+endif
128+
129+
130+# Subprojects
131+.build-subprojects:
132+
133+
134+# Subprojects
135+.clean-subprojects:
136+
137+# Clean Targets
138+.clean-conf: ${CLEAN_SUBPROJECTS}
139+ ${RM} -r build/default
140+ ${RM} -r dist/default
141+
142+# Enable dependency checking
143+.dep.inc: .depcheck-impl
144+
145+DEPFILES=$(shell "${PATH_TO_IDE_BIN}"mplabwildcard ${POSSIBLE_DEPFILES})
146+ifneq (${DEPFILES},)
147+include ${DEPFILES}
148+endif
--- /dev/null
+++ b/nbproject/Makefile-genesis.properties
@@ -0,0 +1,8 @@
1+#
2+#Tue Jun 11 05:10:14 JST 2013
3+default.languagetoolchain.dir=/usr/local/bin
4+default.br-unifei-rmaalmeida-toolchainSDCC-SDCCtoolchain.md5=b67cce1ad75b450308d7806e430931b3
5+com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=8fe1589514540343a5279c082104bce0
6+default.languagetoolchain.version=3.3.0
7+host.platform=linux
8+conf.ids=default
--- /dev/null
+++ b/nbproject/Makefile-impl.mk
@@ -0,0 +1,69 @@
1+#
2+# Generated Makefile - do not edit!
3+#
4+# Edit the Makefile in the project folder instead (../Makefile). Each target
5+# has a pre- and a post- target defined where you can add customization code.
6+#
7+# This makefile implements macros and targets common to all configurations.
8+#
9+# NOCDDL
10+
11+
12+# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
13+# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
14+# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
15+# and .clean-reqprojects-conf unless SUB has the value 'no'
16+SUB_no=NO
17+SUBPROJECTS=${SUB_${SUB}}
18+BUILD_SUBPROJECTS_=.build-subprojects
19+BUILD_SUBPROJECTS_NO=
20+BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
21+CLEAN_SUBPROJECTS_=.clean-subprojects
22+CLEAN_SUBPROJECTS_NO=
23+CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
24+
25+
26+# Project Name
27+PROJECTNAME=OPENI2CRADIO_6955.X
28+
29+# Active Configuration
30+DEFAULTCONF=default
31+CONF=${DEFAULTCONF}
32+
33+# All Configurations
34+ALLCONFS=default
35+
36+
37+# build
38+.build-impl: .build-pre
39+ ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf
40+
41+
42+# clean
43+.clean-impl: .clean-pre
44+ ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf
45+
46+# clobber
47+.clobber-impl: .clobber-pre .depcheck-impl
48+ ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean
49+
50+
51+
52+# all
53+.all-impl: .all-pre .depcheck-impl
54+ ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build
55+
56+
57+
58+# dependency checking support
59+.depcheck-impl:
60+# @echo "# This code depends on make tool being used" >.dep.inc
61+# @if [ -n "${MAKE_VERSION}" ]; then \
62+# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
63+# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
64+# echo "include \$${DEPFILES}" >>.dep.inc; \
65+# echo "endif" >>.dep.inc; \
66+# else \
67+# echo ".KEEP_STATE:" >>.dep.inc; \
68+# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
69+# fi
--- /dev/null
+++ b/nbproject/Makefile-local-default.mk
@@ -0,0 +1,36 @@
1+#
2+# Generated Makefile - do not edit!
3+#
4+#
5+# This file contains information about the location of compilers and other tools.
6+# If you commmit this file into your revision control server, you will be able to
7+# to checkout the project and build it from the command line with make. However,
8+# if more than one person works on the same project, then this file might show
9+# conflicts since different users are bound to have compilers in different places.
10+# In that case you might choose to not commit this file and let MPLAB X recreate this file
11+# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at
12+# least once so the file gets created and the project can be built. Finally, you can also
13+# avoid using this file at all if you are only building from the command line with make.
14+# You can invoke make with the values of the macros:
15+# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ...
16+#
17+PATH_TO_IDE_BIN=/opt/microchip/mplabx/mplab_ide/mplab_ide/modules/../../bin/
18+# Adding MPLAB X bin directory to path.
19+PATH:=/opt/microchip/mplabx/mplab_ide/mplab_ide/modules/../../bin/:$(PATH)
20+# Path to java used to run MPLAB X when this makefile was created
21+MP_JAVA_PATH="/opt/microchip/mplabx/sys/java/jre1.7.0_17/bin/"
22+OS_CURRENT="$(shell uname -s)"
23+MP_CC="/usr/local/bin/sdcc"
24+# MP_CPPC is not defined
25+# MP_BC is not defined
26+# MP_AS is not defined
27+# MP_LD is not defined
28+# MP_AR is not defined
29+DEP_GEN=${MP_JAVA_PATH}java -jar "/opt/microchip/mplabx/mplab_ide/mplab_ide/modules/../../bin/extractobjectdependencies.jar"
30+MP_CC_DIR="/usr/local/bin"
31+# MP_CPPC_DIR is not defined
32+# MP_BC_DIR is not defined
33+# MP_AS_DIR is not defined
34+# MP_LD_DIR is not defined
35+# MP_AR_DIR is not defined
36+# MP_BC_DIR is not defined
--- /dev/null
+++ b/nbproject/Makefile-variables.mk
@@ -0,0 +1,13 @@
1+#
2+# Generated - do not edit!
3+#
4+# NOCDDL
5+#
6+CND_BASEDIR=`pwd`
7+# default configuration
8+CND_ARTIFACT_DIR_default=dist/default/production
9+CND_ARTIFACT_NAME_default=OPENI2CRADIO_6955.X.production.hex
10+CND_ARTIFACT_PATH_default=dist/default/production/OPENI2CRADIO_6955.X.production.hex
11+CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package
12+CND_PACKAGE_NAME_default=openi2cradio6955.x.tar
13+CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/openi2cradio6955.x.tar
--- /dev/null
+++ b/nbproject/Package-default.bash
@@ -0,0 +1,73 @@
1+#!/bin/bash -x
2+
3+#
4+# Generated - do not edit!
5+#
6+
7+# Macros
8+TOP=`pwd`
9+CND_CONF=default
10+CND_DISTDIR=dist
11+TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
12+TMPDIRNAME=tmp-packaging
13+OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/OPENI2CRADIO_6955.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
14+OUTPUT_BASENAME=OPENI2CRADIO_6955.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
15+PACKAGE_TOP_DIR=openi2cradio6955.x/
16+
17+# Functions
18+function checkReturnCode
19+{
20+ rc=$?
21+ if [ $rc != 0 ]
22+ then
23+ exit $rc
24+ fi
25+}
26+function makeDirectory
27+# $1 directory path
28+# $2 permission (optional)
29+{
30+ mkdir -p "$1"
31+ checkReturnCode
32+ if [ "$2" != "" ]
33+ then
34+ chmod $2 "$1"
35+ checkReturnCode
36+ fi
37+}
38+function copyFileToTmpDir
39+# $1 from-file path
40+# $2 to-file path
41+# $3 permission
42+{
43+ cp "$1" "$2"
44+ checkReturnCode
45+ if [ "$3" != "" ]
46+ then
47+ chmod $3 "$2"
48+ checkReturnCode
49+ fi
50+}
51+
52+# Setup
53+cd "${TOP}"
54+mkdir -p ${CND_DISTDIR}/${CND_CONF}/package
55+rm -rf ${TMPDIR}
56+mkdir -p ${TMPDIR}
57+
58+# Copy files and create directories and links
59+cd "${TOP}"
60+makeDirectory ${TMPDIR}/openi2cradio6955.x/bin
61+copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
62+
63+
64+# Generate tar file
65+cd "${TOP}"
66+rm -f ${CND_DISTDIR}/${CND_CONF}/package/openi2cradio6955.x.tar
67+cd ${TMPDIR}
68+tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/openi2cradio6955.x.tar *
69+checkReturnCode
70+
71+# Cleanup
72+cd "${TOP}"
73+rm -rf ${TMPDIR}
--- /dev/null
+++ b/nbproject/configurations.xml
@@ -0,0 +1,74 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<configurationDescriptor version="62">
3+ <logicalFolder name="root" displayName="root" projectFiles="true">
4+ <logicalFolder name="HeaderFiles"
5+ displayName="Header Files"
6+ projectFiles="true">
7+ </logicalFolder>
8+ <logicalFolder name="LibraryFiles"
9+ displayName="Library Files"
10+ projectFiles="true">
11+ </logicalFolder>
12+ <logicalFolder name="LinkerScript"
13+ displayName="Linker Files"
14+ projectFiles="true">
15+ </logicalFolder>
16+ <logicalFolder name="ObjectFiles"
17+ displayName="Object Files"
18+ projectFiles="true">
19+ </logicalFolder>
20+ <logicalFolder name="SourceFiles"
21+ displayName="Source Files"
22+ projectFiles="true">
23+ </logicalFolder>
24+ <logicalFolder name="ExternalFiles"
25+ displayName="Important Files"
26+ projectFiles="false">
27+ <itemPath>Makefile</itemPath>
28+ </logicalFolder>
29+ <itemPath>ui.c</itemPath>
30+ <itemPath>i2c_io.c</itemPath>
31+ <itemPath>iodef.h</itemPath>
32+ <itemPath>main.c</itemPath>
33+ <itemPath>idle.c</itemPath>
34+ <itemPath>idle.h</itemPath>
35+ </logicalFolder>
36+ <projectmakefile>Makefile</projectmakefile>
37+ <confs>
38+ <conf name="default" type="2">
39+ <toolsSet>
40+ <developmentServer>localhost</developmentServer>
41+ <targetDevice>PIC18F25K22</targetDevice>
42+ <targetHeader></targetHeader>
43+ <targetPluginBoard></targetPluginBoard>
44+ <platformTool>PICkit2PlatformTool</platformTool>
45+ <languageToolchain>SDCCToolchain</languageToolchain>
46+ <languageToolchainVersion>3.3.0</languageToolchainVersion>
47+ <platform>2</platform>
48+ </toolsSet>
49+ <compileType>
50+ <linkerTool>
51+ <linkerLibItems>
52+ </linkerLibItems>
53+ </linkerTool>
54+ <loading>
55+ <useAlternateLoadableFile>false</useAlternateLoadableFile>
56+ <alternateLoadableFile></alternateLoadableFile>
57+ </loading>
58+ </compileType>
59+ <makeCustomizationType>
60+ <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
61+ <makeCustomizationPreStep></makeCustomizationPreStep>
62+ <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
63+ <makeCustomizationPostStep></makeCustomizationPostStep>
64+ <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
65+ <makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines>
66+ <makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile>
67+ </makeCustomizationType>
68+ <PICkit2PlatformTool>
69+ </PICkit2PlatformTool>
70+ <sdcc>
71+ </sdcc>
72+ </conf>
73+ </confs>
74+</configurationDescriptor>
--- /dev/null
+++ b/nbproject/private/configurations.xml
@@ -0,0 +1,25 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<configurationDescriptor version="62">
3+ <projectmakefile>Makefile</projectmakefile>
4+ <defaultConf>0</defaultConf>
5+ <confs>
6+ <conf name="default" type="2">
7+ <platformToolSN></platformToolSN>
8+ <languageToolchainDir>/usr/local/bin</languageToolchainDir>
9+ <mdbdebugger version="1">
10+ <placeholder1>place holder 1</placeholder1>
11+ <placeholder2>place holder 2</placeholder2>
12+ </mdbdebugger>
13+ <runprofile version="6">
14+ <args></args>
15+ <rundir></rundir>
16+ <buildfirst>true</buildfirst>
17+ <console-type>0</console-type>
18+ <terminal-type>0</terminal-type>
19+ <remove-instrumentation>0</remove-instrumentation>
20+ <environment>
21+ </environment>
22+ </runprofile>
23+ </conf>
24+ </confs>
25+</configurationDescriptor>
--- /dev/null
+++ b/nbproject/private/private.xml
@@ -0,0 +1,3 @@
1+<?xml version="1.0" encoding="UTF-8"?><project-private xmlns="http://www.netbeans.org/ns/project-private/1">
2+ <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
3+</project-private>
--- /dev/null
+++ b/nbproject/project.xml
@@ -0,0 +1,15 @@
1+<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://www.netbeans.org/ns/project/1">
2+ <type>com.microchip.mplab.nbide.embedded.makeproject</type>
3+ <configuration>
4+ <data xmlns="http://www.netbeans.org/ns/make-project/1">
5+ <name>OPENI2CRADIO_6955</name>
6+ <creation-uuid>8845f472-5736-4b0a-8935-c40556dd653c</creation-uuid>
7+ <make-project-type>0</make-project-type>
8+ <c-extensions>c</c-extensions>
9+ <cpp-extensions/>
10+ <header-extensions>h</header-extensions>
11+ <sourceEncoding>UTF-8</sourceEncoding>
12+ <make-dep-projects/>
13+ </data>
14+ </configuration>
15+</project>