most files - check if this is all we need

This commit is contained in:
2025-06-10 11:43:29 +02:00
parent 34244cacb5
commit 0fa6f49d7f
28 changed files with 9004 additions and 0 deletions

386
Makefile_rhel7 Normal file
View File

@ -0,0 +1,386 @@
#############################################################################
# Makefile for building: rhel7/SeaClient
# Generated by qmake (1.07a) (Qt 3.3.4) on: Thu Apr 6 11:05:39 2017
# Project: SeaClient.pro
# Template: app
# Command: $(QMAKE) -o Makefile_rhel7 SeaClient.pro
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
LEX = flex
YACC = yacc
CFLAGS = -pipe -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED
CXXFLAGS = -pipe -Wall -W -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-write-strings -Wno-unused-but-set-variable -Wno-type-limits -g -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED
LEXFLAGS =
YACCFLAGS= -d
INCPATH = -I/afs/psi.ch/user/z/zolliker/public/qt64/mkspecs/default -I. -I../qtx64/qt-x11-free-3.3.4/include -I../qtx64/qwt-4.2.0/include -I$(QTDIR)/include -I.ui/ -I.moc/
LINK = g++
LFLAGS = -Wl,-rpath,$(QTDIR)/lib
LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -L/afs/psi.ch/user/z/zolliker/public/qwt64/lib -lqwt -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 = rhel7/
####### Files
HEADERS = main.h \
seaset.h \
seaplot.h \
sicsconn.h \
tab.h \
settings.h \
command.h \
graph.h \
utils.h \
export.h \
report.h \
device.h
SOURCES = main.cpp \
seaset.cpp \
seaplot.cpp \
instr_hosts.cpp \
sicsconn.cpp \
tab.cpp \
settings.cpp \
command.cpp \
graph.cpp \
utils.cpp \
export.cpp \
report.cpp \
device.cpp
OBJECTS = rhel7/main.o \
rhel7/seaset.o \
rhel7/seaplot.o \
rhel7/instr_hosts.o \
rhel7/sicsconn.o \
rhel7/tab.o \
rhel7/settings.o \
rhel7/command.o \
rhel7/graph.o \
rhel7/utils.o \
rhel7/export.o \
rhel7/report.o \
rhel7/device.o
FORMS =
UICDECLS =
UICIMPLS =
SRCMOC = .moc/moc_main.cpp \
.moc/moc_seaset.cpp \
.moc/moc_seaplot.cpp \
.moc/moc_sicsconn.cpp \
.moc/moc_tab.cpp \
.moc/moc_settings.cpp \
.moc/moc_command.cpp \
.moc/moc_graph.cpp \
.moc/moc_utils.cpp \
.moc/moc_export.cpp \
.moc/moc_report.cpp \
.moc/moc_device.cpp
OBJMOC = rhel7/moc_main.o \
rhel7/moc_seaset.o \
rhel7/moc_seaplot.o \
rhel7/moc_sicsconn.o \
rhel7/moc_tab.o \
rhel7/moc_settings.o \
rhel7/moc_command.o \
rhel7/moc_graph.o \
rhel7/moc_utils.o \
rhel7/moc_export.o \
rhel7/moc_report.o \
rhel7/moc_device.o
DIST = SeaClient.pro
QMAKE_TARGET = SeaClient
DESTDIR = rhel7/
TARGET = rhel7/SeaClient
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_rhel7 $(TARGET)
$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
test -d rhel7/ || mkdir -p rhel7/
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)
mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)
$(MOC):
( cd $(QTDIR)/src/moc && $(MAKE) )
Makefile_rhel7: SeaClient.pro /afs/psi.ch/user/z/zolliker/public/qt64/mkspecs/default/qmake.conf ../qt64/lib/libqt-mt.prl
$(QMAKE) -o Makefile_rhel7 SeaClient.pro
qmake:
@$(QMAKE) -o Makefile_rhel7 SeaClient.pro
dist:
@mkdir -p rhel7/SeaClient && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) rhel7/SeaClient/ && ( cd `dirname rhel7/SeaClient` && $(TAR) SeaClient.tar SeaClient && $(GZIP) SeaClient.tar ) && $(MOVE) `dirname rhel7/SeaClient`/SeaClient.tar.gz . && $(DEL_FILE) -r rhel7/SeaClient
mocclean:
-$(DEL_FILE) $(OBJMOC)
-$(DEL_FILE) $(SRCMOC)
uiclean:
yaccclean:
lexclean:
clean: mocclean
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) *~ core *.core
####### Sub-libraries
distclean: clean
-$(DEL_FILE) rhel7/$(TARGET) $(TARGET)
FORCE:
####### Compile
rhel7/main.o: main.cpp main.h \
instr_hosts.h \
tab.h \
graph.h \
settings.h \
device.h \
export.h \
report.h \
seaset.h \
sicsconn.h \
seaplot.h \
command.h \
utils.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/main.o main.cpp
rhel7/seaset.o: seaset.cpp seaset.h \
utils.h \
sicsconn.h \
seaplot.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/seaset.o seaset.cpp
rhel7/seaplot.o: seaplot.cpp seaplot.h \
utils.h \
seaset.h \
sicsconn.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/seaplot.o seaplot.cpp
rhel7/instr_hosts.o: instr_hosts.cpp instr_hosts.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/instr_hosts.o instr_hosts.cpp
rhel7/sicsconn.o: sicsconn.cpp sicsconn.h \
instr_hosts.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/sicsconn.o sicsconn.cpp
rhel7/tab.o: tab.cpp tab.h \
graph.h \
settings.h \
device.h \
export.h \
report.h \
seaset.h \
sicsconn.h \
seaplot.h \
command.h \
utils.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/tab.o tab.cpp
rhel7/settings.o: settings.cpp settings.h \
utils.h \
seaset.h \
device.h \
sicsconn.h \
seaplot.h \
command.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/settings.o settings.cpp
rhel7/command.o: command.cpp command.h \
utils.h \
sicsconn.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/command.o command.cpp
rhel7/graph.o: graph.cpp graph.h \
seaset.h \
utils.h \
sicsconn.h \
seaplot.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/graph.o graph.cpp
rhel7/utils.o: utils.cpp utils.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/utils.o utils.cpp
rhel7/export.o: export.cpp export.h \
seaset.h \
sicsconn.h \
seaplot.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/export.o export.cpp
rhel7/report.o: report.cpp report.h \
sicsconn.h \
utils.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/report.o report.cpp
rhel7/device.o: device.cpp device.h \
utils.h \
seaset.h \
command.h \
sicsconn.h \
seaplot.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/device.o device.cpp
rhel7/moc_main.o: .moc/moc_main.cpp main.h tab.h \
graph.h \
settings.h \
device.h \
export.h \
report.h \
seaset.h \
sicsconn.h \
seaplot.h \
command.h \
utils.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/moc_main.o .moc/moc_main.cpp
rhel7/moc_seaset.o: .moc/moc_seaset.cpp seaset.h sicsconn.h \
seaplot.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/moc_seaset.o .moc/moc_seaset.cpp
rhel7/moc_seaplot.o: .moc/moc_seaplot.cpp seaplot.h seaset.h \
sicsconn.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/moc_seaplot.o .moc/moc_seaplot.cpp
rhel7/moc_sicsconn.o: .moc/moc_sicsconn.cpp sicsconn.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/moc_sicsconn.o .moc/moc_sicsconn.cpp
rhel7/moc_tab.o: .moc/moc_tab.cpp tab.h graph.h \
settings.h \
device.h \
export.h \
report.h \
seaset.h \
sicsconn.h \
seaplot.h \
command.h \
utils.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/moc_tab.o .moc/moc_tab.cpp
rhel7/moc_settings.o: .moc/moc_settings.cpp settings.h seaset.h \
device.h \
sicsconn.h \
seaplot.h \
command.h \
utils.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/moc_settings.o .moc/moc_settings.cpp
rhel7/moc_command.o: .moc/moc_command.cpp command.h sicsconn.h \
utils.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/moc_command.o .moc/moc_command.cpp
rhel7/moc_graph.o: .moc/moc_graph.cpp graph.h seaset.h \
sicsconn.h \
seaplot.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/moc_graph.o .moc/moc_graph.cpp
rhel7/moc_utils.o: .moc/moc_utils.cpp utils.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/moc_utils.o .moc/moc_utils.cpp
rhel7/moc_export.o: .moc/moc_export.cpp export.h seaset.h \
sicsconn.h \
seaplot.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/moc_export.o .moc/moc_export.cpp
rhel7/moc_report.o: .moc/moc_report.cpp report.h sicsconn.h \
utils.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/moc_report.o .moc/moc_report.cpp
rhel7/moc_device.o: .moc/moc_device.cpp device.h seaset.h \
command.h \
sicsconn.h \
seaplot.h \
utils.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o rhel7/moc_device.o .moc/moc_device.cpp
.moc/moc_main.cpp: $(MOC) main.h
$(MOC) main.h -o .moc/moc_main.cpp
.moc/moc_seaset.cpp: $(MOC) seaset.h
$(MOC) seaset.h -o .moc/moc_seaset.cpp
.moc/moc_seaplot.cpp: $(MOC) seaplot.h
$(MOC) seaplot.h -o .moc/moc_seaplot.cpp
.moc/moc_sicsconn.cpp: $(MOC) sicsconn.h
$(MOC) sicsconn.h -o .moc/moc_sicsconn.cpp
.moc/moc_tab.cpp: $(MOC) tab.h
$(MOC) tab.h -o .moc/moc_tab.cpp
.moc/moc_settings.cpp: $(MOC) settings.h
$(MOC) settings.h -o .moc/moc_settings.cpp
.moc/moc_command.cpp: $(MOC) command.h
$(MOC) command.h -o .moc/moc_command.cpp
.moc/moc_graph.cpp: $(MOC) graph.h
$(MOC) graph.h -o .moc/moc_graph.cpp
.moc/moc_utils.cpp: $(MOC) utils.h
$(MOC) utils.h -o .moc/moc_utils.cpp
.moc/moc_export.cpp: $(MOC) export.h
$(MOC) export.h -o .moc/moc_export.cpp
.moc/moc_report.cpp: $(MOC) report.h
$(MOC) report.h -o .moc/moc_report.cpp
.moc/moc_device.cpp: $(MOC) device.h
$(MOC) device.h -o .moc/moc_device.cpp
####### Install
install:
uninstall: