XCOMM $XConsortium: Imakefile /main/5 1996/11/13 14:45:33 lehors $
#define IHaveSubdirs
#define PassCDebugFlags

        SUBDIRS = XLC_LOCALE Compose

MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))

#ifndef Win32Architecture
# define LTarget(name)							@@\
all:: name.lt								@@\
									@@\
CppFileTarget(name.lt,name,NullParameter,NullParameter)			@@\
									@@\
all:: name.lt								@@\
	MakeDir($(BUILDLIBDIR)/locale)					@@\
	RemoveFile($(BUILDLIBDIR)/locale/name)				@@\
	cd $(BUILDLIBDIR)/locale && $(LN) $(BUILDLIBTOP)/../$(CURRENT_DIR)/name.lt name @@\
InstallNamedNonExec(name.lt,name,$(XLOCALEDIR))
#else
# define LTarget(name)							@@\
all:: name.lt								@@\
									@@\
CppFileTarget(name.lt,name,NullParameter,NullParameter)			@@\
									@@\
all:: name.lt								@@\
	MakeDir($(BUILDLIBDIR:/=\)\locale)				@@\
	RemoveFile(Concat($(BUILDLIBDIR:/=\)\locale\,name))		@@\
	cd $(BUILDLIBDIR:/=\)\locale && $(LN) Concat($(BUILDLIBTOP:/=\)\..\$(CURRENT_DIR:/=\)\,name.lt) name @@\
InstallNamedNonExec(name.lt,name,$(XLOCALEDIR))
#endif

LTarget(locale.alias)
LTarget(locale.dir)
LTarget(compose.dir)
