home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv6.zip
/
vac22os2
/
ibmcobol
/
samples
/
toolkit
/
tcpiptk
/
sampdll
/
watcom.mak
< prev
Wrap
Text File
|
1996-11-19
|
3KB
|
65 lines
#********************************************************copyrite.xic******/
# /
# Licensed Materials - Property of IBM /
# IBM TCP/IP for OS/2 /
# (C) Copyright IBM Corporation. 1996. /
# /
# All rights reserved. /
# /
# US Government Users Restricted Rights - /
# Use, duplication or disclosure restricted by GSA ADP Schedule /
# Contract with IBM Corp. /
# /
#--------------------------------------------------------------------------/
# /
# DISCLAIMER OF WARRANTIES. The following [enclosed] code is /
# sample code created by IBM Corporation. This sample code is not /
# part of any standard or IBM product and is provided to you solely /
# for the purpose of assisting you in the development of your /
# applications. The code is provided "AS IS", without /
# warranty of any kind. IBM shall not be liable for any damages /
# arising out of your use of the sample code, even if they have been /
# advised of the possibility of such damages. /
#--------------------------------------------------------------------------/
#.AUTODEPEND
#=============================================================
# Translator Definitions
#=============================================================
LIBPATH = libp c:\toolkit\lib
INCLUDEPATH = C:\TOOLKIT\H
LIBFILES = libr so32dll.lib,tcp32dll.lib,os2386.lib
#=============================================================
# Explicit Rules
#=============================================================
ALL : sampdll.dll myprog.exe
clean:
-del *.obj
-del *.dll
-del *.exe
-del *.lib
#-------------------------------------------------------------
myprog.exe: myprog.c sampdll.lib
wcl386 /l=os2v2 myprog.c sampdll.lib
sampdll.obj: sampdll.c
wcc386 /bd sampdll.c
sampdll.lib: sampdll.dll
wlib sampdll +sampdll.dll
sampdll.dll: sampdll.obj
wlink system os2v2 dll&
initinstance terminstance&
$(LIBPATH) $(LIBFILES)&
option manyautodata&
export s_gethostbyname_&
FIL sampdll