diff options
| author | Keith Packard <keithp@keithp.com> | 2011-08-21 22:52:45 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-08-22 17:20:06 -0700 |
| commit | 393d231b9689cd1c358600ee76e0e808f89670c8 (patch) | |
| tree | 051222cd385a6b2a966e63bde186aaa7a145ea8c /altosui/libaltos | |
| parent | d5bd40847b17c32405dfba864a2a5a3b19aa7e85 (diff) | |
altosui: Attempt to make both 32- and 64-bit windows DLLs
We'll see if they work...
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/libaltos')
| -rw-r--r-- | altosui/libaltos/Makefile.am | 15 | ||||
| -rwxr-xr-x | altosui/libaltos/altos.dll | bin | 31765 -> 91605 bytes |
2 files changed, 14 insertions, 1 deletions
diff --git a/altosui/libaltos/Makefile.am b/altosui/libaltos/Makefile.am index 3f5f3ee2..b5ab1ddb 100644 --- a/altosui/libaltos/Makefile.am +++ b/altosui/libaltos/Makefile.am @@ -37,5 +37,18 @@ classlibaltos.stamp: $(SWIG_FILE) $(JAVAC) -d . $(AM_JAVACFLAGS) $(JAVACFLAGS) *.java && \ touch classlibaltos.stamp +MINGCC32=i686-w64-mingw32-gcc +MINGCC64=x86_64-w64-mingw32-gcc +MINGFLAGS=-Wall -DWINDOWS -DBUILD_DLL -I$(JVM_INCLUDE) +MINGLIBS=-lsetupapi + +fat: altos.dll altos64.dll + +altos.dll: $(libaltos_la_SOURCES) + $(MINGCC32) -o $@ $(MINGFLAGS) -shared $(libaltos_la_SOURCES) $(MINGLIBS) + +altos64.dll: $(libaltos_la_SOURCES) + $(MINGCC64) -o $@ $(MINGFLAGS) -shared $(libaltos_la_SOURCES) $(MINGLIBS) + clean-local: - -rm -rf libaltosJNI *.class *.java classlibaltos.stamp $(SWIG_FILE) libaltos_wrap.c + -rm -rf libaltosJNI *.class *.java classlibaltos.stamp $(SWIG_FILE) libaltos_wrap.c altos.dll altos64.dll diff --git a/altosui/libaltos/altos.dll b/altosui/libaltos/altos.dll Binary files differindex 28e9b4ad..a96d3129 100755 --- a/altosui/libaltos/altos.dll +++ b/altosui/libaltos/altos.dll |
