- #$ ExpandList("WXHTMLOBJS");
-
-GTKOBJS = \
- #$ ExpandList("WXGTKOBJS");
-
-UINXOBJS = \
- #$ ExpandList("WXUNIXOBJS");
-
-ZLIBOBJS = \
- $(ZLIBDIR)/adler32.$(OBJSUFF) \
- $(ZLIBDIR)/compress.$(OBJSUFF) \
- $(ZLIBDIR)/crc32.$(OBJSUFF) \
- $(ZLIBDIR)/gzio.$(OBJSUFF) \
- $(ZLIBDIR)/uncompr.$(OBJSUFF) \
- $(ZLIBDIR)/deflate.$(OBJSUFF) \
- $(ZLIBDIR)/trees.$(OBJSUFF) \
- $(ZLIBDIR)/zutil.$(OBJSUFF) \
- $(ZLIBDIR)/inflate.$(OBJSUFF) \
- $(ZLIBDIR)/infblock.$(OBJSUFF) \
- $(ZLIBDIR)/inftrees.$(OBJSUFF) \
- $(ZLIBDIR)/infcodes.$(OBJSUFF) \
- $(ZLIBDIR)/infutil.$(OBJSUFF) \
- $(ZLIBDIR)/inffast.$(OBJSUFF)
-
-PNGOBJS = \
- $(PNGDIR)/png.$(OBJSUFF) \
- $(PNGDIR)/pngread.$(OBJSUFF) \
- $(PNGDIR)/pngrtran.$(OBJSUFF) \
- $(PNGDIR)/pngrutil.$(OBJSUFF) \
- $(PNGDIR)/pngpread.$(OBJSUFF) \
- $(PNGDIR)/pngtrans.$(OBJSUFF) \
- $(PNGDIR)/pngwrite.$(OBJSUFF) \
- $(PNGDIR)/pngwtran.$(OBJSUFF) \
- $(PNGDIR)/pngwutil.$(OBJSUFF) \
- $(PNGDIR)/pngerror.$(OBJSUFF) \
- $(PNGDIR)/pngmem.$(OBJSUFF) \
- $(PNGDIR)/pngwio.$(OBJSUFF) \
- $(PNGDIR)/pngrio.$(OBJSUFF) \
- $(PNGDIR)/pngget.$(OBJSUFF) \
- $(PNGDIR)/pngset.$(OBJSUFF)
-
-
-JPEGOBJS = \
- $(JPEGDIR)/jcomapi.$(OBJSUFF) \
- $(JPEGDIR)/jutils.$(OBJSUFF) \
- $(JPEGDIR)/jerror.$(OBJSUFF) \
- $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
- $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
- $(JPEGDIR)/jcapimin.$(OBJSUFF) \
- $(JPEGDIR)/jcapistd.$(OBJSUFF) \
- $(JPEGDIR)/jctrans.$(OBJSUFF) \
- $(JPEGDIR)/jcparam.$(OBJSUFF) \
- $(JPEGDIR)/jdatadst.$(OBJSUFF) \
- $(JPEGDIR)/jcinit.$(OBJSUFF) \
- $(JPEGDIR)/jcmaster.$(OBJSUFF) \
- $(JPEGDIR)/jcmarker.$(OBJSUFF) \
- $(JPEGDIR)/jcmainct.$(OBJSUFF) \
- $(JPEGDIR)/jcprepct.$(OBJSUFF) \
- $(JPEGDIR)/jccoefct.$(OBJSUFF) \
- $(JPEGDIR)/jccolor.$(OBJSUFF) \
- $(JPEGDIR)/jcsample.$(OBJSUFF) \
- $(JPEGDIR)/jchuff.$(OBJSUFF) \
- $(JPEGDIR)/jcphuff.$(OBJSUFF) \
- $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
- $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
- $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
- $(JPEGDIR)/jfdctint.$(OBJSUFF) \
- $(JPEGDIR)/jdapimin.$(OBJSUFF) \
- $(JPEGDIR)/jdapistd.$(OBJSUFF) \
- $(JPEGDIR)/jdtrans.$(OBJSUFF) \
- $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
- $(JPEGDIR)/jdmaster.$(OBJSUFF) \
- $(JPEGDIR)/jdinput.$(OBJSUFF) \
- $(JPEGDIR)/jdmarker.$(OBJSUFF) \
- $(JPEGDIR)/jdhuff.$(OBJSUFF) \
- $(JPEGDIR)/jdphuff.$(OBJSUFF) \
- $(JPEGDIR)/jdmainct.$(OBJSUFF) \
- $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
- $(JPEGDIR)/jdpostct.$(OBJSUFF) \
- $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
- $(JPEGDIR)/jidctfst.$(OBJSUFF) \
- $(JPEGDIR)/jidctflt.$(OBJSUFF) \
- $(JPEGDIR)/jidctint.$(OBJSUFF) \
- $(JPEGDIR)/jidctred.$(OBJSUFF) \
- $(JPEGDIR)/jdsample.$(OBJSUFF) \
- $(JPEGDIR)/jdcolor.$(OBJSUFF) \
- $(JPEGDIR)/jquant1.$(OBJSUFF) \
- $(JPEGDIR)/jquant2.$(OBJSUFF) \
- $(JPEGDIR)/jdmerge.$(OBJSUFF)
-
-OBJECTS = $(GTKOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJ) $(UNIXOBJS) \
- $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
-
-all: $(OBJECTS) $(WXLIB)
-
-$(WXLIB): $(OBJECTS)
- ar $(AROPTIONS) $@ $(OBJECTS)
- $(RANLIB) $@
-
-$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
-
-$(COMMDIR)/parser.$(OBJSUFF): $(COMMDIR)/parser.c $(COMMDIR)/lexer.c
- $(CCLEX) -c $(CFLAGS) -o $@ $(COMMDIR)/parser.c
-
-$(COMMDIR)/parser.c: $(COMMDIR)/parser.y $(COMMDIR)/lexer.c
- $(YACC) $(COMMDIR)/parser.y
- @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
- sed -e "s/BUFSIZ/5000/g" | \
- sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
- sed -e "s/yy/PROIO_yy/g" | \
- sed -e "s/input/PROIO_input/g" | \
- sed -e "s/unput/PROIO_unput/g" > $(COMMDIR)/parser.c
- @$(RM) y.tab.c
-
-$(COMMDIR)/lexer.c: $(COMMDIR)/lexer.l
- $(LEX) $(COMMDIR)/lexer.l
- @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
- sed -e "s/yy/PROIO_yy/g" | \
- sed -e "s/input/PROIO_input/g" | \
- sed -e "s/unput/PROIO_unput/g" > $(COMMDIR)/lexer.c
- @$(RM) lex.yy.c
-
-clean:
- rm -f $(GTKDIR)/*.$(OBJSUFF)
- rm -f $(COMMDIR)/parser.c
- rm -f $(COMMDIR)/lexer.c
- rm -f $(COMMDIR)/*.$(OBJSUFF)
- rm -f $(GENDIR)/*.$(OBJSUFF)
- rm -f $(PNGDIR)/*.$(OBJSUFF)
- rm -f $(ZLIBDIR)/*.$(OBJSUFF)
- rm -f $(JPEGDIR)/*.$(OBJSUFF)
- rm -f $(UNIXDIR)/*.$(OBJSUFF)
- rm -f $(HTMLDIR)/*.$(OBJSUFF)
- rm -f $(WXWIN)/lib/libwx_$(GUI).a
-
-cleanall: clean