############################################################################# # Makefile for building: PTZControl # Generated by qmake (2.01a) (Qt 4.8.5) on: Thu Nov 27 10:53:50 2025 # Project: PTZControl.pro # Template: app # Command: /opt/qt4.8.5_64/bin/qmake -o Makefile PTZControl.pro ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) INCPATH = -I/opt/qt4.8.5_64/mkspecs/linux-g++ -I. -I/opt/qt4.8.5_64/include/QtCore -I/opt/qt4.8.5_64/include/QtGui -I/opt/qt4.8.5_64/include -I../../../Include/Common -I../../Include/Common -I. -I. LINK = g++ LFLAGS = -Wl,-O1 -Wl,-rpath,/opt/qt4.8.5_64/lib LIBS = $(SUBLIBS) -L/opt/qt4.8.5_64/lib -L. -ldhnetsdk -lQtGui -L/opt/qt4.8.5_64/lib -L/usr/X11R6/lib -lQtCore -lpthread AR = ar cqs RANLIB = QMAKE = /opt/qt4.8.5_64/bin/qmake TAR = tar -cf COMPRESS = gzip -9f COPY = cp -f SED = sed COPY_FILE = $(COPY) COPY_DIR = $(COPY) -r STRIP = 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 = ./ ####### Files SOURCES = main.cpp \ dialog.cpp \ Ptz.cpp moc_dialog.cpp OBJECTS = main.o \ dialog.o \ Ptz.o \ moc_dialog.o DIST = /opt/qt4.8.5_64/mkspecs/common/unix.conf \ /opt/qt4.8.5_64/mkspecs/common/linux.conf \ /opt/qt4.8.5_64/mkspecs/common/gcc-base.conf \ /opt/qt4.8.5_64/mkspecs/common/gcc-base-unix.conf \ /opt/qt4.8.5_64/mkspecs/common/g++-base.conf \ /opt/qt4.8.5_64/mkspecs/common/g++-unix.conf \ /opt/qt4.8.5_64/mkspecs/qconfig.pri \ /opt/qt4.8.5_64/mkspecs/modules/qt_webkit_version.pri \ /opt/qt4.8.5_64/mkspecs/features/qt_functions.prf \ /opt/qt4.8.5_64/mkspecs/features/qt_config.prf \ /opt/qt4.8.5_64/mkspecs/features/exclusive_builds.prf \ /opt/qt4.8.5_64/mkspecs/features/default_pre.prf \ /opt/qt4.8.5_64/mkspecs/features/release.prf \ /opt/qt4.8.5_64/mkspecs/features/default_post.prf \ /opt/qt4.8.5_64/mkspecs/features/shared.prf \ /opt/qt4.8.5_64/mkspecs/features/unix/gdb_dwarf_index.prf \ /opt/qt4.8.5_64/mkspecs/features/warn_on.prf \ /opt/qt4.8.5_64/mkspecs/features/qt.prf \ /opt/qt4.8.5_64/mkspecs/features/unix/thread.prf \ /opt/qt4.8.5_64/mkspecs/features/moc.prf \ /opt/qt4.8.5_64/mkspecs/features/resources.prf \ /opt/qt4.8.5_64/mkspecs/features/uic.prf \ /opt/qt4.8.5_64/mkspecs/features/yacc.prf \ /opt/qt4.8.5_64/mkspecs/features/lex.prf \ /opt/qt4.8.5_64/mkspecs/features/include_source_dir.prf \ PTZControl.pro QMAKE_TARGET = PTZControl DESTDIR = TARGET = PTZControl 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): ui_dialog.h $(OBJECTS) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) Makefile: PTZControl.pro /opt/qt4.8.5_64/mkspecs/linux-g++/qmake.conf /opt/qt4.8.5_64/mkspecs/common/unix.conf \ /opt/qt4.8.5_64/mkspecs/common/linux.conf \ /opt/qt4.8.5_64/mkspecs/common/gcc-base.conf \ /opt/qt4.8.5_64/mkspecs/common/gcc-base-unix.conf \ /opt/qt4.8.5_64/mkspecs/common/g++-base.conf \ /opt/qt4.8.5_64/mkspecs/common/g++-unix.conf \ /opt/qt4.8.5_64/mkspecs/qconfig.pri \ /opt/qt4.8.5_64/mkspecs/modules/qt_webkit_version.pri \ /opt/qt4.8.5_64/mkspecs/features/qt_functions.prf \ /opt/qt4.8.5_64/mkspecs/features/qt_config.prf \ /opt/qt4.8.5_64/mkspecs/features/exclusive_builds.prf \ /opt/qt4.8.5_64/mkspecs/features/default_pre.prf \ /opt/qt4.8.5_64/mkspecs/features/release.prf \ /opt/qt4.8.5_64/mkspecs/features/default_post.prf \ /opt/qt4.8.5_64/mkspecs/features/shared.prf \ /opt/qt4.8.5_64/mkspecs/features/unix/gdb_dwarf_index.prf \ /opt/qt4.8.5_64/mkspecs/features/warn_on.prf \ /opt/qt4.8.5_64/mkspecs/features/qt.prf \ /opt/qt4.8.5_64/mkspecs/features/unix/thread.prf \ /opt/qt4.8.5_64/mkspecs/features/moc.prf \ /opt/qt4.8.5_64/mkspecs/features/resources.prf \ /opt/qt4.8.5_64/mkspecs/features/uic.prf \ /opt/qt4.8.5_64/mkspecs/features/yacc.prf \ /opt/qt4.8.5_64/mkspecs/features/lex.prf \ /opt/qt4.8.5_64/mkspecs/features/include_source_dir.prf \ /opt/qt4.8.5_64/lib/libQtGui.prl \ /opt/qt4.8.5_64/lib/libQtCore.prl $(QMAKE) -o Makefile PTZControl.pro /opt/qt4.8.5_64/mkspecs/common/unix.conf: /opt/qt4.8.5_64/mkspecs/common/linux.conf: /opt/qt4.8.5_64/mkspecs/common/gcc-base.conf: /opt/qt4.8.5_64/mkspecs/common/gcc-base-unix.conf: /opt/qt4.8.5_64/mkspecs/common/g++-base.conf: /opt/qt4.8.5_64/mkspecs/common/g++-unix.conf: /opt/qt4.8.5_64/mkspecs/qconfig.pri: /opt/qt4.8.5_64/mkspecs/modules/qt_webkit_version.pri: /opt/qt4.8.5_64/mkspecs/features/qt_functions.prf: /opt/qt4.8.5_64/mkspecs/features/qt_config.prf: /opt/qt4.8.5_64/mkspecs/features/exclusive_builds.prf: /opt/qt4.8.5_64/mkspecs/features/default_pre.prf: /opt/qt4.8.5_64/mkspecs/features/release.prf: /opt/qt4.8.5_64/mkspecs/features/default_post.prf: /opt/qt4.8.5_64/mkspecs/features/shared.prf: /opt/qt4.8.5_64/mkspecs/features/unix/gdb_dwarf_index.prf: /opt/qt4.8.5_64/mkspecs/features/warn_on.prf: /opt/qt4.8.5_64/mkspecs/features/qt.prf: /opt/qt4.8.5_64/mkspecs/features/unix/thread.prf: /opt/qt4.8.5_64/mkspecs/features/moc.prf: /opt/qt4.8.5_64/mkspecs/features/resources.prf: /opt/qt4.8.5_64/mkspecs/features/uic.prf: /opt/qt4.8.5_64/mkspecs/features/yacc.prf: /opt/qt4.8.5_64/mkspecs/features/lex.prf: /opt/qt4.8.5_64/mkspecs/features/include_source_dir.prf: /opt/qt4.8.5_64/lib/libQtGui.prl: /opt/qt4.8.5_64/lib/libQtCore.prl: qmake: FORCE @$(QMAKE) -o Makefile PTZControl.pro dist: @$(CHK_DIR_EXISTS) .tmp/PTZControl1.0.0 || $(MKDIR) .tmp/PTZControl1.0.0 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/PTZControl1.0.0/ && $(COPY_FILE) --parents dialog.h Ptz.h UserDefine.h dhnetsdk.h dhassistant.h .tmp/PTZControl1.0.0/ && $(COPY_FILE) --parents main.cpp dialog.cpp Ptz.cpp .tmp/PTZControl1.0.0/ && $(COPY_FILE) --parents dialog.ui .tmp/PTZControl1.0.0/ && (cd `dirname .tmp/PTZControl1.0.0` && $(TAR) PTZControl1.0.0.tar PTZControl1.0.0 && $(COMPRESS) PTZControl1.0.0.tar) && $(MOVE) `dirname .tmp/PTZControl1.0.0`/PTZControl1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/PTZControl1.0.0 clean:compiler_clean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) -$(DEL_FILE) Makefile 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: moc_dialog.cpp compiler_moc_header_clean: -$(DEL_FILE) moc_dialog.cpp moc_dialog.cpp: dialog.h /opt/qt4.8.5_64/bin/moc $(DEFINES) $(INCPATH) dialog.h -o moc_dialog.cpp 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: ui_dialog.h compiler_uic_clean: -$(DEL_FILE) ui_dialog.h ui_dialog.h: dialog.ui /opt/qt4.8.5_64/bin/uic dialog.ui -o ui_dialog.h 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: compiler_moc_header_clean compiler_uic_clean ####### Compile main.o: main.cpp dialog.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp dialog.o: dialog.cpp dialog.h \ ui_dialog.h \ Ptz.h \ UserDefine.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o dialog.o dialog.cpp Ptz.o: Ptz.cpp Ptz.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Ptz.o Ptz.cpp moc_dialog.o: moc_dialog.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_dialog.o moc_dialog.cpp ####### Install install: FORCE uninstall: FORCE FORCE: