home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv6.zip
/
vac22os2
/
ibmcobol
/
samples
/
toolkit
/
tcpiptk
/
socket
/
watcom.mak
< prev
Wrap
Text File
|
1996-11-19
|
5KB
|
153 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
#=============================================================
CC = wcc386
TLINK = wlink
#CC = wcc386 -i=D:\WATCOM\h;D:\WATCOM\h\os2 &
# -w4 -e25 -zq -otexan -d2 -5r -bt=os2 -mf
#TLINK = wlink d all SYS os2v2 op m libf c:\toolkit\lib\so32dll.lib libf c:\toolkit\lib\tcp32dll.lib &
# op maxe=25 op symf
LIBPATH = libp c:\toolkit\lib
INCLUDEPATH = C:\TOOLKIT\H
LIBFILES = libf so32dll.lib,tcp32dll.lib
#=============================================================
# List Macros
#=============================================================
UDPS_DEPENDENCIES = &
c:\toolkit\lib\tcp32dll.lib &
c:\toolkit\lib\so32dll.lib &
udps.obj
UDPC_DEPENDENCIES = &
c:\toolkit\lib\tcp32dll.lib &
c:\toolkit\lib\so32dll.lib &
udpc.obj
MSGS_DEPENDENCIES = &
c:\toolkit\lib\tcp32dll.lib &
c:\toolkit\lib\so32dll.lib &
msgs.obj
MSGC_DEPENDENCIES = &
c:\toolkit\lib\tcp32dll.lib &
c:\toolkit\lib\so32dll.lib &
msgc.obj
TCPS_DEPENDENCIES = &
c:\toolkit\lib\tcp32dll.lib &
c:\toolkit\lib\so32dll.lib &
tcps.obj
TCPC_DEPENDENCIES = &
c:\toolkit\lib\tcp32dll.lib &
c:\toolkit\lib\so32dll.lib &
tcpc.obj
SELECTS_DEPENDENCIES = &
c:\toolkit\lib\tcp32dll.lib &
c:\toolkit\lib\so32dll.lib &
selects.obj
#=============================================================
# Explicit Rules
#=============================================================
ALL : udps.exe udpc.exe tcps.exe tcpc.exe selects.exe msgs.exe msgc.exe
#----------------------- udps --------------------------------
udps.exe: $(UDPS_DEPENDENCIES)
$(TLINK) NAME udps FIL udps.obj $(LIBPATH) $(LIBFILES)
#----------------------- udpc --------------------------------
udpc.exe: $(UDPC_DEPENDENCIES)
$(TLINK) NAME udpc FIL udpc.obj $(LIBPATH) $(LIBFILES)
#----------------------- msgs --------------------------------
msgs.exe: $(MSGS_DEPENDENCIES)
$(TLINK) NAME msgs FIL msgs.obj $(LIBPATH) $(LIBFILES)
#----------------------- msgc --------------------------------
msgc.exe: $(MSGC_DEPENDENCIES)
$(TLINK) NAME msgc FIL msgc.obj $(LIBPATH) $(LIBFILES)
#----------------------- tcps --------------------------------
tcps.exe: $(TCPS_DEPENDENCIES)
$(TLINK) NAME tcps FIL tcps.obj $(LIBPATH) $(LIBFILES)
#----------------------- tcpc --------------------------------
tcpc.exe: $(TCPC_DEPENDENCIES)
$(TLINK) NAME tcpc FIL tcpc.obj $(LIBPATH) $(LIBFILES)
#---------------------- selects --------------------------------
selects.exe: $(SELECTS_DEPENDENCIES)
$(TLINK) NAME selects FIL selects.obj $(LIBPATH) $(LIBFILES)
#=============================================================
# Individual File Dependencies
#=============================================================
udps.obj: udps.c
$(CC) udps.c
udpc.obj: udpc.c
$(CC) udpc.c
msgs.obj: msgs.c
$(CC) msgs.c
msgc.obj: msgc.c
$(CC) msgc.c
tcps.obj: tcps.c
$(CC) tcps.c
tcpc.obj: tcpc.c
$(CC) tcpc.c
selects.obj: selects.c
$(CC) selects.c
#===================================================
# CLEAN
#=================================================
clean:
-del *.obj
-del *.exe