Imported Upstream version 6.0
[platform/upstream/dos2unix.git] / dos16_gnu.mak
1 \r
2 # Author: Erwin Waterlander\r
3 # Copyright (C) 2009-2011 Erwin Waterlander\r
4 # This file is distributed under the same license as the dos2unix package.\r
5 \r
6 include version.mk\r
7 \r
8 prefix=c:/dos16\r
9 ENABLE_NLS=\r
10 \r
11 ifdef ENABLE_NLS\r
12 LDFLAGS_EXTRA = -lintl -liconv\r
13 endif\r
14 \r
15 all:\r
16         wmake -f wccdos16.mak\r
17 \r
18 install:\r
19         $(MAKE) install EXE=.exe ENABLE_NLS=$(ENABLE_NLS) LDFLAGS_EXTRA="$(LDFLAGS_EXTRA)" prefix=$(prefix) LINK="cp -f" docsubdir=dos2unix\r
20 \r
21 uninstall:\r
22         $(MAKE) uninstall EXE=.exe prefix=$(prefix) docsubdir=dos2unix\r
23 \r
24 clean:\r
25         $(MAKE) clean EXE=.exe ENABLE_NLS=$(ENABLE_NLS) prefix=$(prefix)\r
26 \r
27 dist:\r
28         $(MAKE) dist-zip EXE=.exe prefix=$(prefix) ZIPOBJ_EXTRA="${ZIPOBJ_EXTRA}" ENABLE_NLS=$(ENABLE_NLS) docsubdir=dos2unix ZIPFILE=d2u$(DOS2UNIX_VERSION_SHORT)b.zip\r
29 \r
30 strip:\r
31         wmake -f wccdos16.mak strip\r
32 \r