- Timestamp:
- Nov 17, 2005, 4:35:17 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.os2-g++
r14 r15 1 1 # -*- makefile -*- 2 # 3 # :mode=makefile:tabSize=4:indentSize=4:noTabs=false: 4 # :folding=explicit:collapseFolds=1: 2 5 # 3 6 # Main Makefile for building the Qt library, examples and tutorial. … … 9 12 CONTINUEONERROR=-i 10 13 14 HAVE_4OS2 := $(shell echo %@eval[2 + 2]) 15 ifneq (4,$(HAVE_4OS2)) 16 HAVE_4OS2 := 17 endif 18 19 ECHO_EMPTY := $(if $(HAVE_4OS2),@echo .,@echo.) 20 11 21 .PHONY: private_headers 12 22 13 23 all: symlinks src-qmake src-moc sub-src sub-tutorial sub-tools sub-examples 14 @echo.24 $(ECHO_EMPTY) 15 25 @echo The Qt library is now built in lib 16 26 @echo The Qt examples are built in the directories in examples 17 27 @echo The Qt tutorials are built in the directories in tutorial 18 @echo.28 $(ECHO_EMPTY) 19 29 @echo Note: be sure to set the environment variable QTDIR to point 20 30 @echo to here or to wherever you move these directories. 21 @echo.31 $(ECHO_EMPTY) 22 32 @echo Enjoy! - the Trolltech team 23 @echo.33 $(ECHO_EMPTY) 24 34 25 35 symlinks: .qmake.cache private_headers … … 29 39 $(MAKE) -C qmake 30 40 31 src-moc: src-qmake $(FORCEDEP) 32 if not exist src\moc\Makefile cd src\moc & qmake 41 src-moc: src-qmake src\moc\Makefile $(FORCEDEP) 33 42 $(MAKE) -C src\moc 34 43 35 sub-src: src-qmake src-moc .qmake.cache $(FORCEDEP) 36 if not exist src\Makefile cd src & qmake 44 src\moc\Makefile: 45 cd src\moc & qmake 46 47 sub-src: src-qmake src-moc .qmake.cache src\Makefile $(FORCEDEP) 37 48 $(MAKE) -C src 38 49 39 sub-tutorial: sub-src $(FORCEDEP) 40 if not exist tutorial\Makefile cd tutorial & qmake 50 src\Makefile: 51 cd src & qmake 52 53 sub-tutorial: sub-src tutorial\Makefile $(FORCEDEP) 41 54 $(MAKE) -C tutorial $(CONTINUEONERROR) 42 55 43 sub-examples: sub-src sub-tools $(FORCEDEP) 44 if not exist examples\Makefile cd examples & qmake 56 tutorial\Makefile: 57 cd tutorial & qmake 58 59 sub-examples: sub-src sub-tools examples\Makefile $(FORCEDEP) 45 60 $(MAKE) -C examples $(CONTINUEONERROR) 46 61 62 examples\Makefile: 63 cd examples & qmake 64 47 65 #@@TODO(dmik): 48 66 #sub-extensions: sub-src $(FORCEDEP) … … 54 72 #sub-tools: sub-plugins $(FORCEDEP) 55 73 # $(MAKE) -C tools 56 sub-tools: $(FORCEDEP) 57 if not exist tools\Makefile cd tools & qmake 74 sub-tools: tools\Makefile $(FORCEDEP) 58 75 $(MAKE) -C tools 59 76 77 tools\Makefile: 78 cd tools & qmake 79 60 80 clean: 61 81 @if exist qmake\Makefile $(MAKE) -C qmake $(CONTINUEONERROR) clean … … 73 93 74 94 .qmake.cache: 75 @echo.95 $(ECHO_EMPTY) 76 96 @echo Qt must first be configured using the "configure" script. 77 @echo.97 $(ECHO_EMPTY) 78 98 79 99 FORCE:
Note:
See TracChangeset
for help on using the changeset viewer.