1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-11-11 03:45:03 -05:00
davmail/jsmooth-0.9.9-7-patch/skeletons/commonjava/Makefile.win
mguessan 448c2f5f7a Jsmooth patch with 64 bits skeletons
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1697 3d1905a2-6b24-0410-a738-b14d5a86fcbd
2011-06-07 08:46:33 +00:00

61 lines
2.3 KiB
Makefile

# Project: CommonJava
# Makefile created by Dev-C++ 4.9.8.0
RM = rm -f
CPP = ${MINGW}/bin/${TARGET}-g++.exe
CC = ${MINGW}/bin/${TARGET}-gcc.exe
WINDRES = windres.exe
MINGW =
RES =
OBJ = JniSmooth.o JVMBase.o SunJVMExe.o JArgs.o JClassProxy.o SunJVMDLL.o JavaMachineManager.o JVMEnvVarLookup.o JVMRegistryLookup.o MSJViewLauncher.o Properties.o ResourceManager.o SunJVMLauncher.o Version.o global.o JavaProperty.o JMethodCaller.o $(RES)
LINKOBJ = JniSmooth.o JVMBase.o SunJVMExe.o JArgs.o JClassProxy.o SunJVMDLL.o JavaMachineManager.o JVMEnvVarLookup.o JVMRegistryLookup.o MSJViewLauncher.o Properties.o ResourceManager.o SunJVMLauncher.o Version.o global.o JavaProperty.o JMethodCaller.o $(RES)
LIBS = -static-libgcc -L"$(MINGW)/lib"
INCS = -I"../util-core" -I"$(MINGW)/include" -I"$(JDK)/include" -I"$(JDK)/include/win32"
CXXINCS = -I"$(MINGW)/include/c++" -I"$(MINGW)/include/c++/mingw32" -I"$(MINGW)/include/c++/backward" -I"$(MINGW)/include" -I"$(JDK)/include" -I"$(JDK)/include/win32" -I"../commonjava" -I"../util-core" -I"../util-net" $(FLTK-CXXFLAGS)
BIN = CommonJava.a
CXXFLAGS = $(CUSTOMFLAGS) $(CXXINCS) -DJDK="$(JDK)"
CFLAGS = $(INCS)
.PHONY: all all-before all-after clean clean-custom
all: all-before CommonJava.a all-after
clean: clean-custom
$(RM) $(OBJ) $(BIN)
$(BIN): $(LINKOBJ) test.cpp
ar r $(BIN) $(LINKOBJ)
ranlib $(BIN)
$(CPP) $(CXXFLAGS) test.cpp $(BIN) ../util-core/util-core.a -o test.exe
JavaMachineManager.o: JavaMachineManager.cpp
$(CPP) -c JavaMachineManager.cpp -o JavaMachineManager.o $(CXXFLAGS)
JVMEnvVarLookup.o: JVMEnvVarLookup.cpp
$(CPP) -c JVMEnvVarLookup.cpp -o JVMEnvVarLookup.o $(CXXFLAGS)
JVMRegistryLookup.o: JVMRegistryLookup.cpp
$(CPP) -c JVMRegistryLookup.cpp -o JVMRegistryLookup.o $(CXXFLAGS)
MSJViewLauncher.o: MSJViewLauncher.cpp
$(CPP) -c MSJViewLauncher.cpp -o MSJViewLauncher.o $(CXXFLAGS)
Properties.o: Properties.cpp
$(CPP) -c Properties.cpp -o Properties.o $(CXXFLAGS)
ResourceManager.o: ResourceManager.cpp
$(CPP) -c ResourceManager.cpp -o ResourceManager.o $(CXXFLAGS)
SunJVMLauncher.o: SunJVMLauncher.cpp
$(CPP) -c SunJVMLauncher.cpp -o SunJVMLauncher.o $(CXXFLAGS)
Version.o: Version.cpp
$(CPP) -c Version.cpp -o Version.o $(CXXFLAGS)
global.o: global.cpp
$(CPP) -c global.cpp -o global.o $(CXXFLAGS)
JavaProperty.o: JavaProperty.cpp
$(CPP) -c JavaProperty.cpp -o JavaProperty.o $(CXXFLAGS)