diff --git a/dtool/Sources.pp b/dtool/Sources.pp index 5c2ed1db94..18c5b14cd9 100644 --- a/dtool/Sources.pp +++ b/dtool/Sources.pp @@ -4,8 +4,3 @@ #define DIR_TYPE toplevel #define CONFIG_HEADER dtool_config.h -#define SAMPLE_SOURCE_FILE src/dtoolbase/dtoolbase.cxx - -#define EXTRA_DIST \ - Config.Irix.pp Config.Linux.pp Config.osx.pp Config.Win32.pp Config.Cygwin.pp \ - LocalSetup.pp Package.pp diff --git a/dtool/pptempl/Depends.pp b/dtool/pptempl/Depends.pp index 019b95567b..7a1d7e20c8 100644 --- a/dtool/pptempl/Depends.pp +++ b/dtool/pptempl/Depends.pp @@ -6,7 +6,10 @@ // determining build order. // -#if $[or $[eq $[DIR_TYPE], src], $[eq $[DIR_TYPE], metalib]] +#if $[eq $[DIR_TYPE], toplevel] + #define DEPENDABLE_HEADERS $[CONFIG_HEADER] + +#elif $[or $[eq $[DIR_TYPE], src], $[eq $[DIR_TYPE], metalib]] #if $[eq $[DEPEND_DIRS],] // DEPENDABLE_HEADERS is supposed to be the primary purpose of this