Commit 836d7b95 authored by kocienda's avatar kocienda

Some small tweaks to the make system to prevent spurious remaking of Makefile.dep


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 27e4031b
......@@ -103,6 +103,8 @@ $(LIBRARY): $(CXXOBJECTS)
$(PROGRAM): testkjs.o
$(CC) $< -o $@ -L. -lkjs
depend:
grammar.h: grammar.cpp.h
ln -s grammar.cpp.h grammar.h
......
......@@ -103,6 +103,8 @@ $(LIBRARY): $(CXXOBJECTS)
$(PROGRAM): testkjs.o
$(CC) $< -o $@ -L. -lkjs
depend:
grammar.h: grammar.cpp.h
ln -s grammar.cpp.h grammar.h
......
......@@ -32,7 +32,7 @@ SUBDIRS = \
#----------------------------------------------------------------------
# Standard targets
all setup install clean distclean maintainer-clean:
all depend setup install clean distclean maintainer-clean:
@target=$@; \
list='$(SUBDIRS)'; \
for subdir in $$list; do \
......@@ -55,6 +55,7 @@ local-all:
local-dep:
local-install:
local-setup:
local-depend:
local-clean:
local-distclean:
......
......@@ -68,7 +68,7 @@ CXXFLAGS = $(BASECXXFLAGS) \
#----------------------------------------------------------------------
# Set targets for this directory
all: Makefile.dep $(CFILES) $(OBJECTS) $(LIBRARY)
all: $(CFILES) $(OBJECTS) $(LIBRARY)
$(LIBRARY): $(OBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
......
......@@ -53,7 +53,7 @@ CXXFLAGS = $(BASECXXFLAGS) \
#----------------------------------------------------------------------
# Set targets for this directory
all: Makefile.dep $(OBJECTS) $(LIBRARY)
all: $(OBJECTS) $(LIBRARY)
$(LIBRARY): $(CXXOBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
......
......@@ -53,7 +53,7 @@ CXXFLAGS = $(BASECXXFLAGS) \
#----------------------------------------------------------------------
# Set targets for this directory
all: Makefile.dep $(OBJECTS) $(LIBRARY)
all: $(OBJECTS) $(LIBRARY)
$(LIBRARY): $(CXXOBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
......
# Generated automatically from Makefile.in by configure.
#======================================================================
#
# Makefile
......@@ -47,7 +46,7 @@ CXXFLAGS = $(BASECXXFLAGS) \
#----------------------------------------------------------------------
# Set targets for this directory
all: Makefile.dep $(OBJECTS) $(LIBRARY)
all: $(OBJECTS) $(LIBRARY)
$(LIBRARY): $(CXXOBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
......
......@@ -66,7 +66,7 @@ CXXFLAGS = $(BASECXXFLAGS) \
#----------------------------------------------------------------------
# Set targets for this directory
all: Makefile.dep $(OBJECTS) $(LIBRARY)
all: $(OBJECTS) $(LIBRARY)
$(LIBRARY): $(OBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
......
......@@ -57,7 +57,7 @@ CXXFLAGS = $(BASECXXFLAGS) \
#----------------------------------------------------------------------
# Set targets for this directory
all: Makefile.dep $(OBJECTS) $(LIBRARY)
all: $(OBJECTS) $(LIBRARY)
$(LIBRARY): $(OBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
......
# Generated automatically from Makefile.in by configure.
#======================================================================
#
# Makefile
......
/*
* Copyright (C) 2001 Apple Computer, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef KCOMPLETION_H_
#define KCOMPLETION_H_
#include <qobject.h>
#include <qstringlist.h>
class KCompletion : public QObject {
public:
KCompletion();
void setItems(const QStringList&);
};
class KCompletionBase {
public:
KCompletionBase();
KCompletion *completionObject(bool hsig = true);
};
#endif
......@@ -68,7 +68,7 @@ CXXFLAGS = $(BASECXXFLAGS) \
#----------------------------------------------------------------------
# Set targets for this directory
all: Makefile.dep $(CFILES) $(OBJECTS) $(LIBRARY)
all: $(CFILES) $(OBJECTS) $(LIBRARY)
$(LIBRARY): $(OBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
......
......@@ -53,7 +53,7 @@ CXXFLAGS = $(BASECXXFLAGS) \
#----------------------------------------------------------------------
# Set targets for this directory
all: Makefile.dep $(OBJECTS) $(LIBRARY)
all: $(OBJECTS) $(LIBRARY)
$(LIBRARY): $(CXXOBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
......
......@@ -53,7 +53,7 @@ CXXFLAGS = $(BASECXXFLAGS) \
#----------------------------------------------------------------------
# Set targets for this directory
all: Makefile.dep $(OBJECTS) $(LIBRARY)
all: $(OBJECTS) $(LIBRARY)
$(LIBRARY): $(CXXOBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
......
# Generated automatically from Makefile.in by configure.
#======================================================================
#
# Makefile
......@@ -47,7 +46,7 @@ CXXFLAGS = $(BASECXXFLAGS) \
#----------------------------------------------------------------------
# Set targets for this directory
all: Makefile.dep $(OBJECTS) $(LIBRARY)
all: $(OBJECTS) $(LIBRARY)
$(LIBRARY): $(CXXOBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
......
......@@ -66,7 +66,7 @@ CXXFLAGS = $(BASECXXFLAGS) \
#----------------------------------------------------------------------
# Set targets for this directory
all: Makefile.dep $(OBJECTS) $(LIBRARY)
all: $(OBJECTS) $(LIBRARY)
$(LIBRARY): $(OBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
......
......@@ -57,7 +57,7 @@ CXXFLAGS = $(BASECXXFLAGS) \
#----------------------------------------------------------------------
# Set targets for this directory
all: Makefile.dep $(OBJECTS) $(LIBRARY)
all: $(OBJECTS) $(LIBRARY)
$(LIBRARY): $(OBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
......
# Generated automatically from Makefile.in by configure.
#======================================================================
#
# Makefile
......
......@@ -103,6 +103,8 @@ $(LIBRARY): $(CXXOBJECTS)
$(PROGRAM): testkjs.o
$(CC) $< -o $@ -L. -lkjs
depend:
grammar.h: grammar.cpp.h
ln -s grammar.cpp.h grammar.h
......
......@@ -103,6 +103,8 @@ $(LIBRARY): $(CXXOBJECTS)
$(PROGRAM): testkjs.o
$(CC) $< -o $@ -L. -lkjs
depend:
grammar.h: grammar.cpp.h
ln -s grammar.cpp.h grammar.h
......
/*
* Copyright (C) 2001 Apple Computer, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef KCOMPLETION_H_
#define KCOMPLETION_H_
#include <qobject.h>
#include <qstringlist.h>
class KCompletion : public QObject {
public:
KCompletion();
void setItems(const QStringList&);
};
class KCompletionBase {
public:
KCompletionBase();
KCompletion *completionObject(bool hsig = true);
};
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment