Makefile
273 lines
| 9.2 KiB
| text/x-makefile
|
MakefileLexer
/ FSW-qt / Makefile
paul@pc-solar1.lab-lpp.local
|
r20 | ############################################################################# | ||
paul
|
r98 | # Makefile for building: bin/fsw | ||
paul
|
r134 | # Generated by qmake (2.01a) (Qt 4.8.6) on: Fri May 16 07:58:47 2014 | ||
paul@pc-solar1.lab-lpp.local
|
r20 | # Project: fsw-qt.pro | ||
# Template: app | ||||
paul
|
r90 | # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile fsw-qt.pro | ||
paul@pc-solar1.lab-lpp.local
|
r20 | ############################################################################# | ||
####### Compiler, tools and options | ||||
CC = sparc-rtems-gcc | ||||
CXX = sparc-rtems-g++ | ||||
paul
|
r134 | DEFINES = -DSW_VERSION_N1=1 -DSW_VERSION_N2=0 -DSW_VERSION_N3=0 -DSW_VERSION_N4=7 -DPRINT_MESSAGES_ON_CONSOLE | ||
paul
|
r90 | CFLAGS = -pipe -O3 -Wall $(DEFINES) | ||
paul@pc-solar1.lab-lpp.local
|
r20 | CXXFLAGS = -pipe -O3 -Wall $(DEFINES) | ||
paul
|
r126 | INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I../src -I../header -I../header/processing -I../src/basic_parameters | ||
paul@pc-solar1.lab-lpp.local
|
r20 | LINK = sparc-rtems-g++ | ||
paul
|
r90 | LFLAGS = | ||
paul@pc-solar1.lab-lpp.local
|
r20 | LIBS = $(SUBLIBS) | ||
AR = sparc-rtems-ar rcs | ||||
RANLIB = | ||||
QMAKE = /usr/bin/qmake-qt4 | ||||
TAR = tar -cf | ||||
COMPRESS = gzip -9f | ||||
COPY = cp -f | ||||
SED = sed | ||||
COPY_FILE = $(COPY) | ||||
COPY_DIR = $(COPY) -r | ||||
STRIP = sparc-rtems-strip | ||||
INSTALL_FILE = install -m 644 -p | ||||
INSTALL_DIR = $(COPY_DIR) | ||||
INSTALL_PROGRAM = install -m 755 -p | ||||
DEL_FILE = rm -f | ||||
SYMLINK = ln -f -s | ||||
DEL_DIR = rmdir | ||||
MOVE = mv -f | ||||
CHK_DIR_EXISTS= test -d | ||||
MKDIR = mkdir -p | ||||
####### Output directory | ||||
OBJECTS_DIR = obj/ | ||||
####### Files | ||||
SOURCES = ../src/wf_handler.c \ | ||||
../src/tc_handler.c \ | ||||
../src/fsw_misc.c \ | ||||
../src/fsw_init.c \ | ||||
paul
|
r33 | ../src/fsw_globals.c \ | ||
paul
|
r40 | ../src/fsw_spacewire.c \ | ||
../src/tc_load_dump_parameters.c \ | ||||
paul
|
r45 | ../src/tm_lfr_tc_exe.c \ | ||
paul
|
r95 | ../src/tc_acceptance.c \ | ||
paul
|
r124 | ../src/basic_parameters/basic_parameters.c \ | ||
paul
|
r126 | ../src/processing/fsw_processing.c \ | ||
../src/processing/avf0_prc0.c \ | ||||
../src/processing/avf1_prc1.c \ | ||||
paul
|
r134 | ../src/processing/avf2_prc2.c \ | ||
../src/lfr_cpu_usage_report.c | ||||
paul@pc-solar1.lab-lpp.local
|
r20 | OBJECTS = obj/wf_handler.o \ | ||
obj/tc_handler.o \ | ||||
obj/fsw_misc.o \ | ||||
obj/fsw_init.o \ | ||||
paul
|
r33 | obj/fsw_globals.o \ | ||
paul
|
r40 | obj/fsw_spacewire.o \ | ||
obj/tc_load_dump_parameters.o \ | ||||
paul
|
r45 | obj/tm_lfr_tc_exe.o \ | ||
paul
|
r95 | obj/tc_acceptance.o \ | ||
paul
|
r124 | obj/basic_parameters.o \ | ||
obj/fsw_processing.o \ | ||||
obj/avf0_prc0.o \ | ||||
obj/avf1_prc1.o \ | ||||
paul
|
r134 | obj/avf2_prc2.o \ | ||
obj/lfr_cpu_usage_report.o | ||||
paul@pc-solar1.lab-lpp.local
|
r20 | DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ | ||
/usr/lib64/qt4/mkspecs/common/linux.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/g++-base.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | ||||
/usr/lib64/qt4/mkspecs/qconfig.pri \ | ||||
paul@pc-solar1.lab-lpp.local
|
r21 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | ||
paul@pc-solar1.lab-lpp.local
|
r20 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | ||
/usr/lib64/qt4/mkspecs/features/qt_config.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/default_pre.prf \ | ||||
sparc.pri \ | ||||
paul
|
r90 | /usr/lib64/qt4/mkspecs/features/release.prf \ | ||
paul@pc-solar1.lab-lpp.local
|
r20 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ | ||
paul
|
r33 | /usr/lib64/qt4/mkspecs/features/shared.prf \ | ||
paul@pc-solar1.lab-lpp.local
|
r20 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | ||
/usr/lib64/qt4/mkspecs/features/warn_on.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/resources.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/uic.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/yacc.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/lex.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ | ||||
fsw-qt.pro | ||||
paul
|
r98 | QMAKE_TARGET = fsw | ||
paul@pc-solar1.lab-lpp.local
|
r20 | DESTDIR = bin/ | ||
paul
|
r98 | TARGET = bin/fsw | ||
paul@pc-solar1.lab-lpp.local
|
r20 | |||
first: all | ||||
####### Implicit rules | ||||
.SUFFIXES: .o .c .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): $(OBJECTS) | ||||
@$(CHK_DIR_EXISTS) bin/ || $(MKDIR) bin/ | ||||
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) | ||||
Makefile: fsw-qt.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/linux.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/g++-base.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | ||||
/usr/lib64/qt4/mkspecs/qconfig.pri \ | ||||
paul@pc-solar1.lab-lpp.local
|
r21 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | ||
paul@pc-solar1.lab-lpp.local
|
r20 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | ||
/usr/lib64/qt4/mkspecs/features/qt_config.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/default_pre.prf \ | ||||
sparc.pri \ | ||||
paul
|
r90 | /usr/lib64/qt4/mkspecs/features/release.prf \ | ||
paul@pc-solar1.lab-lpp.local
|
r20 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ | ||
paul
|
r33 | /usr/lib64/qt4/mkspecs/features/shared.prf \ | ||
paul@pc-solar1.lab-lpp.local
|
r20 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | ||
/usr/lib64/qt4/mkspecs/features/warn_on.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/resources.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/uic.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/yacc.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/lex.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/include_source_dir.prf | ||||
paul
|
r90 | $(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile fsw-qt.pro | ||
paul@pc-solar1.lab-lpp.local
|
r20 | /usr/lib64/qt4/mkspecs/common/unix.conf: | ||
/usr/lib64/qt4/mkspecs/common/linux.conf: | ||||
/usr/lib64/qt4/mkspecs/common/gcc-base.conf: | ||||
/usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: | ||||
/usr/lib64/qt4/mkspecs/common/g++-base.conf: | ||||
/usr/lib64/qt4/mkspecs/common/g++-unix.conf: | ||||
/usr/lib64/qt4/mkspecs/qconfig.pri: | ||||
paul@pc-solar1.lab-lpp.local
|
r21 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri: | ||
paul@pc-solar1.lab-lpp.local
|
r20 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: | ||
/usr/lib64/qt4/mkspecs/features/qt_config.prf: | ||||
/usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: | ||||
/usr/lib64/qt4/mkspecs/features/default_pre.prf: | ||||
sparc.pri: | ||||
paul
|
r90 | /usr/lib64/qt4/mkspecs/features/release.prf: | ||
paul@pc-solar1.lab-lpp.local
|
r20 | /usr/lib64/qt4/mkspecs/features/default_post.prf: | ||
paul
|
r33 | /usr/lib64/qt4/mkspecs/features/shared.prf: | ||
paul@pc-solar1.lab-lpp.local
|
r20 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: | ||
/usr/lib64/qt4/mkspecs/features/warn_on.prf: | ||||
/usr/lib64/qt4/mkspecs/features/resources.prf: | ||||
/usr/lib64/qt4/mkspecs/features/uic.prf: | ||||
/usr/lib64/qt4/mkspecs/features/yacc.prf: | ||||
/usr/lib64/qt4/mkspecs/features/lex.prf: | ||||
/usr/lib64/qt4/mkspecs/features/include_source_dir.prf: | ||||
qmake: FORCE | ||||
paul
|
r90 | @$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile fsw-qt.pro | ||
paul@pc-solar1.lab-lpp.local
|
r20 | |||
dist: | ||||
paul
|
r98 | @$(CHK_DIR_EXISTS) obj/fsw1.0.0 || $(MKDIR) obj/fsw1.0.0 | ||
$(COPY_FILE) --parents $(SOURCES) $(DIST) obj/fsw1.0.0/ && (cd `dirname obj/fsw1.0.0` && $(TAR) fsw1.0.0.tar fsw1.0.0 && $(COMPRESS) fsw1.0.0.tar) && $(MOVE) `dirname obj/fsw1.0.0`/fsw1.0.0.tar.gz . && $(DEL_FILE) -r obj/fsw1.0.0 | ||||
paul@pc-solar1.lab-lpp.local
|
r20 | |||
clean:compiler_clean | ||||
-$(DEL_FILE) $(OBJECTS) | ||||
-$(DEL_FILE) *~ core *.core | ||||
####### Sub-libraries | ||||
distclean: clean | ||||
-$(DEL_FILE) $(TARGET) | ||||
-$(DEL_FILE) Makefile | ||||
grmon: | ||||
cd bin && C:/opt/grmon-eval-2.0.29b/win32/bin/grmon.exe -uart COM4 -u | ||||
check: first | ||||
compiler_rcc_make_all: | ||||
compiler_rcc_clean: | ||||
compiler_uic_make_all: | ||||
compiler_uic_clean: | ||||
compiler_image_collection_make_all: qmake_image_collection.cpp | ||||
compiler_image_collection_clean: | ||||
-$(DEL_FILE) qmake_image_collection.cpp | ||||
compiler_yacc_decl_make_all: | ||||
compiler_yacc_decl_clean: | ||||
compiler_yacc_impl_make_all: | ||||
compiler_yacc_impl_clean: | ||||
compiler_lex_make_all: | ||||
compiler_lex_clean: | ||||
compiler_clean: | ||||
####### Compile | ||||
obj/wf_handler.o: ../src/wf_handler.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/wf_handler.o ../src/wf_handler.c | ||||
obj/tc_handler.o: ../src/tc_handler.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/tc_handler.o ../src/tc_handler.c | ||||
obj/fsw_misc.o: ../src/fsw_misc.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/fsw_misc.o ../src/fsw_misc.c | ||||
paul
|
r40 | obj/fsw_init.o: ../src/fsw_init.c ../src/fsw_config.c | ||
paul@pc-solar1.lab-lpp.local
|
r20 | $(CC) -c $(CFLAGS) $(INCPATH) -o obj/fsw_init.o ../src/fsw_init.c | ||
obj/fsw_globals.o: ../src/fsw_globals.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/fsw_globals.o ../src/fsw_globals.c | ||||
paul
|
r33 | obj/fsw_spacewire.o: ../src/fsw_spacewire.c | ||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/fsw_spacewire.o ../src/fsw_spacewire.c | ||||
paul
|
r40 | obj/tc_load_dump_parameters.o: ../src/tc_load_dump_parameters.c | ||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/tc_load_dump_parameters.o ../src/tc_load_dump_parameters.c | ||||
obj/tm_lfr_tc_exe.o: ../src/tm_lfr_tc_exe.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/tm_lfr_tc_exe.o ../src/tm_lfr_tc_exe.c | ||||
paul
|
r45 | obj/tc_acceptance.o: ../src/tc_acceptance.c | ||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/tc_acceptance.o ../src/tc_acceptance.c | ||||
paul
|
r118 | obj/basic_parameters.o: ../src/basic_parameters/basic_parameters.c ../src/basic_parameters/basic_parameters.h | ||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/basic_parameters.o ../src/basic_parameters/basic_parameters.c | ||||
paul
|
r95 | |||
paul
|
r126 | obj/fsw_processing.o: ../src/processing/fsw_processing.c | ||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/fsw_processing.o ../src/processing/fsw_processing.c | ||||
paul
|
r124 | |||
paul
|
r126 | obj/avf0_prc0.o: ../src/processing/avf0_prc0.c | ||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/avf0_prc0.o ../src/processing/avf0_prc0.c | ||||
paul
|
r124 | |||
paul
|
r126 | obj/avf1_prc1.o: ../src/processing/avf1_prc1.c | ||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/avf1_prc1.o ../src/processing/avf1_prc1.c | ||||
paul
|
r124 | |||
paul
|
r126 | obj/avf2_prc2.o: ../src/processing/avf2_prc2.c | ||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/avf2_prc2.o ../src/processing/avf2_prc2.c | ||||
paul
|
r124 | |||
paul
|
r134 | obj/lfr_cpu_usage_report.o: ../src/lfr_cpu_usage_report.c | ||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/lfr_cpu_usage_report.o ../src/lfr_cpu_usage_report.c | ||||
paul@pc-solar1.lab-lpp.local
|
r20 | ####### Install | ||
install: FORCE | ||||
uninstall: FORCE | ||||
FORCE: | ||||