equal
deleted
inserted
replaced
1 # Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. |
1 # Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved. |
2 # |
2 # |
3 # Permission is hereby granted, free of charge, to any person obtaining a |
3 # Permission is hereby granted, free of charge, to any person obtaining a |
4 # copy of this software and associated documentation files (the "Software"), |
4 # copy of this software and associated documentation files (the "Software"), |
5 # to deal in the Software without restriction, including without limitation |
5 # to deal in the Software without restriction, including without limitation |
6 # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
6 # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
27 AccessX.c \ |
27 AccessX.c \ |
28 AccessXcomm.c |
28 AccessXcomm.c |
29 |
29 |
30 OBJS = $(SRCS:.c=.o) |
30 OBJS = $(SRCS:.c=.o) |
31 |
31 |
|
32 # Files to be translated |
|
33 L10N_FILES = accessx.hlp accessx.uid accessx.uil accessxstrings.uil |
|
34 |
32 all:: accessx.uid accessx |
35 all:: accessx.uid accessx |
33 |
36 |
34 accessx.uid: accessx.uil |
37 accessx.uid: accessx.uil |
35 env LC_ALL='C' LANG='C' \ |
38 env LC_ALL='C' LANG='C' \ |
36 $(UIL) -o $@ accessx.uil $(UIL_INCLUDES) |
39 $(UIL) -o $@ accessx.uil $(UIL_INCLUDES) |
37 |
40 |
38 accessx: $(OBJS) |
41 accessx: $(OBJS) |
39 $(LD) -o $@ $(CFLAGS) $(LDFLAGS) $(OBJS) -lMrm -lXm -lXt -lX11 -lXext |
42 $(LD) -o $@ $(CFLAGS) $(LDFLAGS) $(OBJS) -lMrm -lXm -lXt -lX11 -lXext |
40 |
43 |
41 install: accessx |
44 install: accessx accessx.uid accessx.1 $(L10N_FILES) |
42 mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1 |
45 mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1 |
43 mkdir -p $(DESTDIR)$(PREFIX)/share/X11/locale/C/accessx |
46 mkdir -p $(DESTDIR)$(PREFIX)/share/X11/locale/C/accessx |
44 $(INSTALL) -m 0555 accessx $(DESTDIR)$(PREFIX)/bin |
47 $(INSTALL) -m 0555 accessx $(DESTDIR)$(PREFIX)/bin |
45 $(INSTALL) -m 0444 accessx.1 $(DESTDIR)$(PREFIX)/share/man/man1 |
48 $(INSTALL) -m 0444 accessx.1 $(DESTDIR)$(PREFIX)/share/man/man1 |
46 $(INSTALL) -m 0444 \ |
49 $(INSTALL) -m 0444 $(L10N_FILES) \ |
47 accessx.hlp accessx.uid accessx.uil accessxstrings.uil \ |
|
48 $(DESTDIR)$(PREFIX)/share/X11/locale/C/accessx/ |
50 $(DESTDIR)$(PREFIX)/share/X11/locale/C/accessx/ |