--- np2/win9x/Makefile 2004/01/23 15:58:16 1.18 +++ np2/win9x/Makefile 2004/02/18 03:24:48 1.21 @@ -42,7 +42,7 @@ PCCORES = $(BASE)/pccore.h $(BASE)/neve IOCORES = $(IO)/iocore.h $(IO)/artic.h $(IO)/cgrom.h $(IO)/cpuio.h \ $(IO)/crtc.h $(IO)/dipsw.h $(IO)/dmac.h $(IO)/egc.h \ - $(IO)/epsonio.h $(IO)/extmem.h $(IO)/fdc.h $(IO)/fdd320.h \ + $(IO)/epsonio.h $(IO)/emsio.h $(IO)/fdc.h $(IO)/fdd320.h \ $(IO)/gdc.h $(IO)/gdc_cmd.h $(IO)/gdc_sub.h $(IO)/mouseif.h \ $(IO)/necio.h $(IO)/nmiio.h $(IO)/np2sysp.h $(IO)/pic.h \ $(IO)/pit.h $(IO)/printif.h $(IO)/serial.h $(IO)/sysport.h \ @@ -78,7 +78,7 @@ NP2OBJ = $(OBJ)/strres.o $(OBJ)/milstr. $(OBJ)/iocore.o $(OBJ)/artic.o $(OBJ)/cgrom.o \ $(OBJ)/cpuio.o $(OBJ)/crtc.o $(OBJ)/dipsw.o \ $(OBJ)/dmac.o $(OBJ)/egc.o $(OBJ)/epsonio.o \ - $(OBJ)/extmem.o $(OBJ)/fdc.o $(OBJ)/fdd320.o \ + $(OBJ)/emsio.o $(OBJ)/fdc.o $(OBJ)/fdd320.o \ $(OBJ)/gdc.o $(OBJ)/gdc_sub.o $(OBJ)/gdc_pset.o \ $(OBJ)/mouseif.o $(OBJ)/necio.o $(OBJ)/nmiio.o \ $(OBJ)/np2sysp.o $(OBJ)/pic.o $(OBJ)/pit.o \ @@ -119,6 +119,7 @@ NP2OBJ = $(OBJ)/strres.o $(OBJ)/milstr. $(OBJ)/fontx1.o $(OBJ)/fontx68k.o $(OBJ)/fontmake.o \ $(OBJ)/cmndraw.o $(OBJ)/keydisp.o $(OBJ)/dipswbmp.o \ $(OBJ)/cmjasts.o $(OBJ)/hostdrv.o $(OBJ)/hostdrvs.o \ + $(OBJ)/unasm.o $(OBJ)/np2info.o \ $(OBJ)/np2.o $(OBJ)/np2arg.o $(OBJ)/cputype.oa \ $(OBJ)/dosio.o $(OBJ)/extromio.o $(OBJ)/trace.o \ $(OBJ)/winloc.o $(OBJ)/commng.o $(OBJ)/cmserial.o \ @@ -128,8 +129,8 @@ NP2OBJ = $(OBJ)/strres.o $(OBJ)/milstr. $(OBJ)/timemng.o $(OBJ)/juliet.o $(OBJ)/sstp.o \ $(OBJ)/sstpmsg.o $(OBJ)/winkbd.o $(OBJ)/dclock.o \ $(OBJ)/dclockd.o $(OBJ)/menu.o $(OBJ)/ini.o \ - $(OBJ)/np2info.o $(OBJ)/toolwin.o $(OBJ)/dd2.o \ - $(OBJ)/kdispwin.o $(OBJ)/np2res.o \ + $(OBJ)/toolwin.o $(OBJ)/dd2.o $(OBJ)/kdispwin.o \ + $(OBJ)/np2res.o \ $(OBJ)/np2class.o $(OBJ)/d_about.o $(OBJ)/d_config.o \ $(OBJ)/d_mpu98.o $(OBJ)/d_screen.o $(OBJ)/d_serial.o \ $(OBJ)/d_sound.o $(OBJ)/d_clnd.o $(OBJ)/d_disk.o \ @@ -137,9 +138,9 @@ NP2OBJ = $(OBJ)/strres.o $(OBJ)/milstr. $(OBJ)/viewer.o $(OBJ)/viewcmn.o $(OBJ)/viewmenu.o \ $(OBJ)/viewmem.o $(OBJ)/viewreg.o $(OBJ)/viewseg.o \ $(OBJ)/view1mb.o $(OBJ)/viewasm.o $(OBJ)/viewsnd.o \ - $(OBJ)/unasm.o \ $(OBJ)/pccore.o $(OBJ)/nevent.o $(OBJ)/calendar.o \ - $(OBJ)/timing.o $(OBJ)/statsave.o $(OBJ)/debugsub.o + $(OBJ)/timing.o $(OBJ)/keystat.o $(OBJ)/statsave.o \ + $(OBJ)/debugsub.o NP2LIB = -lddraw -ldxguid -ldsound -lwinmm -lcomctl32 -lwsock32 -mwindows @@ -307,7 +308,7 @@ $(OBJ)/epsonio.o : $(IO)/epsonio.c $(HEA $(IOCORES) $(CC) $(COPT) -o $@ $< -$(OBJ)/extmem.o : $(IO)/extmem.c $(HEADERS) $(CPUCORES) $(PCCORES) \ +$(OBJ)/emsio.o : $(IO)/emsio.c $(HEADERS) $(CPUCORES) $(PCCORES) \ $(IOCORES) $(CC) $(COPT) -o $@ $< @@ -346,8 +347,8 @@ $(OBJ)/np2sysp.o : $(IO)/np2sysp.c $(HEA $(IOCORES) $(COMMON)/strres.h $(TARGET)/taskmng.h $(CC) $(COPT) -o $@ $< -$(OBJ)/pic.o : $(IO)/pic.c $(HEADERS) $(PCCORES) $(IOCORES) \ - $(I286C)/cpucore.h +$(OBJ)/pic.o : $(IO)/pic.c $(HEADERS) $(CPUCORES) $(PCCORES) \ + $(IOCORES) $(CC) $(COPT) -o $@ $< $(OBJ)/pit.o : $(IO)/pit.c $(HEADERS) $(CPUCORES) $(PCCORES) \ @@ -500,18 +501,17 @@ $(OBJ)/bios1a.o : $(BIOS)/bios1a.c $(HE $(OBJ)/bios1b.o : $(BIOS)/bios1b.c $(HEADERS) $(CPUCORES) $(PCCORES) \ $(IOCORES) $(CBUS)/scsicmd.h $(BIOS)/bios.h \ $(BIOS)/biosmem.h $(BIOS)/sxsibios.h \ - $(FDD)/fddfile.h $(FDD)/fdd_mtr.h $(FDD)/sxsi.h \ - $(BASE)/timing.h + $(FDD)/fddfile.h $(FDD)/fdd_mtr.h $(FDD)/sxsi.h $(CC) $(COPT) -o $@ $< $(OBJ)/bios1c.o : $(BIOS)/bios1c.c $(HEADERS) $(CPUCORES) $(PCCORES) \ $(IOCORES) $(TARGET)/timemng.h $(BASE)/calendar.h \ - $(BIOS)/bios.h $(BIOS)/biosmem.h + $(BIOS)/bios.h $(BIOS)/biosmem.h $(CC) $(COPT) -o $@ $< $(OBJ)/sxsibios.o : $(BIOS)/sxsibios.c $(HEADERS) $(CPUCORES) $(PCCORES) \ $(BIOS)/bios.h $(BIOS)/biosmem.h $(BIOS)/sxsibios.h \ - $(CBUS)/scsicmd.h $(FDD)/sxsi.h + $(CBUS)/scsicmd.h $(FDD)/sxsi.h $(BASE)/timing.h $(CC) $(COPT) -o $@ $< @@ -865,6 +865,15 @@ $(OBJ)/hostdrvs.o : $(GENERIC)/hostdrvs. $(GENERIC)/hostdrv.h $(GENERIC)/hostdrvs.h $(CC) $(COPT) -o $@ $< +$(OBJ)/unasm.o : $(GENERIC)/unasm.c $(HEADER) $(GENERIC)/unasm.h + $(CC) $(COPT) -o $@ $< + +$(OBJ)/np2info.o : $(GENERIC)/np2info.c $(HEADERS) $(CPUCORES) \ + $(PCCORES) $(IOCORES) $(FMBOARDS) $(COMMON)/strres.h \ + $(TARGET)/scrnmng.h $(BIOS)/bios.h \ + $(GENERIC)/np2info.h + $(CC) $(COPT) -o $@ $< + $(OBJ)/np2.o : $(TARGET)/np2.cpp $(HEADERS) $(PCCORES) $(IOCORES) \ @@ -974,7 +983,7 @@ $(OBJ)/sstp.o : $(TARGET)/sstp.cpp $(HE $(OBJ)/sstpmsg.o : $(TARGET)/sstpmsg.cpp $(HEADERS) $(PCCORES) \ $(TARGET)/np2.h $(TARGET)/sysmng.h $(TARGET)/sstp.h \ - $(TARGET)/sstpres.h $(TARGET)/np2info.h + $(TARGET)/sstpres.h $(GENERIC)/np2info.h $(CC) $(COPT) -o $@ $< $(OBJ)/winkbd.o : $(TARGET)/winkbd.cpp $(HEADERS) $(PCCORES) \ @@ -1000,13 +1009,6 @@ $(OBJ)/ini.o : $(TARGET)/ini.cpp $(HEAD $(TARGET)/ini.h $(TARGET)/winkbd.h $(CC) $(COPT) -o $@ $< -$(OBJ)/np2info.o : $(TARGET)/np2info.cpp $(HEADERS) $(PCCORES) \ - $(IOCORES) $(FMBOARDS) $(COMMON)/strres.h \ - $(TARGET)/np2.h $(TARGET)/scrnmng.h \ - $(TARGET)/np2info.h $(I286C)/cpucore.h \ - $(I286C)/memory.h $(BIOS)/bios.h - $(CC) $(COPT) -o $@ $< - $(OBJ)/toolwin.o : $(TARGET)/toolwin.cpp $(HEADERS) $(PCCORES) \ $(COMMON)/strres.h $(TARGET)/resource.h \ $(TARGET)/np2.h $(TARGET)/dosio.h $(TARGET)/sysmng.h \ @@ -1035,8 +1037,8 @@ $(OBJ)/np2class.o : $(DIALOG)/np2class.c $(OBJ)/d_about.o : $(DIALOG)/d_about.cpp $(HEADERS) $(PCCORES) \ $(TARGET)/resource.h $(TARGET)/np2.h \ - $(TARGET)/np2info.h $(DIALOG)/dialog.h \ - $(DIALOG)/dialogs.h + $(DIALOG)/dialog.h $(DIALOG)/dialogs.h \ + $(GENERIC)/np2info.h $(CC) $(COPT) -o $@ $< $(OBJ)/d_config.o : $(DIALOG)/d_config.cpp $(HEADERS) $(PCCORES) \ @@ -1168,9 +1170,6 @@ $(OBJ)/viewsnd.o : $(DEBUGUTY)/viewsnd.c $(SOUND)/sound.h $(CC) $(COPT) -o $@ $< -$(OBJ)/unasm.o : $(DEBUGUTY)/unasm.cpp $(HEADER) $(DEBUGUTY)/unasm.h - $(CC) $(COPT) -o $@ $< - $(OBJ)/pccore.o : $(BASE)/pccore.c $(HEADERS) $(CPUCORES) $(PCCORES) \ @@ -1201,6 +1200,10 @@ $(OBJ)/timing.o : $(BASE)/timing.c $(HE $(FDD)/diskdrv.h $(FDD)/fdd_mtr.h $(BASE)/timing.h $(CC) $(COPT) -o $@ $< +$(OBJ)/keystat.o : $(BASE)/keystat.c $(HEADERS) $(PCCORES) $(IOCORES) \ + $(BASE)/keystat.h + $(CC) $(COPT) -o $@ $< + $(OBJ)/statsave.o : $(BASE)/statsave.c $(HEADERS) $(CPUCORES) $(PCCORES) \ $(IOCORES) $(FMBOARDS) $(COMMON)/strres.h \ $(TARGET)/dosio.h $(TARGET)/commng.h \