Makefile
资源名称:Webserver.rar [点击查看]
上传用户:yayahi0755
上传日期:2022-05-14
资源大小:876k
文件大小:4k
源码类别:
浏览器
开发平台:
Unix_Linux
- #############################################################################
- # Makefile for building: server
- # Generated by qmake (1.04a) (Qt 3.1.1) on: Wed Jul 5 16:42:20 2006
- # Project: server.pro
- # Template: app
- # Command: $(QMAKE) -o Makefile server.pro
- #############################################################################
- ####### Compiler, tools and options
- CC = gcc
- CXX = g++
- LEX = flex
- YACC = yacc
- CFLAGS = -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions -DQT_NO_DEBUG
- CXXFLAGS = -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions -DQT_NO_DEBUG
- LEXFLAGS =
- YACCFLAGS= -d
- INCPATH = -I$(QTDIR)/mkspecs/default -I. -I$(QTDIR)/include -I.ui/ -I.moc/
- LINK = g++
- LFLAGS =
- LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm
- 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) -p
- COPY_DIR = $(COPY) -pR
- 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 = .obj/
- ####### Files
- HEADERS = serverform.h
- frmserver.h
- ipcserver.h
- SOURCES = main.cpp
- serverform.cpp
- frmserver.cpp
- ipcserver.cpp
- OBJECTS = .obj/main.o
- .obj/serverform.o
- .obj/frmserver.o
- .obj/ipcserver.o
- FORMS =
- UICDECLS =
- UICIMPLS =
- SRCMOC = .moc/moc_serverform.cpp
- .moc/moc_frmserver.cpp
- .moc/moc_ipcserver.cpp
- .moc/ipcserver.moc
- OBJMOC = .obj/moc_serverform.o
- .obj/moc_frmserver.o
- .obj/moc_ipcserver.o
- DIST = server.pro
- QMAKE_TARGET = server
- DESTDIR =
- TARGET = server
- first: all
- ####### Implicit rules
- .SUFFIXES: .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): $(UICDECLS) $(OBJECTS) $(OBJMOC)
- $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
- mocables: $(SRCMOC)
- $(MOC):
- ( cd $(QTDIR)/src/moc ; $(MAKE) )
- Makefile: server.pro $(QTDIR)/mkspecs/default/qmake.conf
- $(QMAKE) -o Makefile server.pro
- qmake:
- @$(QMAKE) -o Makefile server.pro
- dist:
- @mkdir -p .obj/server && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/server/ && ( cd `dirname .obj/server` && $(TAR) server.tar server && $(GZIP) server.tar ) && $(MOVE) `dirname .obj/server`/server.tar.gz . && $(DEL_FILE) -r .obj/server
- 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) $(TARGET) $(TARGET)
- FORCE:
- ####### Compile
- .obj/main.o: main.cpp frmserver.h
- serverform.h
- ipcserver.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/main.o main.cpp
- .obj/serverform.o: serverform.cpp serverform.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/serverform.o serverform.cpp
- .obj/frmserver.o: frmserver.cpp frmserver.h
- serverform.h
- ipcserver.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/frmserver.o frmserver.cpp
- .obj/ipcserver.o: ipcserver.cpp ipcserver.h
- .moc/ipcserver.moc
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/ipcserver.o ipcserver.cpp
- .obj/moc_serverform.o: .moc/moc_serverform.cpp serverform.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/moc_serverform.o .moc/moc_serverform.cpp
- .obj/moc_frmserver.o: .moc/moc_frmserver.cpp frmserver.h serverform.h
- ipcserver.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/moc_frmserver.o .moc/moc_frmserver.cpp
- .obj/moc_ipcserver.o: .moc/moc_ipcserver.cpp ipcserver.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/moc_ipcserver.o .moc/moc_ipcserver.cpp
- .moc/moc_serverform.cpp: $(MOC) serverform.h
- $(MOC) serverform.h -o .moc/moc_serverform.cpp
- .moc/moc_frmserver.cpp: $(MOC) frmserver.h
- $(MOC) frmserver.h -o .moc/moc_frmserver.cpp
- .moc/moc_ipcserver.cpp: $(MOC) ipcserver.h
- $(MOC) ipcserver.h -o .moc/moc_ipcserver.cpp
- .moc/ipcserver.moc: $(MOC) ipcserver.cpp
- $(MOC) ipcserver.cpp -o .moc/ipcserver.moc
- ####### Install
- install: all
- uninstall: