Changeset 4624 for trunk/src/icmp
- Timestamp:
 - Nov 19, 2000, 10:27:40 AM (25 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/src/icmp/makefile (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/icmp/makefile
r3864 r4624 1 # $Id: makefile,v 1. 4 2000-07-19 19:05:07 sandervlExp $1 # $Id: makefile,v 1.5 2000-11-19 09:15:25 bird Exp $ 2 2 # 3 3 # icmp.dll makefile … … 7 7 # 8 8 9 # Directory macros.10 PDWIN32_INCLUDE = ..\..\include11 PDWIN32_LIB = ..\..\lib12 PDWIN32_BIN = ..\..\$(OBJDIR)13 PDWIN32_TOOLS = ..\..\tools\bin14 9 10 # 15 11 # Compiler, tools, and interference rules. 16 !include $(PDWIN32_INCLUDE)/pdwin32.mk 12 # 13 !include ../../include/pdwin32.mk 17 14 18 # Flag overloads and local macros.19 CLEANEXTRAS = icmprsrc.asm20 15 21 # Object files. All objects should be prefixed with $(OBJDIR)! 16 # 17 # Object files. Prefix with OBJDIR and one space before the '\'. 18 # 22 19 OBJS = \ 23 20 $(OBJDIR)\icmp.obj \ 24 21 $(OBJDIR)\icmprsrc.obj \ 25 $( PDWIN32_LIB)\dllentry.obj22 $(DLLENTRY) 26 23 24 25 # 26 # Libraries. One space before the '\'. 27 # 28 LIBS = \ 29 os2386.lib \ 30 $(PDWIN32_LIB)/wsock32.lib \ 31 $(RTLLIB_O) \ 32 $(PDWIN32_LIB)/$(ODINCRT).lib \ 33 $(PDWIN32_LIB)/kernel32.lib 34 35 36 # 27 37 # Target name - name of the dll without extention and path. 38 # 28 39 TARGET = icmp 29 40 30 # All rule - build objs, target dll, copies dll to bin and makes libs.31 all: $(OBJDIR) \32 $(OBJDIR)\$(TARGET).dll \33 $(PDWIN32_BIN)\$(TARGET).dll \34 lib35 41 36 37 # Lib rule - build importlibrary (and evt. other libs) 38 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 39 40 41 # Dll rule - builds the target dll. 42 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 43 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 44 45 46 # Linker file - creates the parameter file passed on to the linker. 47 $(OBJDIR)\$(TARGET).lrf: makefile 48 @echo Creating file <<$@ 49 /OUT:$(OBJDIR)\$(TARGET).dll 50 /MAP:$(OBJDIR)\$(TARGET).map 51 $(OBJS) 52 OS2386.LIB 53 $(PDWIN32_LIB)/WSOCK32.LIB 54 $(RTLLIB_O) 55 $(PDWIN32_LIB)/$(ODINCRT).lib 56 $(PDWIN32_LIB)/kernel32.lib 57 $(TARGET).def 58 <<keep 59 60 61 # Dep rule - makes depenencies for C, C++ and Asm files. 62 dep: 63 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 64 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 65 66 42 # 67 43 # Includes the common rules. 44 # 68 45 !include $(PDWIN32_INCLUDE)/pdwin32.post 69 46  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  