mirror of
https://github.com/benapetr/stikkit.git
synced 2025-04-26 04:51:09 -05:00
cleaned up
This commit is contained in:
parent
f3291555ca
commit
003f4afdfb
125
stikkit/Makefile
125
stikkit/Makefile
@ -10,16 +10,15 @@
|
|||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CXX = g++
|
CXX = g++
|
||||||
DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
|
DEFINES =
|
||||||
CFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
CFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
||||||
CXXFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
CXXFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
||||||
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.
|
INCPATH = -I.
|
||||||
LINK = g++
|
LINK = g++
|
||||||
LFLAGS = -m64 -Wl,-O1
|
LFLAGS = -m64 -Wl,-O1
|
||||||
LIBS = $(SUBLIBS) -L/usr/lib/x86_64-linux-gnu -lQtGui -lQtCore -lpthread -lcurl
|
LIBS = $(SUBLIBS) -L/usr/lib/x86_64-linux-gnu -lpthread -lcurl
|
||||||
AR = ar cqs
|
AR = ar cqs
|
||||||
RANLIB =
|
RANLIB =
|
||||||
QMAKE = /usr/share/qt4/bin/qmake
|
|
||||||
TAR = tar -cf
|
TAR = tar -cf
|
||||||
COMPRESS = gzip -9f
|
COMPRESS = gzip -9f
|
||||||
COPY = cp -f
|
COPY = cp -f
|
||||||
@ -51,33 +50,6 @@ OBJECTS = main.o \
|
|||||||
syslog.o \
|
syslog.o \
|
||||||
configuration.o \
|
configuration.o \
|
||||||
terminalparser.o
|
terminalparser.o
|
||||||
DIST = /usr/share/qt4/mkspecs/common/unix.conf \
|
|
||||||
/usr/share/qt4/mkspecs/common/linux.conf \
|
|
||||||
/usr/share/qt4/mkspecs/common/gcc-base.conf \
|
|
||||||
/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
|
|
||||||
/usr/share/qt4/mkspecs/common/g++-base.conf \
|
|
||||||
/usr/share/qt4/mkspecs/common/g++-unix.conf \
|
|
||||||
/usr/share/qt4/mkspecs/qconfig.pri \
|
|
||||||
/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
|
|
||||||
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/release.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/default_post.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/shared.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/qt.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/unix/thread.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/moc.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/resources.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/uic.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/yacc.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/lex.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/include_source_dir.prf \
|
|
||||||
stikkit.pro
|
|
||||||
QMAKE_TARGET = stikkit
|
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
TARGET = stikkit
|
TARGET = stikkit
|
||||||
|
|
||||||
@ -108,70 +80,7 @@ all: Makefile $(TARGET)
|
|||||||
$(TARGET): $(OBJECTS)
|
$(TARGET): $(OBJECTS)
|
||||||
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
||||||
|
|
||||||
Makefile: stikkit.pro /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
|
clean:
|
||||||
/usr/share/qt4/mkspecs/common/linux.conf \
|
|
||||||
/usr/share/qt4/mkspecs/common/gcc-base.conf \
|
|
||||||
/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
|
|
||||||
/usr/share/qt4/mkspecs/common/g++-base.conf \
|
|
||||||
/usr/share/qt4/mkspecs/common/g++-unix.conf \
|
|
||||||
/usr/share/qt4/mkspecs/qconfig.pri \
|
|
||||||
/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
|
|
||||||
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/release.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/default_post.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/shared.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/qt.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/unix/thread.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/moc.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/resources.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/uic.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/yacc.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/lex.prf \
|
|
||||||
/usr/share/qt4/mkspecs/features/include_source_dir.prf \
|
|
||||||
/usr/lib/x86_64-linux-gnu/libQtGui.prl \
|
|
||||||
/usr/lib/x86_64-linux-gnu/libQtCore.prl
|
|
||||||
$(QMAKE) -o Makefile stikkit.pro
|
|
||||||
/usr/share/qt4/mkspecs/common/unix.conf:
|
|
||||||
/usr/share/qt4/mkspecs/common/linux.conf:
|
|
||||||
/usr/share/qt4/mkspecs/common/gcc-base.conf:
|
|
||||||
/usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
|
|
||||||
/usr/share/qt4/mkspecs/common/g++-base.conf:
|
|
||||||
/usr/share/qt4/mkspecs/common/g++-unix.conf:
|
|
||||||
/usr/share/qt4/mkspecs/qconfig.pri:
|
|
||||||
/usr/share/qt4/mkspecs/modules/qt_phonon.pri:
|
|
||||||
/usr/share/qt4/mkspecs/features/qt_functions.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/qt_config.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/default_pre.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/release.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/default_post.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/shared.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/warn_on.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/qt.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/unix/thread.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/moc.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/resources.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/uic.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/yacc.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/lex.prf:
|
|
||||||
/usr/share/qt4/mkspecs/features/include_source_dir.prf:
|
|
||||||
/usr/lib/x86_64-linux-gnu/libQtGui.prl:
|
|
||||||
/usr/lib/x86_64-linux-gnu/libQtCore.prl:
|
|
||||||
qmake: FORCE
|
|
||||||
@$(QMAKE) -o Makefile stikkit.pro
|
|
||||||
|
|
||||||
dist:
|
|
||||||
@$(CHK_DIR_EXISTS) .tmp/stikkit1.0.0 || $(MKDIR) .tmp/stikkit1.0.0
|
|
||||||
$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/stikkit1.0.0/ && $(COPY_FILE) --parents syslog.hpp configuration.hpp terminalparser.hpp .tmp/stikkit1.0.0/ && $(COPY_FILE) --parents main.cpp syslog.cpp configuration.cpp terminalparser.cpp .tmp/stikkit1.0.0/ && (cd `dirname .tmp/stikkit1.0.0` && $(TAR) stikkit1.0.0.tar stikkit1.0.0 && $(COMPRESS) stikkit1.0.0.tar) && $(MOVE) `dirname .tmp/stikkit1.0.0`/stikkit1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/stikkit1.0.0
|
|
||||||
|
|
||||||
|
|
||||||
clean:compiler_clean
|
|
||||||
-$(DEL_FILE) $(OBJECTS)
|
-$(DEL_FILE) $(OBJECTS)
|
||||||
-$(DEL_FILE) *~ core *.core
|
-$(DEL_FILE) *~ core *.core
|
||||||
|
|
||||||
@ -182,34 +91,8 @@ distclean: clean
|
|||||||
-$(DEL_FILE) $(TARGET)
|
-$(DEL_FILE) $(TARGET)
|
||||||
-$(DEL_FILE) Makefile
|
-$(DEL_FILE) Makefile
|
||||||
|
|
||||||
|
|
||||||
check: first
|
check: first
|
||||||
|
|
||||||
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
|
||||||
|
|
||||||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
|
||||||
|
|
||||||
compiler_moc_header_make_all:
|
|
||||||
compiler_moc_header_clean:
|
|
||||||
compiler_rcc_make_all:
|
|
||||||
compiler_rcc_clean:
|
|
||||||
compiler_image_collection_make_all: qmake_image_collection.cpp
|
|
||||||
compiler_image_collection_clean:
|
|
||||||
-$(DEL_FILE) qmake_image_collection.cpp
|
|
||||||
compiler_moc_source_make_all:
|
|
||||||
compiler_moc_source_clean:
|
|
||||||
compiler_uic_make_all:
|
|
||||||
compiler_uic_clean:
|
|
||||||
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
|
|
||||||
|
|
||||||
main.o: main.cpp configuration.hpp \
|
main.o: main.cpp configuration.hpp \
|
||||||
terminalparser.hpp \
|
terminalparser.hpp \
|
||||||
syslog.hpp
|
syslog.hpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user