summaryrefslogtreecommitdiffstats
path: root/gettext-tools/lib/Makefile.msvc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-05-03 11:38:12 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:13:13 +0200
commitc3514c65990d1e6bd93a7ed96fb8771dacf91dfd (patch)
treefead09dec478b75b9ada21637816d6a1a84911b3 /gettext-tools/lib/Makefile.msvc
parent8f730fe5c88377f6b347d17d002661fa348f86fc (diff)
downloadexternal_gettext-c3514c65990d1e6bd93a7ed96fb8771dacf91dfd.zip
external_gettext-c3514c65990d1e6bd93a7ed96fb8771dacf91dfd.tar.gz
external_gettext-c3514c65990d1e6bd93a7ed96fb8771dacf91dfd.tar.bz2
Support for determining the Java version supported by javaexec.
Diffstat (limited to 'gettext-tools/lib/Makefile.msvc')
-rw-r--r--gettext-tools/lib/Makefile.msvc8
1 files changed, 7 insertions, 1 deletions
diff --git a/gettext-tools/lib/Makefile.msvc b/gettext-tools/lib/Makefile.msvc
index 181a119..d1e2505 100644
--- a/gettext-tools/lib/Makefile.msvc
+++ b/gettext-tools/lib/Makefile.msvc
@@ -34,6 +34,8 @@ exec_prefix = $(prefix)
bindir = $(exec_prefix)\bin
libdir = $(exec_prefix)\lib
includedir = $(prefix)\include
+pkgdatadir = $(datadir)\gettext
+IIpkgdatadir = $(IIdatadir)\\gettext
# Programs used by "make":
@@ -60,7 +62,7 @@ OPTIMFLAGS = -D_NDEBUG -O1
DEBUGFLAGS =
!endif
-CFLAGS = $(MFLAGS) $(WARN_CFLAGS) $(OPTIMFLAGS) -DHAVE_CONFIG_H -DEXEEXT=\".exe\" -DDEPENDS_ON_LIBINTL=1 -DDEPENDS_ON_LIBICONV=1
+CFLAGS = $(MFLAGS) $(WARN_CFLAGS) $(OPTIMFLAGS) -DHAVE_CONFIG_H -DPKGDATADIR=\"$(IIpkgdatadir)\" -DEXEEXT=\".exe\" -DDEPENDS_ON_LIBINTL=1 -DDEPENDS_ON_LIBICONV=1
INCLUDES = -I. -I.. -I..\intl -I..\windows -I$(includedir)
@@ -106,6 +108,7 @@ OBJECTS = \
iconvstring.obj \
javacomp.obj \
javaexec.obj \
+ javaversion.obj \
linebreak.obj \
mbswidth.obj \
obstack.obj \
@@ -223,6 +226,9 @@ javacomp.obj : javacomp.c
javaexec.obj : javaexec.c
$(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c javaexec.c
+javaversion.obj : javaversion.c
+ $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c javaversion.c
+
linebreak.obj : linebreak.c
$(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c linebreak.c