PNGOBJS = \
png.o \
+ pngerror.o \
+ pnggccrd.o \
+ pngget.o \
+ pngmem.o \
+ pngpread.o \
pngread.o \
+ pngrio.o \
pngrtran.o \
pngrutil.o \
- pngpread.o \
+ pngset.o \
pngtrans.o \
+ pngvcrd.o \
+ pngwio.o \
pngwrite.o \
pngwtran.o \
- pngwutil.o \
- pngerror.o \
- pngmem.o \
- pngwio.o \
- pngrio.o \
- pngget.o \
- pngset.o
+ pngwutil.o
JPEGOBJS = \
jcomapi.o \
@$(INSTALL) -d $(build_libdir)
$(SHARED_LD) $@ $(SONAME_FLAGS) $(OBJECTS) $(EXTRALIBS)
+# NB: we used to have "-L$(build_libdir) @WXCONFIG_LIBS@" in the SHARED_LD line
+# but this seems to result in problems with libwx_gtk being linked in twice
$(build_libdir)/@WX_LIBRARY_NAME_SHARED_GL@: glcanvas.o $(build_libdir)/@WX_LIBRARY_NAME_SHARED@
@$(INSTALL) -d $(build_libdir)
- $(SHARED_LD) $@ $(SONAME_FLAGS_GL) glcanvas.o -L$(build_libdir) @WXCONFIG_LIBS@ $(EXTRALIBS) $(OPENGLLIBS)
+ $(SHARED_LD) $@ $(SONAME_FLAGS_GL) glcanvas.o $(EXTRALIBS) $(OPENGLLIBS)
$(build_libdir)/@WX_RESOURCES_MACOSX_DATA@: $(MACRESOURCES)
@$(INSTALL) -d $(build_libdir)
cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
- cp $(SRCDIR)/*.* $(DISTDIR)/src
+ cp $(SRCDIR)/*.??? $(DISTDIR)/src
+ cp $(SRCDIR)/*.?? $(DISTDIR)/src
cp $(MSWDIR)/?ake*.* $(DISTDIR)/src/msw
UNIV_DIST: ALL_GUI_DIST
cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
- mkdir $(DISTDIR)/samples/treectrl/bitmaps
- cp $(SAMPDIR)/treectrl/bitmaps/*.bmp $(DISTDIR)/samples/treectrl/bitmaps
mkdir $(DISTDIR)/samples/treelay
cp $(SAMPDIR)/treelay/Makefile.in $(DISTDIR)/samples/treelay