1# -*- Makefile -*- for gettext-tools/misc
2
3#### Start of system configuration section. ####
4
5# Flags that can be set on the nmake command line:
6#   PREFIX=Some\Directory   Base directory for installation
7!if !defined(PREFIX)
8PREFIX = c:\usr
9!endif
10
11# Directories used by "make install":
12prefix = $(PREFIX)
13exec_prefix = $(prefix)
14datadir = $(prefix)\share
15emacsdir = $(datadir)\emacs
16lispdir = $(emacsdir)\site-lisp
17
18LN = copy
19RM = -del
20
21# Programs used by "make install":
22INSTALL = copy
23INSTALL_PROGRAM = copy
24INSTALL_DATA = copy
25
26#### End of system configuration section. ####
27
28SHELL = /bin/sh
29
30all :
31
32install : all force
33	-mkdir $(prefix)
34	-mkdir $(datadir)
35	-mkdir $(emacsdir)
36	-mkdir $(lispdir)
37	$(INSTALL_DATA) po-mode.el $(lispdir)\po-mode.el
38	$(INSTALL_DATA) po-compat.el $(lispdir)\po-compat.el
39
40installdirs : force
41	-mkdir $(prefix)
42	-mkdir $(datadir)
43	-mkdir $(emacsdir)
44	-mkdir $(lispdir)
45
46uninstall : force
47	$(RM) $(lispdir)\po-mode.el
48	$(RM) $(lispdir)\po-compat.el
49
50check : all
51
52mostlyclean : clean
53
54clean : force
55	$(RM) core
56
57distclean : clean
58	$(RM) Makefile
59
60maintainer-clean : distclean
61
62force :
63