Category : OS/2 Files
Archive   : APING12.ZIP
Filename : APING.FAM

 
Output of file : APING.FAM contained in archive : APING12.ZIP

#
# You should have previously set LIB and INCLUDE environment variables
# referencing your C compiler and OS/2 Toolkit subdirectories.
# Consult your compiler documentation and OS/2 Toolkit documentation
# for instructions on defining these variables. Your PATH environment
# variable should also reference the Toolkit directory where the BIND
# program is located.
#
# If you did not specify that the default libraries as OS/2 when you
# installed the compiler, you will need to change llibce to llibcep
# in this makefile.
#
# You must have both the OS/2 and DOS CPIC libraries to be able to
# build a family API executable.
#
# You must modify your LIB and INCLUDE environment variables to reference
# the directory containing the OS/2 CPI-C library files.
#
# For Networking Services/2 and Networking Services/DOS:
# SET LIB=C:\CMLIB\APPN\LIB;C:\NSD\LIB;%LIB%
# SET INCLUDE=C:\CMLIB\APPN\INCLUDE;C:\NSD\INCLUDE;%INCLUDE%
#
# For Extended Services and Networking Services/DOS:
# SET LIB=D:\CMLIB\LIB;C:\NSD\LIB;%LIB%
# SET INCLUDE=D:\CMLIB\INCLUDE;C:\NSD\INCLUDE;%INCLUDE%
#
# Compiler Switches:
# -c = Compile only, no link
# -AL = Using the Large memory model.
# -Gs = Remove stack probes - Use only on fully debugged program.
# -Ox = Maximum optimization
# -Zl = Suppress default library selection.
# -Zp = Pack structure members - OS/2 API calls expect packed structures.
# -Ze = Enable special keywords.
# -W4 = Maximum warning level


C_OPTIONS = -c -AL -Gs -Ox -W4 -Zelp -DFAPI -DCM_OS2 -DGET_OS2_SENSE_DATA

LIBLIST = doscalls cpic llibce acs /NOD
MAP = nul
LINK_OPTIONS = /EXEPACK /ST:8000 /PMTYPE:vio

COMMON_HEADERS = cpicerr.h cpicinit.h cpicport.h getopt.h cpiccmc.h cpicdefs.h


aping: aping.exe apingd.exe

aping.EXE: aping.fam aping.OBJ cpicerr.OBJ cpicinit.OBJ cpicport.OBJ getopt.obj
LINK $* cpicerr.OBJ cpicinit.OBJ cpicport.OBJ getopt.obj $(LINK_OPTIONS), $*, $(MAP), $(LIBLIST) ,;
BIND $*.exe cpic.lib cpicnsdr.lib -n APPC

aping.OBJ: aping.fam aping.C $(COMMON_HEADERS)
CL $(C_OPTIONS) $*.C

apingd.EXE: aping.fam apingd.OBJ cpicerr.OBJ cpicinit.OBJ cpicport.OBJ getopt.obj
LINK $* cpicerr.OBJ cpicinit.OBJ cpicport.OBJ getopt.obj $(LINK_OPTIONS), $*, $(MAP), $(LIBLIST) ,;
BIND $*.exe cpic.lib cpicnsdr.lib -n APPC

apingd.OBJ: aping.fam apingd.C $(COMMON_HEADERS)
CL $(C_OPTIONS) $*.C

cpicerr.OBJ: aping.fam cpicerr.C $(COMMON_HEADERS)
CL $(C_OPTIONS) $*.C

cpicinit.OBJ: aping.fam cpicinit.C $(COMMON_HEADERS)
CL $(C_OPTIONS) $*.C

cpicport.OBJ: aping.fam cpicport.C $(COMMON_HEADERS)
CL $(C_OPTIONS) $*.C

getopt.OBJ: aping.fam getopt.C getopt.h
CL $(C_OPTIONS) $*.C



  3 Responses to “Category : OS/2 Files
Archive   : APING12.ZIP
Filename : APING.FAM

  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/