From 8e21c1e965422594b6530da07002e9f980c7a51c Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Tue, 28 Jan 2003 18:01:10 +0000 Subject: [PATCH] Updated. committer: mfx 1043776870 +0000 --- src/Makedefs.upx | 3 ++- src/Makefile | 3 +++ src/stub/Makefile | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Makedefs.upx b/src/Makedefs.upx index 96bcd551..75f6eb42 100644 --- a/src/Makedefs.upx +++ b/src/Makedefs.upx @@ -9,8 +9,9 @@ SHELL = /bin/sh .SUFFIXES: .a .c .cpp .exe .lib .o .obj .rc .res .ttp +ifeq ($(srcdir),) srcdir = . -top_srcdir = .. +endif VPATH = $(srcdir) diff --git a/src/Makefile b/src/Makefile index 8d2f4b68..d9bf7fc2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -30,6 +30,9 @@ endif DEBUG = 0 +srcdir = . +top_srcdir = .. + ##### You should not have to change anything below this line. ##### diff --git a/src/stub/Makefile b/src/stub/Makefile index 2968395b..1cc2e8cf 100644 --- a/src/stub/Makefile +++ b/src/stub/Makefile @@ -17,8 +17,8 @@ endif SHELL = /bin/sh -top_srcdir = ../.. srcdir = . +top_srcdir = ../.. # These are the files we want to create.