blob: e40d7ae156e496be5314b3fc5557872160f796c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
#############################################################################
# Makefile for building: /bin/multi
# Generated by qmake (1.07a) (Qt 3.3.8b) on: Mon Feb 14 20:24:00 2011
# Project: multi.pro
# Template: app
# Command: $(QMAKE) -o Makefile multi.pro
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
LEX = flex
YACC = yacc
CFLAGS = -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
CXXFLAGS = -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
LEXFLAGS =
YACCFLAGS= -d
INCPATH = -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3
LINK = g++
LFLAGS =
LIBS = $(SUBLIBS) -L/usr/share/qt3/lib -L/usr/X11R6/lib -L/lib -lARToolKitPlus -lqt-mt -lXext -lX11 -lm -lpthread
AR = ar cqs
RANLIB =
MOC = /usr/share/qt3/bin/moc
UIC = /usr/share/qt3/bin/uic
QMAKE = qmake
TAR = tar -cf
GZIP = gzip -9f
COPY = cp -f
COPY_FILE= $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE= $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK = ln -sf
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
####### Output directory
OBJECTS_DIR = /sample/multi/build/linux/release/
####### Files
HEADERS =
SOURCES = src/main.cpp
OBJECTS = /sample/multi/build/linux/release/main.o
FORMS =
UICDECLS =
UICIMPLS =
SRCMOC =
OBJMOC =
DIST = multi.pro
QMAKE_TARGET = multi
DESTDIR = /bin/
TARGET = /bin/multi
first: all
####### Implicit rules
.SUFFIXES: .c .o .cpp .cc .cxx .C
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.C.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
all: Makefile $(TARGET)
$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
test -d /bin/ || mkdir -p /bin/
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)
mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)
$(MOC):
( cd $(QTDIR)/src/moc && $(MAKE) )
Makefile: multi.pro /usr/share/qt3/mkspecs/default/qmake.conf /usr/share/qt3/lib/libqt-mt.prl
$(QMAKE) -o Makefile multi.pro
qmake:
@$(QMAKE) -o Makefile multi.pro
dist:
@mkdir -p /sample/multi/build/linux/release/multi && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) /sample/multi/build/linux/release/multi/ && ( cd `dirname /sample/multi/build/linux/release/multi` && $(TAR) multi.tar multi && $(GZIP) multi.tar ) && $(MOVE) `dirname /sample/multi/build/linux/release/multi`/multi.tar.gz . && $(DEL_FILE) -r /sample/multi/build/linux/release/multi
mocclean:
uiclean:
yaccclean:
lexclean:
clean:
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) /bin/multi
-$(DEL_FILE) *~ core *.core
####### Sub-libraries
distclean: clean
-$(DEL_FILE) /bin/$(TARGET) $(TARGET)
FORCE:
####### Compile
/sample/multi/build/linux/release/main.o: src/main.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o /sample/multi/build/linux/release/main.o src/main.cpp
####### Install
install_target: all
@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)""/bin/" || $(MKDIR) "$(INSTALL_ROOT)""/bin/"
-$(INSTALL_FILE) "/bin/$(QMAKE_TARGET)" "$(INSTALL_ROOT)""/bin/$(QMAKE_TARGET)"
uninstall_target:
-$(DEL_FILE) "$(INSTALL_ROOT)""/bin/$(QMAKE_TARGET)"
-$(DEL_DIR) "$(INSTALL_ROOT)""/bin/"
install: install_target
uninstall: uninstall_target
|