| /********************************************************************** |
| * Copyright (c) 2002,2003 QNX Software Systems and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * QNX Software Systems - Initial API and implementation |
| ***********************************************************************/ |
| package org.eclipse.cdt.make.internal.core.makefile.gnu; |
| |
| import org.eclipse.cdt.make.core.makefile.gnu.INotParallelRule; |
| import org.eclipse.cdt.make.internal.core.makefile.Command; |
| import org.eclipse.cdt.make.internal.core.makefile.Directive; |
| import org.eclipse.cdt.make.internal.core.makefile.SpecialRule; |
| import org.eclipse.cdt.make.internal.core.makefile.Target; |
| |
| /** |
| * .NOTPARALLEL |
| * If `.NOTPARALLEL' is mentioned as a target, then this invocation of |
| * `make' will be run serially, even if the `-j' option is given. |
| * Any recursively invoked `make' command will still be run in |
| * parallel (unless its makefile contains this target). Any |
| * prerequisites on this target are ignored. |
| */ |
| public class NotParallelRule extends SpecialRule implements INotParallelRule { |
| |
| public NotParallelRule(Directive parent, String[] reqs) { |
| super(parent, new Target(".NOTPARALLEL"), reqs, new Command[0]); |
| } |
| |
| } |