X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f55f5b81fbe7a2294912663c192113209bbc930..80b2db4ee671f62a1de0f9f91e007c83449df107:/contrib/build/animate/makefile.gcc diff --git a/contrib/build/animate/makefile.gcc b/contrib/build/animate/makefile.gcc index 1b13eb37da..4267fa259a 100644 --- a/contrib/build/animate/makefile.gcc +++ b/contrib/build/animate/makefile.gcc @@ -4,7 +4,7 @@ # Do not modify, all changes will be overwritten! # ========================================================================= -include ../../../build/config.gcc +include ../../../build/msw/config.gcc # ------------------------------------------------------------------------- # Do not modify the rest of this file! @@ -14,13 +14,7 @@ include ../../../build/config.gcc ANIMATEDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \ -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ - $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(LIBDIRNAME) \ - -I..\..\src\animate\..\..\..\src\tiff \ - -I..\..\src\animate\..\..\..\src\jpeg \ - -I..\..\src\animate\..\..\..\src\png \ - -I..\..\src\animate\..\..\..\src\zlib \ - -I..\..\src\animate\..\..\..\src\regex \ - -I..\..\src\animate\..\..\..\src\expat\lib \ + $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \ -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE \ $(CXXFLAGS) ANIMATEDLL_OBJECTS = \ @@ -28,27 +22,27 @@ ANIMATEDLL_OBJECTS = \ $(OBJS)\animatedll_animate.o ANIMATELIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \ -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ - $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(LIBDIRNAME) \ - -I..\..\src\animate\..\..\..\src\tiff \ - -I..\..\src\animate\..\..\..\src\jpeg \ - -I..\..\src\animate\..\..\..\src\png \ - -I..\..\src\animate\..\..\..\src\zlib \ - -I..\..\src\animate\..\..\..\src\regex \ - -I..\..\src\animate\..\..\..\src\expat\lib \ + $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \ -I..\..\src\animate\..\..\include $(CXXFLAGS) ANIMATELIB_OBJECTS = \ $(OBJS)\animatelib_dummy.o \ $(OBJS)\animatelib_animate.o -LIBDIRNAME = \ - ..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) OBJS = \ gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) +SETUPHDIR = \ + $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) ### Conditionally set variables: ### ifeq ($(GCC_VERSION),2.95) GCCFLAGS = -fvtable-thunks endif +ifeq ($(SHARED),0) +LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_lib$(CFG) +endif +ifeq ($(SHARED),1) +LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_dll$(CFG) +endif ifeq ($(USE_GUI),0) PORTNAME = base endif @@ -120,6 +114,9 @@ endif ifeq ($(UNICODE),1) __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1 endif +ifeq ($(MSLU),1) +__UNICOWS_LIB_p = -lunicows +endif ifeq ($(MONOLITHIC),0) __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG) endif @@ -152,21 +149,21 @@ $(OBJS): all: $(__animatedll___depname) $(__animatelib___depname) -$(OBJS)\animatedll_animate.o: ../../src/animate\animate.cpp +$(OBJS)\animatedll_animate.o: ../../src/animate/animate.cpp $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $< -$(OBJS)\animatedll_dummy.o: ../../src/animate\..\..\..\src\msw\dummy.cpp +$(OBJS)\animatedll_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $< -$(OBJS)\animatelib_animate.o: ../../src/animate\animate.cpp +$(OBJS)\animatelib_animate.o: ../../src/animate/animate.cpp $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $< -$(OBJS)\animatelib_dummy.o: ../../src/animate\..\..\..\src\msw\dummy.cpp +$(OBJS)\animatelib_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $< ifeq ($(SHARED),1) $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS) - $(CXX) -shared -o $@ $(ANIMATEDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) + $(CXX) -shared -o $@ $(ANIMATEDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) endif ifeq ($(SHARED),0)