summaryrefslogtreecommitdiff
path: root/nls/Imakefile
blob: f5ef249cca6f6b2fba5c6a7264c97b7437af8bba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
XCOMM $XConsortium: Imakefile /main/5 1996/11/13 14:45:33 lehors $




XCOMM $XFree86: xc/nls/Imakefile,v 1.4 1999/08/22 13:04:24 dawes Exp $
#define IHaveSubdirs
#define PassCDebugFlags

        SUBDIRS = XLC_LOCALE Compose
#if defined(FreeBSDArchitecture)
  RU_SU_DEFINES = -DINCLUDE_ru_SU
#endif
        DEFINES = -DR63_COMPAT $(RU_SU_DEFINES)

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

#ifndef Win32Architecture
#ifndef OS2Architecture
# define LTarget(name)							@@\
all:: name.lt								@@\
									@@\
CppFileTarget(name.lt,name,$(DEFINES),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,$(DEFINES),NullParameter)			@@\
									@@\
all:: name.lt								@@\
	MakeDir($(BUILDLIBDIR)/locale)					@@\
	LinkFileSpecial($(BUILDLIBDIR)/locale,name,$(BUILDLIBTOP)/../../$(CURRENT_DIR)/name.lt) @@\
									@@\
InstallNamedNonExec(name.lt,name,$(XLOCALEDIR))
#endif
#else
# define LTarget(name)							@@\
all:: name.lt								@@\
									@@\
CppFileTarget(name.lt,name,$(DEFINES),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)