Changeset 1045 for trunk/config/moc.gmk
- Timestamp:
- May 15, 2009, 12:28:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/config/moc.gmk
r893 r1045 1 # $Id: moc.gmk,v 1. 2 2008/11/24 14:19:44 lgarnierExp $1 # $Id: moc.gmk,v 1.3 2008/12/03 13:35:36 gcosmo Exp $ 2 2 # ---------------------------------------------------------------- 3 3 # Common part of GNUmakefile for libraries. John Allison, 5/7/95. … … 13 13 14 14 ifneq ($(G4INTY_BUILD_QT),) 15 moc_inc := $(shell ( grep-l "Q_OBJECT" include/*.hh))15 moc_inc := $(shell ($(GREP) -l "Q_OBJECT" include/*.hh)) 16 16 moc_sources := $(patsubst include/%.hh, moc/%_moc.cc, $(moc_inc)) 17 17 moc_objects := $(patsubst moc/%_moc.cc,$(G4TMPDIR)/%_moc.o,$(moc_sources)) … … 46 46 @echo Making moc file for $< ... 47 47 @if [ ! -d moc ] ; then mkdir -p moc ;fi 48 @if [ `$(QTMOC) -v 2>&1 | grep"Qt 3" | wc -l ` -gt 0 ]; then \48 @if [ `$(QTMOC) -v 2>&1 | $(GREP) "Qt 3" | wc -l ` -gt 0 ]; then \ 49 49 $(QTMOC) -o $@ $<;\ 50 50 else $(QTMOC) $(MOC_MACRO) -o $@ $<; \
Note: See TracChangeset
for help on using the changeset viewer.