summaryrefslogtreecommitdiff
path: root/xc/nls/Imakefile
blob: 341e6c96abbdb6e914efb0a8efbe92ff9eab8bc5 (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
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
        DEFINES = -DR63_COMPAT

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)