-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.LINUX
280 lines (230 loc) · 7.37 KB
/
Makefile.LINUX
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
#############################################################################
# Makefile for building: xqct
# Generated by qmake (1.07a) (Qt 3.3.3) on: Wed Feb 23 10:46:40 2011
# Project: xqct.pro
# Template: app
# Command: $(QMAKE) -o Makefile.LINUX xqct.pro
#############################################################################
####### Compiler, tools and options
CC = gcc-2.96 -std=gnu99
CXX = g++-2.96
LEX = flex
YACC = yacc
CFLAGS = -pipe -fkeep-static-consts -O -Wall -W -g -D_REENTRANT -DLINUX -D_LARGEFILE64_SOURCE -DDEBUG -DUSE_UNZIP -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG
CXXFLAGS = -pipe -fkeep-static-consts -O -D"SCCSid=x=0;static char __attribute((unused))SCCSid" -Wall -W -g -D_REENTRANT -DLINUX -D_LARGEFILE64_SOURCE -DDEBUG -DUSE_UNZIP -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG
LEXFLAGS =
YACCFLAGS= -d
INCPATH = -I/data/apps/qt/qt3/mkspecs/linux-g++ -I. -I$(SWDEV) -I$(SWDEV) -I$(QTDIR)/include
LINK = g++-2.96
LFLAGS = -Wl,-rpath,/opr/libs -Wl,-rpath,/opt/DSSingest/libs -fkeep-static-consts -Wl,-rpath,$$ORIGIN/../lib -Wl,-rpath,$$ORIGIN/../libs -Wl,-rpath,$(QTDIR)/lib
LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -L$(SWDEV)/alan -L$(SWDEV)/arb -L$(SWDEV)/eos -L$(SWDEV)/ftp -L$(SWDEV)/gif -L$(SWDEV)/hrpt -L$(SWDEV)/ingest -L$(SWDEV)/satlib -L$(SWDEV)/satqt -L$(SWDEV)/utils -L$(SWDEV)/www -lsatqt -losmap -lsat -lutils -lgif -larb -ltcd -lqt-mt -lXext -lX11 -lm -lpthread
AR = ar cqs
RANLIB =
MOC = $(QTDIR)/bin/moc
UIC = $(QTDIR)/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 = ./
####### Files
HEADERS = xqct.h \
qctimage.h \
tidedata.h \
tidecalc.h \
qctcollection.h
SOURCES = xqct.cpp \
qctimage.cpp \
tidedata.cpp \
tidecalc.cpp \
qctcollection.cpp \
xqct_main.cpp
OBJECTS = xqct.o \
qctimage.o \
tidedata.o \
tidecalc.o \
qctcollection.o \
xqct_main.o \
configdialog.o \
qmake_image_collection.o
FORMS = configdialog.ui
UICDECLS = configdialog.h
UICIMPLS = configdialog.cpp
SRCMOC = moc_xqct.cpp \
moc_qctimage.cpp \
moc_configdialog.cpp
OBJMOC = moc_xqct.o \
moc_qctimage.o \
moc_configdialog.o
DIST = xqct.pro
QMAKE_TARGET = xqct
DESTDIR =
TARGET = xqct
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.LINUX $(TARGET)
$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)
mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)
$(MOC):
( cd $(QTDIR)/src/moc && $(MAKE) )
Makefile.LINUX: xqct.pro /data/swdev/qmake.conf /data/apps/qt/qt3/mkspecs/linux-g++/qmake.conf /usr/local/qt3/lib/libqt-mt.prl
$(QMAKE) -o Makefile.LINUX xqct.pro
qmake:
@$(QMAKE) -o Makefile.LINUX xqct.pro
dist:
@mkdir -p .tmp/xqct && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/xqct/ && $(COPY_FILE) --parents splash.png .tmp/xqct/ && ( cd `dirname .tmp/xqct` && $(TAR) xqct.tar xqct && $(GZIP) xqct.tar ) && $(MOVE) `dirname .tmp/xqct`/xqct.tar.gz . && $(DEL_FILE) -r .tmp/xqct
mocclean:
-$(DEL_FILE) $(OBJMOC)
-$(DEL_FILE) $(SRCMOC)
uiclean:
-$(DEL_FILE) $(UICIMPLS) $(UICDECLS)
yaccclean:
lexclean:
clean: mocclean uiclean
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) qmake_image_collection.cpp
-$(DEL_FILE) *~ core *.core
####### Sub-libraries
distclean: clean
-$(DEL_FILE) $(TARGET) $(TARGET)
FORCE:
####### Compile
xqct.o: xqct.cpp ../../../satlib/dundee.h \
../../../satqt/qapp.h \
../../../satqt/helpdialog.h \
../../../satqt/mrumenu.h \
../../../satqt/inputdialog.h \
../../../satqt/qzip.h \
../../../satqt/calendardialog.h \
../../../satqt/fileopen.xpm \
../../../satqt/filesave.xpm \
../../../satqt/fileprint.xpm \
../../../satqt/calendaricon3.xpm \
../../../osmap/qct.h \
../../../satqt/kconfig.h \
../../../satqt/kautoconfigdialog.h \
configdialog.h \
qctimage.h \
qctcollection.h \
tidedata.h \
tidecalc.h \
xqct.h \
../../../satlib/loc_t.h \
../../../satlib/scanner.h \
../../../satlib/avhrr.h \
../../../satlib/seawifs.h \
../../../satlib/sgdp4h.h \
../../../satlib/hrptfmt.h \
../../../satlib/txtfile.h \
../../../satlib/txtfile2.h \
../../../satqt/z_unzip.h \
../../../satqt/z_ioapi.h \
../../../satqt/kdialogbase.h
qctimage.o: qctimage.cpp ../../../satlib/dundee.h \
../../../osmap/qct.h \
qctimage.h \
../../../satlib/loc_t.h \
../../../satlib/scanner.h \
../../../satlib/avhrr.h \
../../../satlib/seawifs.h \
../../../satlib/sgdp4h.h \
../../../satlib/hrptfmt.h \
../../../satlib/txtfile.h \
../../../satlib/txtfile2.h
tidedata.o: tidedata.cpp ../../../satlib/dundee.h \
tidedata.h \
../../../satlib/loc_t.h \
../../../satlib/scanner.h \
../../../satlib/avhrr.h \
../../../satlib/seawifs.h \
../../../satlib/sgdp4h.h \
../../../satlib/hrptfmt.h \
../../../satlib/txtfile.h \
../../../satlib/txtfile2.h
tidecalc.o: tidecalc.cpp ../../../satlib/dundee.h \
libtcd/tcd.h \
tidecalc.h \
../../../satlib/loc_t.h \
../../../satlib/scanner.h \
../../../satlib/avhrr.h \
../../../satlib/seawifs.h \
../../../satlib/sgdp4h.h \
../../../satlib/hrptfmt.h \
../../../satlib/txtfile.h \
../../../satlib/txtfile2.h
qctcollection.o: qctcollection.cpp ../../../satlib/dundee.h \
../../../osmap/qct.h \
../../../osmap/inpoly.h \
qctcollection.h \
../../../satlib/loc_t.h \
../../../satlib/scanner.h \
../../../satlib/avhrr.h \
../../../satlib/seawifs.h \
../../../satlib/sgdp4h.h \
../../../satlib/hrptfmt.h \
../../../satlib/txtfile.h \
../../../satlib/txtfile2.h
xqct_main.o: xqct_main.cpp ../../../satqt/qapp.h \
../../../satlib/dundee.h \
xqct.h \
../../../satlib/loc_t.h \
../../../satlib/scanner.h \
../../../satlib/avhrr.h \
../../../satlib/seawifs.h \
../../../satlib/sgdp4h.h \
../../../satlib/hrptfmt.h \
../../../satlib/txtfile.h \
../../../satlib/txtfile2.h
configdialog.h: configdialog.ui
$(UIC) configdialog.ui -o configdialog.h
configdialog.cpp: configdialog.h configdialog.ui
$(UIC) configdialog.ui -i configdialog.h -o configdialog.cpp
configdialog.o: configdialog.cpp configdialog.h
moc_xqct.o: moc_xqct.cpp xqct.h ../../../satlib/dundee.h \
../../../satlib/loc_t.h \
../../../satlib/scanner.h \
../../../satlib/avhrr.h \
../../../satlib/seawifs.h \
../../../satlib/sgdp4h.h \
../../../satlib/hrptfmt.h \
../../../satlib/txtfile.h \
../../../satlib/txtfile2.h
moc_qctimage.o: moc_qctimage.cpp qctimage.h
moc_configdialog.o: moc_configdialog.cpp configdialog.h
moc_xqct.cpp: $(MOC) xqct.h
$(MOC) xqct.h -o moc_xqct.cpp
moc_qctimage.cpp: $(MOC) qctimage.h
$(MOC) qctimage.h -o moc_qctimage.cpp
moc_configdialog.cpp: $(MOC) configdialog.h
$(MOC) configdialog.h -o moc_configdialog.cpp
qmake_image_collection.o: qmake_image_collection.cpp
qmake_image_collection.cpp: splash.png
$(UIC) -embed xqct splash.png -o qmake_image_collection.cpp
####### Install
install:
uninstall: