![]()
Parent Directory
|
Revision Log
newer QT releases on OSX will try to build an xcode project rather than a makefile; tell it to build makefiles instead.
# # $Id$ # include Makeconf SUBDIRS = capi logger router tun launchers naming dnspxy ifdef QMAKE SUBDIRS += ctl endif all: subdirs .PHONY: all subdirs install clean subdirs: @for dir in $(SUBDIRS); \ do $(MAKE) -wC $$dir || exit; \ done install: test-user @for dir in $(SUBDIRS); \ do $(MAKE) -wC $$dir install || exit; \ done clean: @for dir in $(SUBDIRS); \ do $(MAKE) -wC $$dir clean || exit; \ done distclean: clean rm -rf config.log config.status confdefs.h autom4te.cache Makeconf $(MAKE) -wC yam distclean # Hack to generate ctl/Makefile before we can descend into it. ifdef QMAKE subdirs: ctl/Makefile ctl/Makefile: (cd ctl; unset QMAKESPEC; $(QMAKE) $(QMAKE_FLAGS)) endif # Make sure the appropriate UIA_USER exists... test-user: ifdef UIA_USER @touch test-user-file @(chown 0 test-user-file 2>/dev/null) || \ (echo "You need to run 'make install' as root."; false) @(chown $(UIA_USER) test-user-file 2>/dev/null) || \ (echo "You need to create the global UIA user '$(UIA_USER)',"; \ echo "or else specify --with-user=USER to configure."; false) @rm test-user-file endif
| Maintained by PDOS | ViewVC Help |
| Powered by ViewVC 1.0.3 |