Category : OS/2 Files
Archive   : SYSINFO.ZIP
Filename : SYSINFO.MAK

 
Output of file : SYSINFO.MAK contained in archive : SYSINFO.ZIP
PROJ = SYSINFO
PROJFILE = SYSINFO.MAK
DEBUG = 0

PWBRMAKE = pwbrmake
NMAKEBSC1 = set
NMAKEBSC2 = nmake
LINKER = link
ILINK = ilink
LRF = echo > NUL
BIND = bind
RC = rc
IMPLIB = implib
LFLAGS_G = /NOI /ST:16000 /BATCH
LFLAGS_D = /CO /INC /FAR /PACKC /PACKD /PMTYPE:PM
LFLAGS_R = /EXE /FAR /PACKC /PACKD /PMTYPE:PM
MAPFILE_D = NUL
MAPFILE_R = NUL
CC = cl
CFLAGS_G = /W2 /Zp /MT /ALw /G2 /D_MT /BATCH
CFLAGS_D = /qc /Gs /Gi$(PROJ).mdt /Zr /Zi /Od
CFLAGS_R = /Ot /Oi /Ol /Oe /Og /Gs
LLIBS_R = /NOD:LLIBCE LLIBCMT
LLIBS_D = /NOD:LLIBCE LLIBCMT
ASM = masm
AFLAGS_G = /Mx /T
AFLAGS_D = /Zi
RUNFLAGS = C /cal

OBJS = sysinfo.obj
RESS = sysinfo.res
SBRS = sysinfo.sbr

all: $(PROJ).exe

.SUFFIXES: .c .sbr .rc .res .obj

sysinfo.obj : sysinfo.c c:\C600\INCLUDE\os2.h c:\C600\INCLUDE\string.h\
c:\C600\INCLUDE\stdlib.h c:\C600\INCLUDE\stdio.h\
c:\C600\INCLUDE\ctype.h c:\C600\INCLUDE\time.h\
c:\C600\INCLUDE\os2def.h c:\C600\INCLUDE\bse.h c:\C600\INCLUDE\pm.h\
c:\C600\INCLUDE\bsedos.h c:\C600\INCLUDE\bsesub.h\
c:\C600\INCLUDE\bseerr.h c:\C600\INCLUDE\bsedev.h\
c:\C600\INCLUDE\pmwin.h c:\C600\INCLUDE\pmgpi.h\
c:\C600\INCLUDE\pmdev.h c:\C600\INCLUDE\pmavio.h\
c:\C600\INCLUDE\pmpic.h c:\C600\INCLUDE\pmord.h\
c:\C600\INCLUDE\pmbitmap.h c:\C600\INCLUDE\pmfont.h\
c:\C600\INCLUDE\pmtypes.h c:\C600\INCLUDE\pmmle.h\
c:\C600\INCLUDE\pmshl.h c:\C600\INCLUDE\pmerr.h\
c:\C600\INCLUDE\pmhelp.h
!IF $(DEBUG)
$(CC) /c $(CFLAGS_G) $(CFLAGS_D) /Fosysinfo.obj sysinfo.c
!ELSE
$(CC) /c $(CFLAGS_G) $(CFLAGS_R) /Fosysinfo.obj sysinfo.c
!ENDIF

sysinfo.sbr : sysinfo.c c:\C600\INCLUDE\os2.h c:\C600\INCLUDE\string.h\
c:\C600\INCLUDE\stdlib.h c:\C600\INCLUDE\stdio.h\
c:\C600\INCLUDE\ctype.h c:\C600\INCLUDE\time.h\
c:\C600\INCLUDE\os2def.h c:\C600\INCLUDE\bse.h c:\C600\INCLUDE\pm.h\
c:\C600\INCLUDE\bsedos.h c:\C600\INCLUDE\bsesub.h\
c:\C600\INCLUDE\bseerr.h c:\C600\INCLUDE\bsedev.h\
c:\C600\INCLUDE\pmwin.h c:\C600\INCLUDE\pmgpi.h\
c:\C600\INCLUDE\pmdev.h c:\C600\INCLUDE\pmavio.h\
c:\C600\INCLUDE\pmpic.h c:\C600\INCLUDE\pmord.h\
c:\C600\INCLUDE\pmbitmap.h c:\C600\INCLUDE\pmfont.h\
c:\C600\INCLUDE\pmtypes.h c:\C600\INCLUDE\pmmle.h\
c:\C600\INCLUDE\pmshl.h c:\C600\INCLUDE\pmerr.h\
c:\C600\INCLUDE\pmhelp.h
!IF $(DEBUG)
$(CC) /Zs $(CFLAGS_G) $(CFLAGS_D) /FRsysinfo.sbr sysinfo.c
!ELSE
$(CC) /Zs $(CFLAGS_G) $(CFLAGS_R) /FRsysinfo.sbr sysinfo.c
!ENDIF

sysinfo.res : sysinfo.rc
$(RC) /r sysinfo.rc sysinfo.res


$(PROJ).bsc : $(SBRS)
$(PWBRMAKE) @<<
$(BRFLAGS) $(SBRS)
<<

$(PROJ).exe : $(OBJS) $(RESS)
!IF $(DEBUG)
$(LRF) @<<$(PROJ).lrf
$(RT_OBJS: = +^
) $(OBJS: = +^
)
$@
$(MAPFILE_D)
$(LLIBS_G: = +^
) +
$(LLIBS_D: = +^
) +
$(LIBS: = +^
)
$(DEF_FILE) $(LFLAGS_G) $(LFLAGS_D);
<<
!ELSE
$(LRF) @<<$(PROJ).lrf
$(RT_OBJS: = +^
) $(OBJS: = +^
)
$@
$(MAPFILE_R)
$(LLIBS_G: = +^
) +
$(LLIBS_R: = +^
) +
$(LIBS: = +^
)
$(DEF_FILE) $(LFLAGS_G) $(LFLAGS_R);
<<
!ENDIF
!IF $(DEBUG)
$(ILINK) -a -e "$(LINKER) @$(PROJ).lrf" $@
!ELSE
$(LINKER) @$(PROJ).lrf
!ENDIF
$(RC) $(RESS) $@


.c.sbr :
!IF $(DEBUG)
$(CC) /Zs $(CFLAGS_G) $(CFLAGS_D) /FR$@ $<
!ELSE
$(CC) /Zs $(CFLAGS_G) $(CFLAGS_R) /FR$@ $<
!ENDIF

.rc.res :
$(RC) /r $< $@

.c.obj :
!IF $(DEBUG)
$(CC) /c $(CFLAGS_G) $(CFLAGS_D) /Fo$@ $<
!ELSE
$(CC) /c $(CFLAGS_G) $(CFLAGS_R) /Fo$@ $<
!ENDIF


run: $(PROJ).exe
$(PROJ).exe $(RUNFLAGS)

debug: $(PROJ).exe
CVP $(CVFLAGS) $(PROJ).exe $(RUNFLAGS)


  3 Responses to “Category : OS/2 Files
Archive   : SYSINFO.ZIP
Filename : SYSINFO.MAK

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/