Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
992 B

  1. APPVER = 5.0
  2. !include <win32.mak>
  3. cflags = $(cflags) /Gz
  4. cvarsdll = -DMPR50 -D_UNICODE -DUNICODE
  5. LIBS = mprapi.lib ipmontr.lib
  6. all: ipsamplemn.dll
  7. OBJS = \
  8. utils.obj \
  9. common.obj \
  10. sample.obj \
  11. samplecfg.obj \
  12. samplegetopt.obj \
  13. samplemib.obj
  14. # Build rule for converting c files to obj files
  15. .c.obj:
  16. $(cc) $(cdebug) $(cflags) $(cvarsdll) $*.c
  17. # Update the resources if necessary
  18. ipsamplemn.res: ipsamplemn.rc
  19. rc -r -fo ipsamplemn.res ipsamplemn.rc
  20. # Update the executable file
  21. ipsamplemn.dll: ipsamplemn.res $(OBJS)
  22. $(link) $(linkdebug) $(dlllflags) $(conlibsdll) $(LIBS) \
  23. -def:ipsamplemn.def -out:$*.dll $**
  24. clean:
  25. del *.pdb *.pch *.obj *.dll *.lib *.exp *.res