XCOMM $Xorg: Imakefile,v 1.1 2002/10/31 14:42:52 gisburn Exp $ #define IHaveSubdirs #define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" XCOMM Check if OS has /etc/profile.d/ XCOMM Note that Debian Linux does not have /etc/profile.d/ #ifndef HasEtcProfileDir # ifdef LinuxArchitecture # if (LinuxDistribution != LinuxDebian) || BuildFullXprintDistrib # define HasEtcProfileDir YES # endif # else # define HasEtcProfileDir NO # endif #endif #if HasEtcProfileDir SUBDIRS = init.d profile.d Xsession.d #else SUBDIRS = init.d Xsession.d #endif MakeSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS))