summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranklin Cooper Jr2011-10-27 13:39:47 -0500
committerFranklin Cooper Jr2011-10-27 13:39:47 -0500
commit8f50865be383e2b3b77704544924939e5a095056 (patch)
tree46cd0ed8308546d1fa337b74687111a48ba7207f
parent28fc625ad3ad6a78027b8b4badc74b36cb5045bb (diff)
downloadmatrix_browser-8f50865be383e2b3b77704544924939e5a095056.tar.gz
matrix_browser-8f50865be383e2b3b77704544924939e5a095056.tar.xz
matrix_browser-8f50865be383e2b3b77704544924939e5a095056.zip
Adding CCS project files and removing unneeded Makefile
-rw-r--r--.project92
-rw-r--r--Makefile221
-rw-r--r--Makefile.build37
3 files changed, 129 insertions, 221 deletions
diff --git a/.project b/.project
new file mode 100644
index 0000000..19f067f
--- /dev/null
+++ b/.project
@@ -0,0 +1,92 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<projectDescription>
3 <name>matrix_browser</name>
4 <comment></comment>
5 <projects>
6 </projects>
7 <buildSpec>
8 <buildCommand>
9 <name>com.trolltech.qtcppproject.QtMakefileGenerator</name>
10 <arguments>
11 </arguments>
12 </buildCommand>
13 <buildCommand>
14 <name>org.eclipse.cdt.make.core.makeBuilder</name>
15 <triggers>clean,full,incremental,</triggers>
16 <arguments>
17 <dictionary>
18 <key>org.eclipse.cdt.core.errorOutputParser</key>
19 <value></value>
20 </dictionary>
21 <dictionary>
22 <key>org.eclipse.cdt.make.core.append_environment</key>
23 <value>true</value>
24 </dictionary>
25 <dictionary>
26 <key>org.eclipse.cdt.make.core.build.arguments</key>
27 <value>-f Makefile.build</value>
28 </dictionary>
29 <dictionary>
30 <key>org.eclipse.cdt.make.core.build.command</key>
31 <value>make</value>
32 </dictionary>
33 <dictionary>
34 <key>org.eclipse.cdt.make.core.build.location</key>
35 <value></value>
36 </dictionary>
37 <dictionary>
38 <key>org.eclipse.cdt.make.core.build.target.auto</key>
39 <value>debug</value>
40 </dictionary>
41 <dictionary>
42 <key>org.eclipse.cdt.make.core.build.target.clean</key>
43 <value>clean</value>
44 </dictionary>
45 <dictionary>
46 <key>org.eclipse.cdt.make.core.build.target.inc</key>
47 <value>release</value>
48 </dictionary>
49 <dictionary>
50 <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
51 <value>false</value>
52 </dictionary>
53 <dictionary>
54 <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
55 <value>true</value>
56 </dictionary>
57 <dictionary>
58 <key>org.eclipse.cdt.make.core.enableFullBuild</key>
59 <value>true</value>
60 </dictionary>
61 <dictionary>
62 <key>org.eclipse.cdt.make.core.enabledIncrementalBuild</key>
63 <value>true</value>
64 </dictionary>
65 <dictionary>
66 <key>org.eclipse.cdt.make.core.environment</key>
67 <value>PATH=${TI_SDK_PATH}/linux-devkit/bin:${env_var:PATH}|</value>
68 </dictionary>
69 <dictionary>
70 <key>org.eclipse.cdt.make.core.stopOnError</key>
71 <value>false</value>
72 </dictionary>
73 <dictionary>
74 <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
75 <value>false</value>
76 </dictionary>
77 </arguments>
78 </buildCommand>
79 <buildCommand>
80 <name>org.eclipse.cdt.make.core.ScannerConfigBuilder</name>
81 <arguments>
82 </arguments>
83 </buildCommand>
84 </buildSpec>
85 <natures>
86 <nature>org.eclipse.cdt.core.cnature</nature>
87 <nature>org.eclipse.cdt.core.ccnature</nature>
88 <nature>org.eclipse.cdt.make.core.makeNature</nature>
89 <nature>org.eclipse.cdt.make.core.ScannerConfigNature</nature>
90 <nature>com.trolltech.qtcppproject.QtNature</nature>
91 </natures>
92</projectDescription>
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 6f8795a..0000000
--- a/Makefile
+++ /dev/null
@@ -1,221 +0,0 @@
1#############################################################################
2# Makefile for building: matrix_browser
3# Generated by qmake (2.01a) (Qt 4.7.2) on: Fri Oct 21 08:17:05 2011
4# Project: matrix_browser.pro
5# Template: app
6# Command: /home/franklin/ti-sdk-am37x-evm-05.03.00.00/linux-devkit/bin/qmake -o Makefile matrix_browser.pro
7#############################################################################
8
9####### Compiler, tools and options
10
11CC = $(OE_QMAKE_CC)
12CXX = $(OE_QMAKE_CXX)
13DEFINES = -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
14CFLAGS = -pipe $(OE_QMAKE_CFLAGS) -Wall -W -D_REENTRANT $(DEFINES)
15CXXFLAGS = -pipe $(OE_QMAKE_CFLAGS) $(OE_QMAKE_CXXFLAGS) -Wall -W -D_REENTRANT $(DEFINES)
16INCPATH = -I../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/linux-g++ -I. -I$(OE_QMAKE_INCDIR_QT)/QtCore -I$(OE_QMAKE_INCDIR_QT)/QtGui -I$(OE_QMAKE_INCDIR_QT)/QtWebKit -I$(OE_QMAKE_INCDIR_QT) -I. -I.
17LINK = $(OE_QMAKE_LINK)
18LFLAGS = $(OE_QMAKE_LDFLAGS) -Wl,-rpath-link,$(OE_QMAKE_LIBDIR_QT)
19LIBS = $(SUBLIBS) -L$(OE_QMAKE_LIBDIR_QT) -lQtWebKitE -lQtGuiE -lQtNetworkE -lQtCoreE -lpthread
20AR = $(OE_QMAKE_AR) cqs
21RANLIB =
22QMAKE = /home/franklin/ti-sdk-am37x-evm-05.03.00.00/linux-devkit/bin/qmake
23TAR = tar -cf
24COMPRESS = gzip -9f
25COPY = cp -f
26SED = sed
27COPY_FILE = $(COPY)
28COPY_DIR = $(COPY) -r
29STRIP = $(OE_QMAKE_STRIP)
30INSTALL_FILE = install -m 644 -p
31INSTALL_DIR = $(COPY_DIR)
32INSTALL_PROGRAM = install -m 755 -p
33DEL_FILE = rm -f
34SYMLINK = ln -f -s
35DEL_DIR = rmdir
36MOVE = mv -f
37CHK_DIR_EXISTS= test -d
38MKDIR = mkdir -p
39
40####### Output directory
41
42OBJECTS_DIR = ./
43
44####### Files
45
46SOURCES = main.cpp moc_test.cpp
47OBJECTS = main.o \
48 moc_test.o
49DIST = ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/common/g++.conf \
50 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/common/unix.conf \
51 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/common/linux.conf \
52 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/qconfig.pri \
53 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/qt_functions.prf \
54 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/qt_config.prf \
55 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/exclusive_builds.prf \
56 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/default_pre.prf \
57 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/release.prf \
58 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/default_post.prf \
59 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/warn_on.prf \
60 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/qt.prf \
61 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/unix/thread.prf \
62 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/moc.prf \
63 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/resources.prf \
64 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/uic.prf \
65 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/yacc.prf \
66 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/lex.prf \
67 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/include_source_dir.prf \
68 matrix_browser.pro
69QMAKE_TARGET = matrix_browser
70DESTDIR =
71TARGET = matrix_browser
72
73first: all
74####### Implicit rules
75
76.SUFFIXES: .o .c .cpp .cc .cxx .C
77
78.cpp.o:
79 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
80
81.cc.o:
82 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
83
84.cxx.o:
85 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
86
87.C.o:
88 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
89
90.c.o:
91 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
92
93####### Build rules
94
95all: Makefile $(TARGET)
96
97$(TARGET): $(OBJECTS)
98 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
99
100Makefile: matrix_browser.pro ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/linux-g++/qmake.conf ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/common/g++.conf \
101 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/common/unix.conf \
102 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/common/linux.conf \
103 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/qconfig.pri \
104 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/qt_functions.prf \
105 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/qt_config.prf \
106 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/exclusive_builds.prf \
107 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/default_pre.prf \
108 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/release.prf \
109 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/default_post.prf \
110 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/warn_on.prf \
111 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/qt.prf \
112 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/unix/thread.prf \
113 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/moc.prf \
114 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/resources.prf \
115 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/uic.prf \
116 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/yacc.prf \
117 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/lex.prf \
118 ../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/include_source_dir.prf \
119 /home/franklin/ti-sdk-am37x-evm-05.03.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/lib/libQtWebKitE.prl \
120 /home/franklin/ti-sdk-am37x-evm-05.03.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/lib/libQtGuiE.prl \
121 /home/franklin/ti-sdk-am37x-evm-05.03.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/lib/libQtNetworkE.prl \
122 /home/franklin/ti-sdk-am37x-evm-05.03.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/lib/libQtCoreE.prl
123 $(QMAKE) -o Makefile matrix_browser.pro
124../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/common/g++.conf:
125../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/common/unix.conf:
126../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/common/linux.conf:
127../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/qconfig.pri:
128../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/qt_functions.prf:
129../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/qt_config.prf:
130../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/exclusive_builds.prf:
131../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/default_pre.prf:
132../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/release.prf:
133../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/default_post.prf:
134../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/warn_on.prf:
135../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/qt.prf:
136../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/unix/thread.prf:
137../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/moc.prf:
138../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/resources.prf:
139../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/uic.prf:
140../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/yacc.prf:
141../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/lex.prf:
142../../linux-devkit/arm-arago-linux-gnueabi/usr/share/qtopia/mkspecs/features/include_source_dir.prf:
143/home/franklin/ti-sdk-am37x-evm-05.03.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/lib/libQtWebKitE.prl:
144/home/franklin/ti-sdk-am37x-evm-05.03.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/lib/libQtGuiE.prl:
145/home/franklin/ti-sdk-am37x-evm-05.03.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/lib/libQtNetworkE.prl:
146/home/franklin/ti-sdk-am37x-evm-05.03.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/lib/libQtCoreE.prl:
147qmake: FORCE
148 @$(QMAKE) -o Makefile matrix_browser.pro
149
150dist:
151 @$(CHK_DIR_EXISTS) .tmp/matrix_browser1.0.0 || $(MKDIR) .tmp/matrix_browser1.0.0
152 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/matrix_browser1.0.0/ && $(COPY_FILE) --parents test.h .tmp/matrix_browser1.0.0/ && $(COPY_FILE) --parents main.cpp .tmp/matrix_browser1.0.0/ && (cd `dirname .tmp/matrix_browser1.0.0` && $(TAR) matrix_browser1.0.0.tar matrix_browser1.0.0 && $(COMPRESS) matrix_browser1.0.0.tar) && $(MOVE) `dirname .tmp/matrix_browser1.0.0`/matrix_browser1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/matrix_browser1.0.0
153
154
155clean:compiler_clean
156 -$(DEL_FILE) $(OBJECTS)
157 -$(DEL_FILE) *~ core *.core
158
159
160####### Sub-libraries
161
162distclean: clean
163 -$(DEL_FILE) $(TARGET)
164 -$(DEL_FILE) Makefile
165
166
167check: first
168
169mocclean: compiler_moc_header_clean compiler_moc_source_clean
170
171mocables: compiler_moc_header_make_all compiler_moc_source_make_all
172
173compiler_moc_header_make_all: moc_test.cpp
174compiler_moc_header_clean:
175 -$(DEL_FILE) moc_test.cpp
176moc_test.cpp: test.h
177 $(OE_QMAKE_MOC) $(DEFINES) $(INCPATH) test.h -o moc_test.cpp
178
179compiler_rcc_make_all:
180compiler_rcc_clean:
181compiler_image_collection_make_all: qmake_image_collection.cpp
182compiler_image_collection_clean:
183 -$(DEL_FILE) qmake_image_collection.cpp
184compiler_moc_source_make_all:
185compiler_moc_source_clean:
186compiler_uic_make_all:
187compiler_uic_clean:
188compiler_yacc_decl_make_all:
189compiler_yacc_decl_clean:
190compiler_yacc_impl_make_all:
191compiler_yacc_impl_clean:
192compiler_lex_make_all:
193compiler_lex_clean:
194compiler_clean: compiler_moc_header_clean
195
196####### Compile
197
198main.o: main.cpp test.h
199 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
200
201moc_test.o: moc_test.cpp
202 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_test.o moc_test.cpp
203
204####### Install
205
206install_target: first FORCE
207 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/home/franklin/ti-sdk-am37x-evm-05.03.00.00/example-applications/matrix_browser/./ || $(MKDIR) $(INSTALL_ROOT)/home/franklin/ti-sdk-am37x-evm-05.03.00.00/example-applications/matrix_browser/./
208 -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/home/franklin/ti-sdk-am37x-evm-05.03.00.00/example-applications/matrix_browser/$(QMAKE_TARGET)"
209 -$(STRIP) "$(INSTALL_ROOT)/home/franklin/ti-sdk-am37x-evm-05.03.00.00/example-applications/matrix_browser/$(QMAKE_TARGET)"
210
211uninstall_target: FORCE
212 -$(DEL_FILE) "$(INSTALL_ROOT)/home/franklin/ti-sdk-am37x-evm-05.03.00.00/example-applications/matrix_browser/$(QMAKE_TARGET)"
213 -$(DEL_DIR) $(INSTALL_ROOT)/home/franklin/ti-sdk-am37x-evm-05.03.00.00/example-applications/matrix_browser/./
214
215
216install: install_target FORCE
217
218uninstall: uninstall_target FORCE
219
220FORCE:
221
diff --git a/Makefile.build b/Makefile.build
new file mode 100644
index 0000000..01e6f93
--- /dev/null
+++ b/Makefile.build
@@ -0,0 +1,37 @@
1-include ../../Rules.make
2
3ENV_SETUP ?= ../../linux-devkit/environment-setup
4DESTDIR ?=
5PLATFORM ?=
6PLATFORM_DEFINE ?= "Platform_${PLATFORM}"
7
8SOURCES = main.cpp matrix_browser.pro
9
10all: debug release
11
12qmake : matrix_browser.pro
13 @. ${ENV_SETUP}; \
14 qmake2 CONFIG+=debug_and_release QMAKE_CXXFLAGS_DEBUG+=-D${PLATFORM_DEFINE} QMAKE_CXXFLAGS_RELEASE+=-D${PLATFORM_DEFINE} matrix_browser.pro
15
16debug : ${SOURCES} qmake
17 @. ${ENV_SETUP}; \
18 make -f Makefile debug
19
20release : ${SOURCES} qmake
21 @. ${ENV_SETUP}; \
22 make -f Makefile release
23
24clean : ${SOURCES} qmake
25 @. ${ENV_SETUP}; \
26 make -f Makefile distclean
27
28install: release
29 @install -d ${DESTDIR}/usr/bin
30 @install matrix_browser ${DESTDIR}/usr/bin/matrix_browser; \
31 echo "matrix_browser release version installed."
32
33install_debug: debug
34 @install -d ${DESTDIR}/usr/bin
35 @install matrix_browser ${DESTDIR}/usr/bin/matrix_browser; \
36 echo "matrix_browser debug version installed."
37