WXDEF = wx$(WXVERSION).def
DLL_EXTRA_LIBS = $(WXDIR)/lib/libzlib.a \
$(WXDIR)/lib/libpng.a $(WXDIR)/lib/libjpeg.a \
- $(WXDIR)/lib/libxpm.a $(WXDIR)/lib/libtiff.a
+ $(WXDIR)/lib/libtiff.a
DLL_LDFLAGS = -L$(WXDIR)/lib
DLL_LDLIBS = -mwindows -lcomctl32 -lctl3d32 -lole32 -loleaut32 \
- -luuid -lrpcrt4 -lodbc32 -lwinmm \
+ -luuid -lrpcrt4 -lodbc32 -lwinmm -lopengl32 \
-lwsock32 $(DLL_EXTRA_LIBS) \
-lstdc++
endif
ZLIBDIR = $(WXDIR)/src/zlib
PNGDIR = $(WXDIR)/src/png
JPEGDIR = $(WXDIR)/src/jpeg
-XPMDIR = $(WXDIR)/src/xpm
TIFFDIR = $(WXDIR)/src/tiff
OLEDIR = $(WXDIR)/src/msw/ole
MSWDIR = $(WXDIR)/src/msw
ZLIBLIB = $(WXDIR)/lib/libzlib.a
PNGLIB = $(WXDIR)/lib/libpng.a
JPEGLIB = $(WXDIR)/lib/libjpeg.a
-XPMLIB = $(WXDIR)/lib/libxpm.a
TIFFLIB = $(WXDIR)/lib/libtiff.a
DOCDIR = $(WXDIR)/docs
$(JPEGDIR)/jquant2.$(OBJSUFF) \
$(JPEGDIR)/jdmerge.$(OBJSUFF)
-XPMOBJS = $(XPMDIR)/attrib.o\
- $(XPMDIR)/crbuffri.o\
- $(XPMDIR)/crdatfri.o\
- $(XPMDIR)/create.o\
- $(XPMDIR)/crifrbuf.o\
- $(XPMDIR)/crifrdat.o\
- $(XPMDIR)/data.o\
- $(XPMDIR)/image.o\
- $(XPMDIR)/info.o\
- $(XPMDIR)/hashtab.o\
- $(XPMDIR)/misc.o\
- $(XPMDIR)/parse.o\
- $(XPMDIR)/rdftodat.o\
- $(XPMDIR)/rdftoi.o\
- $(XPMDIR)/rgb.o\
- $(XPMDIR)/scan.o\
- $(XPMDIR)/simx.o\
- $(XPMDIR)/wrffrdat.o\
- $(XPMDIR)/wrffri.o
-
TIFFOBJS = $(TIFFDIR)/tif_aux.o \
$(TIFFDIR)/tif_close.o \
$(TIFFDIR)/tif_codec.o \
endif
ifndef WXMAKINGDLL
-all: $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(XPMLIB) $(TIFFLIB)
+all: $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB)
else
-all: $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(XPMLIB) $(TIFFLIB) $(WXDLL)
+all: $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(WXDLL)
endif
ifndef WXMAKINGDLL
$(AR) $(AROPTIONS) $@ $(JPEGOBJS)
$(RANLIB) $@
-$(XPMLIB): $(XPMOBJS)
- $(AR) $(AROPTIONS) $@ $(XPMOBJS)
- $(RANLIB) $@
-
$(TIFFLIB): $(TIFFOBJS)
$(AR) $(AROPTIONS) $@ $(TIFFOBJS)
$(RANLIB) $@
$(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
$(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
- $(COPY) ..$(COPYSEP)common$(COPYSEP)dosyacc.c ..$(COPYSEP)common$(COPYSEP)y_tab.c
+ $(COPY) ../common/dosyacc.c ../common/y_tab.c
$(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
- $(COPY) ..$(COPYSEP)common$(COPYSEP)doslex.c ..$(COPYSEP)common$(COPYSEP)lex_yy.c
+ $(COPY) ../common/doslex.c ../common/lex_yy.c
# Replace lex with flex if you run into compilation
# problems with lex_yy.c. See also note about LEX_SCANNER
-$(RM) ../png/*.bak
-$(RM) ../jpeg/*.o
-$(RM) ../jpeg/*.bak
- -$(RM) ../xpm/*.o
- -$(RM) ../xpm/*.bak
-$(RM) ../tiff/*.o
-$(RM) ../tiff/*.bak
+
+cleanall: clean
-$(RM) $(WXLIB)
-$(RM) $(ZLIBLIB)
-$(RM) $(PNGLIB)
-$(RM) $(JPEGLIB)
- -$(RM) $(XPMLIB)
-$(RM) $(TIFFLIB)
ifdef WXMAKINGDLL
endif
endif
-
-cleanall: clean
-
-