File:  [WindowsNT SDKs] / mstools / samples / snmp / testdll / makefile
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:25:55 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, HEAD
Microsoft Windows NT Build 511 (DDK SDK) 11-01-1993

# Nmake macros for building Windows 32-Bit apps

!include <ntwin32.mak>

all: testdll.dll

# Update the object files if necessary

testdll.obj: testdll.c
	 $(cc) $(cflags) $(cvarsdll) $(cdebug) testdll.c

testmib.obj: testmib.c
	 $(cc) $(cflags) $(cvarsdll) $(cdebug) testmib.c


# Update the import library

testdll.lib: testdll.obj testmib.obj testdll.def
#    $(cvtobj) $(cvtdebug) testdll.obj testmib.obj
	 lib32 -machine:$(CPU)     \
	 -def:testdll.def     \
	 testdll.obj          \
	 testmib.obj          \
	 -out:testdll.lib

# Update the dynamic link library

testdll.dll: testdll.lib testdll.obj testmib.obj testdll.def
	 
	 link32 \
	 -base:0x1C000000  \
	 -dll       \
	 -entry:_DllMainCRTStartup$(DLLENTRY)  \
	 -out:testdll.dll   \
	 testdll.exp testdll.obj testmib.obj $(guilibsdll) libc.lib snmp.lib advapi32.lib

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.