CP=cp
CCADMIN=CCadmin
RANLIB=ranlib
-CC=gcc
-CCC=
-CXX=
+CC=i586-mingw32msvc-gcc
+CCC=i586-mingw32msvc-g++
+CXX=i586-mingw32msvc-g++
FC=
-AS=as
+AS=i586-mingw32msvc-as
# Macros
-CND_PLATFORM=GNU-Linux-x86
-CND_CONF=Linux_Debug
+CND_PLATFORM=Linx_Mingw-Linux-x86
+CND_CONF=LinuxMingw
CND_DISTDIR=dist
# Include project Makefile
ASFLAGS=
# Link Libraries and Options
-LDLIBSOPTIONS=-L/media/sdb1/home/yuki/fflibs/lib
+LDLIBSOPTIONS=-L/mingw/lib -lSDL_gfx -lSDLmain -lSDL -lSDL_ttf
# Build Targets
.build-conf: ${BUILD_SUBPROJECTS}
- ${MAKE} -f nbproject/Makefile-Linux_Debug.mk dist/Linux_Debug/GNU-Linux-x86/libvhook.so
+ ${MAKE} -f nbproject/Makefile-LinuxMingw.mk dist/LinuxMingw/Linx_Mingw-Linux-x86/nicovideo.dll
-dist/Linux_Debug/GNU-Linux-x86/libvhook.so: ${OBJECTFILES}
- ${MKDIR} -p dist/Linux_Debug/GNU-Linux-x86
- ${LINK.c} -shared -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/libvhook.so -fPIC ${OBJECTFILES} ${LDLIBSOPTIONS}
+dist/LinuxMingw/Linx_Mingw-Linux-x86/nicovideo.dll: ${OBJECTFILES}
+ ${MKDIR} -p dist/LinuxMingw/Linx_Mingw-Linux-x86
+ ${LINK.c} -shared -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/nicovideo.dll -s ${OBJECTFILES} ${LDLIBSOPTIONS}
${OBJECTDIR}/comment/com_surface.o: nbproject/Makefile-${CND_CONF}.mk comment/com_surface.c
${MKDIR} -p ${OBJECTDIR}/comment
${RM} $@.d
- $(COMPILE.c) -g -fPIC -MMD -MP -MF $@.d -o ${OBJECTDIR}/comment/com_surface.o comment/com_surface.c
+ $(COMPILE.c) -O3 -s -I/mingw/include -MMD -MP -MF $@.d -o ${OBJECTDIR}/comment/com_surface.o comment/com_surface.c
${OBJECTDIR}/chat/process_chat.o: nbproject/Makefile-${CND_CONF}.mk chat/process_chat.c
${MKDIR} -p ${OBJECTDIR}/chat
${RM} $@.d
- $(COMPILE.c) -g -fPIC -MMD -MP -MF $@.d -o ${OBJECTDIR}/chat/process_chat.o chat/process_chat.c
+ $(COMPILE.c) -O3 -s -I/mingw/include -MMD -MP -MF $@.d -o ${OBJECTDIR}/chat/process_chat.o chat/process_chat.c
${OBJECTDIR}/main.o: nbproject/Makefile-${CND_CONF}.mk main.c
${MKDIR} -p ${OBJECTDIR}
${RM} $@.d
- $(COMPILE.c) -g -fPIC -MMD -MP -MF $@.d -o ${OBJECTDIR}/main.o main.c
+ $(COMPILE.c) -O3 -s -I/mingw/include -MMD -MP -MF $@.d -o ${OBJECTDIR}/main.o main.c
${OBJECTDIR}/framehook.o: nbproject/Makefile-${CND_CONF}.mk framehook.c
${MKDIR} -p ${OBJECTDIR}
${RM} $@.d
- $(COMPILE.c) -g -fPIC -MMD -MP -MF $@.d -o ${OBJECTDIR}/framehook.o framehook.c
+ $(COMPILE.c) -O3 -s -I/mingw/include -MMD -MP -MF $@.d -o ${OBJECTDIR}/framehook.o framehook.c
${OBJECTDIR}/comment/surf_util.o: nbproject/Makefile-${CND_CONF}.mk comment/surf_util.c
${MKDIR} -p ${OBJECTDIR}/comment
${RM} $@.d
- $(COMPILE.c) -g -fPIC -MMD -MP -MF $@.d -o ${OBJECTDIR}/comment/surf_util.o comment/surf_util.c
+ $(COMPILE.c) -O3 -s -I/mingw/include -MMD -MP -MF $@.d -o ${OBJECTDIR}/comment/surf_util.o comment/surf_util.c
${OBJECTDIR}/chat/chat.o: nbproject/Makefile-${CND_CONF}.mk chat/chat.c
${MKDIR} -p ${OBJECTDIR}/chat
${RM} $@.d
- $(COMPILE.c) -g -fPIC -MMD -MP -MF $@.d -o ${OBJECTDIR}/chat/chat.o chat/chat.c
+ $(COMPILE.c) -O3 -s -I/mingw/include -MMD -MP -MF $@.d -o ${OBJECTDIR}/chat/chat.o chat/chat.c
${OBJECTDIR}/comment/shadow.o: nbproject/Makefile-${CND_CONF}.mk comment/shadow.c
${MKDIR} -p ${OBJECTDIR}/comment
${RM} $@.d
- $(COMPILE.c) -g -fPIC -MMD -MP -MF $@.d -o ${OBJECTDIR}/comment/shadow.o comment/shadow.c
+ $(COMPILE.c) -O3 -s -I/mingw/include -MMD -MP -MF $@.d -o ${OBJECTDIR}/comment/shadow.o comment/shadow.c
${OBJECTDIR}/chat/chat_slot.o: nbproject/Makefile-${CND_CONF}.mk chat/chat_slot.c
${MKDIR} -p ${OBJECTDIR}/chat
${RM} $@.d
- $(COMPILE.c) -g -fPIC -MMD -MP -MF $@.d -o ${OBJECTDIR}/chat/chat_slot.o chat/chat_slot.c
+ $(COMPILE.c) -O3 -s -I/mingw/include -MMD -MP -MF $@.d -o ${OBJECTDIR}/chat/chat_slot.o chat/chat_slot.c
${OBJECTDIR}/process.o: nbproject/Makefile-${CND_CONF}.mk process.c
${MKDIR} -p ${OBJECTDIR}
${RM} $@.d
- $(COMPILE.c) -g -fPIC -MMD -MP -MF $@.d -o ${OBJECTDIR}/process.o process.c
+ $(COMPILE.c) -O3 -s -I/mingw/include -MMD -MP -MF $@.d -o ${OBJECTDIR}/process.o process.c
${OBJECTDIR}/util.o: nbproject/Makefile-${CND_CONF}.mk util.c
${MKDIR} -p ${OBJECTDIR}
${RM} $@.d
- $(COMPILE.c) -g -fPIC -MMD -MP -MF $@.d -o ${OBJECTDIR}/util.o util.c
+ $(COMPILE.c) -O3 -s -I/mingw/include -MMD -MP -MF $@.d -o ${OBJECTDIR}/util.o util.c
# Subprojects
.build-subprojects:
# Clean Targets
.clean-conf: ${CLEAN_SUBPROJECTS}
- ${RM} -r build/Linux_Debug
- ${RM} dist/Linux_Debug/GNU-Linux-x86/libvhook.so
+ ${RM} -r build/LinuxMingw
+ ${RM} dist/LinuxMingw/Linx_Mingw-Linux-x86/nicovideo.dll
# Subprojects
.clean-subprojects:
CND_PACKAGE_DIR_Release=dist/Release//package
CND_PACKAGE_NAME_Release=libvhook.dll.tar
CND_PACKAGE_PATH_Release=dist/Release//package/libvhook.dll.tar
-# Linux_Debug configuration
-CND_PLATFORM_Linux_Debug=GNU-Linux-x86
-CND_ARTIFACT_DIR_Linux_Debug=dist/Linux_Debug/GNU-Linux-x86
-CND_ARTIFACT_NAME_Linux_Debug=libvhook.so
-CND_ARTIFACT_PATH_Linux_Debug=dist/Linux_Debug/GNU-Linux-x86/libvhook.so
-CND_PACKAGE_DIR_Linux_Debug=dist/Linux_Debug/GNU-Linux-x86/package
-CND_PACKAGE_NAME_Linux_Debug=libvhook.so.tar
-CND_PACKAGE_PATH_Linux_Debug=dist/Linux_Debug/GNU-Linux-x86/package/libvhook.so.tar
+# LinuxMingw configuration
+CND_PLATFORM_LinuxMingw=Linx_Mingw-Linux-x86
+CND_ARTIFACT_DIR_LinuxMingw=dist/LinuxMingw/Linx_Mingw-Linux-x86
+CND_ARTIFACT_NAME_LinuxMingw=nicovideo.dll
+CND_ARTIFACT_PATH_LinuxMingw=dist/LinuxMingw/Linx_Mingw-Linux-x86/nicovideo.dll
+CND_PACKAGE_DIR_LinuxMingw=dist/LinuxMingw/Linx_Mingw-Linux-x86/package
+CND_PACKAGE_NAME_LinuxMingw=libvhook.so.tar
+CND_PACKAGE_PATH_LinuxMingw=dist/LinuxMingw/Linx_Mingw-Linux-x86/package/libvhook.so.tar
</linkerTool>
</compileType>
</conf>
- <conf name="Linux_Debug" type="2">
+ <conf name="LinuxMingw" type="2">
<toolsSet>
<developmentServer>localhost</developmentServer>
- <compilerSet>GNU|GNU</compilerSet>
+ <compilerSet>Linx_Mingw|GNU</compilerSet>
<platform>2</platform>
</toolsSet>
<compileType>
+ <cTool>
+ <developmentMode>6</developmentMode>
+ <stripSymbols>true</stripSymbols>
+ <incDir>
+ <pElem>/mingw/include</pElem>
+ </incDir>
+ </cTool>
<linkerTool>
+ <output>${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/nicovideo.dll</output>
<linkerAddLib>
- <pElem>/media/sdb1/home/yuki/fflibs/lib</pElem>
+ <pElem>/mingw/lib</pElem>
</linkerAddLib>
+ <stripSymbols>true</stripSymbols>
+ <linkerKpic>false</linkerKpic>
<linkerLibItems>
+ <linkerLibLibItem>SDL_gfx</linkerLibLibItem>
+ <linkerLibLibItem>SDLmain</linkerLibLibItem>
+ <linkerLibLibItem>SDL</linkerLibLibItem>
+ <linkerLibLibItem>SDL_ttf</linkerLibLibItem>
</linkerLibItems>
</linkerTool>
</compileType>