Makefile
238 lines
| 7.8 KiB
| text/x-makefile
|
MakefileLexer
/ TimeGenerator-qt / Makefile
paul
|
r108 | ############################################################################# | ||
# Makefile for building: bin/timegen | ||||
# Generated by qmake (2.01a) (Qt 4.8.5) on: Fri Mar 21 09:10:01 2014 | ||||
# Project: timegen.pro | ||||
# Template: app | ||||
# Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile timegen.pro | ||||
############################################################################# | ||||
####### Compiler, tools and options | ||||
CC = sparc-rtems-gcc | ||||
CXX = sparc-rtems-g++ | ||||
DEFINES = -DSW_VERSION_N1=0 -DSW_VERSION_N2=0 -DSW_VERSION_N3=0 -DSW_VERSION_N4=1 -DPRINT_MESSAGES_ON_CONSOLE -DDEBUG_MESSAGES -DBOOT_MESSAGES | ||||
CFLAGS = -pipe -O3 -Wall $(DEFINES) | ||||
CXXFLAGS = -pipe -O3 -Wall $(DEFINES) | ||||
INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -Isrc -Iheader -I../src -I../header | ||||
LINK = sparc-rtems-g++ | ||||
LFLAGS = | ||||
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/timegen_init.c \ | ||||
src/timegen_tc_handler.c \ | ||||
src/timegen_misc.c \ | ||||
src/timegen_spacewire.c \ | ||||
../src/fsw_misc.c \ | ||||
../src/fsw_globals.c \ | ||||
../src/tm_lfr_tc_exe.c \ | ||||
../src/tc_acceptance.c | ||||
OBJECTS = obj/timegen_init.o \ | ||||
obj/timegen_tc_handler.o \ | ||||
obj/timegen_misc.o \ | ||||
obj/timegen_spacewire.o \ | ||||
obj/fsw_misc.o \ | ||||
obj/fsw_globals.o \ | ||||
obj/tm_lfr_tc_exe.o \ | ||||
obj/tc_acceptance.o | ||||
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 \ | ||||
/usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | ||||
/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 \ | ||||
/usr/lib64/qt4/mkspecs/features/release.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/default_post.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/shared.prf \ | ||||
/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 \ | ||||
timegen.pro | ||||
QMAKE_TARGET = timegen | ||||
DESTDIR = bin/ | ||||
TARGET = bin/timegen | ||||
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: timegen.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 \ | ||||
/usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | ||||
/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 \ | ||||
/usr/lib64/qt4/mkspecs/features/release.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/default_post.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/shared.prf \ | ||||
/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) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile timegen.pro | ||||
/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: | ||||
/usr/lib64/qt4/mkspecs/modules/qt_webkit.pri: | ||||
/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: | ||||
/usr/lib64/qt4/mkspecs/features/release.prf: | ||||
/usr/lib64/qt4/mkspecs/features/default_post.prf: | ||||
/usr/lib64/qt4/mkspecs/features/shared.prf: | ||||
/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 | ||||
@$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile timegen.pro | ||||
dist: | ||||
@$(CHK_DIR_EXISTS) obj/timegen1.0.0 || $(MKDIR) obj/timegen1.0.0 | ||||
$(COPY_FILE) --parents $(SOURCES) $(DIST) obj/timegen1.0.0/ && (cd `dirname obj/timegen1.0.0` && $(TAR) timegen1.0.0.tar timegen1.0.0 && $(COMPRESS) timegen1.0.0.tar) && $(MOVE) `dirname obj/timegen1.0.0`/timegen1.0.0.tar.gz . && $(DEL_FILE) -r obj/timegen1.0.0 | ||||
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/timegen_init.o: src/timegen_init.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/timegen_init.o src/timegen_init.c | ||||
obj/timegen_tc_handler.o: src/timegen_tc_handler.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/timegen_tc_handler.o src/timegen_tc_handler.c | ||||
obj/timegen_misc.o: src/timegen_misc.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/timegen_misc.o src/timegen_misc.c | ||||
obj/timegen_spacewire.o: src/timegen_spacewire.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/timegen_spacewire.o src/timegen_spacewire.c | ||||
obj/fsw_misc.o: ../src/fsw_misc.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/fsw_misc.o ../src/fsw_misc.c | ||||
obj/fsw_globals.o: ../src/fsw_globals.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/fsw_globals.o ../src/fsw_globals.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 | ||||
obj/tc_acceptance.o: ../src/tc_acceptance.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/tc_acceptance.o ../src/tc_acceptance.c | ||||
####### Install | ||||
install: FORCE | ||||
uninstall: FORCE | ||||
FORCE: | ||||