diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-20 10:34:45 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-20 10:34:48 +0900 |
commit | bffd2540485d9fa5b17c38cac8f5c4ed376c442d (patch) | |
tree | 5ad5fd03f3cf8a3ae4999cd404d9fc1194646378 /djgpp.mak | |
parent | 92129cc3165be4ab9f5b37e8969896201ec9033f (diff) | |
download | dos2unix-bffd2540485d9fa5b17c38cac8f5c4ed376c442d.tar.gz dos2unix-bffd2540485d9fa5b17c38cac8f5c4ed376c442d.tar.bz2 dos2unix-bffd2540485d9fa5b17c38cac8f5c4ed376c442d.zip |
Imported Upstream version 6.0.2
Change-Id: Ib1347d95bae5f16ba296e803788f3aa675a3b901
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'djgpp.mak')
-rw-r--r-- | djgpp.mak | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -3,24 +3,30 @@ # Copyright (C) 2009-2012 Erwin Waterlander
# This file is distributed under the same license as the dos2unix package.
-prefix=c:/djgpp
+include version.mk
+
+prefix=c:/dos32
#ENABLE_NLS=1
ENABLE_NLS=
VERSIONSUFFIX=-dos32
ifdef ENABLE_NLS
LDFLAGS_EXTRA = -lintl -liconv
+NLS_SUFFIX = -nls
endif
+VERSIONSUFFIX = pm
+ZIPFILE = d2u$(DOS2UNIX_VERSION_SHORT)$(VERSIONSUFFIX)$(NLS_SUFFIX).zip
ZIPOBJ_EXTRA = bin/cwsdpmi.exe
+docsubdir = dos2unix
all:
- $(MAKE) all EXE=.exe ENABLE_NLS=$(ENABLE_NLS) LDFLAGS_EXTRA="$(LDFLAGS_EXTRA)" prefix=$(prefix) LINK_MAN="cp -f" docsubdir=dos2unix EO_XNOTATION=1 UCS=
+ $(MAKE) all EXE=.exe ENABLE_NLS=$(ENABLE_NLS) LDFLAGS_EXTRA="$(LDFLAGS_EXTRA)" prefix=$(prefix) LINK_MAN="cp -f" docsubdir=$(docsubdir) EO_XNOTATION=1 UCS=
install:
- $(MAKE) install EXE=.exe ENABLE_NLS=$(ENABLE_NLS) LDFLAGS_EXTRA="$(LDFLAGS_EXTRA)" prefix=$(prefix) LINK_MAN="cp -f" docsubdir=dos2unix EO_XNOTATION=1 UCS=
+ $(MAKE) install EXE=.exe ENABLE_NLS=$(ENABLE_NLS) LDFLAGS_EXTRA="$(LDFLAGS_EXTRA)" prefix=$(prefix) LINK_MAN="cp -f" docsubdir=$(docsubdir) EO_XNOTATION=1 UCS=
uninstall:
- $(MAKE) uninstall EXE=.exe prefix=$(prefix) docsubdir=dos2unix
+ $(MAKE) uninstall EXE=.exe prefix=$(prefix) docsubdir=$(docsubdir)
clean:
$(MAKE) clean EXE=.exe ENABLE_NLS=$(ENABLE_NLS) prefix=$(prefix)
@@ -29,7 +35,7 @@ mostlyclean: $(MAKE) mostlyclean EXE=.exe ENABLE_NLS=$(ENABLE_NLS) prefix=$(prefix)
dist:
- $(MAKE) dist-zip EXE=.exe prefix=$(prefix) VERSIONSUFFIX="$(VERSIONSUFFIX)" ZIPOBJ_EXTRA="${ZIPOBJ_EXTRA}" ENABLE_NLS=$(ENABLE_NLS) docsubdir=dos2unix
+ $(MAKE) dist-zip EXE=.exe prefix=$(prefix) VERSIONSUFFIX="$(VERSIONSUFFIX)" ZIPOBJ_EXTRA="${ZIPOBJ_EXTRA}" ENABLE_NLS=$(ENABLE_NLS) ZIPFILE=${ZIPFILE} docsubdir=$(docsubdir)
strip:
$(MAKE) strip LINK_MAN="cp -f" EXE=.exe
|