Changeset 3031 for trunk/src/NTDLL
- Timestamp:
 - Mar 7, 2000, 12:39:20 AM (26 years ago)
 - Location:
 - trunk/src/NTDLL
 - Files:
 - 
      
- 1 added
 - 1 deleted
 - 1 edited
 
- 
          
  makefile (modified) (1 diff)
 - 
          
  ntdll.rc (deleted)
 - 
          
  ntdllrsrc.orc (added)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/NTDLL/makefile
r2712 r3031 1 # $Id: makefile,v 1.2 0 2000-02-09 23:46:52bird Exp $1 # $Id: makefile,v 1.21 2000-03-06 23:38:14 bird Exp $ 2 2 3 3 # 4 # PD-Win32 API4 # Odin32 API 5 5 # 6 6 # NTDLL.dll makefile 7 7 # 8 8 9 # Directory macros. 9 10 PDWIN32_INCLUDE = ..\..\include 10 PDWIN32_LIB = ..\..\lib11 PDWIN32_BIN = ..\..\bin12 PDWIN32_TOOLS = ..\..\tools\bin11 PDWIN32_LIB = ..\..\lib 12 PDWIN32_BIN = ..\..\$(OBJDIR) 13 PDWIN32_TOOLS = ..\..\tools\bin 13 14 14 15 16 # Compiler, tools, and interference rules. 15 17 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 18 17 19 18 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) 19 C XXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)20 # Flag overloads and local macros. 21 CLEANEXTRAS = ntdllrsrc.asm 20 22 21 23 22 OBJS = NTDLL.obj\ 23 file.obj\ 24 exception.obj\ 25 nt.obj\ 26 om.obj\ 27 reg.obj\ 28 rtl.obj\ 29 rtlstr.obj\ 30 sec.obj\ 31 sync.obj\ 32 initterm.obj\ 33 time.obj\ 34 unknown.obj\ 35 arith64.obj\ 36 regfunc.obj resource.obj 24 # Object files. All objects should be prefixed with $(OBJDIR)! 25 OBJS = \ 26 $(OBJDIR)\NTDLL.obj \ 27 $(OBJDIR)\file.obj \ 28 $(OBJDIR)\exception.obj \ 29 $(OBJDIR)\nt.obj \ 30 $(OBJDIR)\om.obj \ 31 $(OBJDIR)\reg.obj \ 32 $(OBJDIR)\rtl.obj \ 33 $(OBJDIR)\rtlstr.obj \ 34 $(OBJDIR)\sec.obj \ 35 $(OBJDIR)\sync.obj \ 36 $(OBJDIR)\initterm.obj \ 37 $(OBJDIR)\time.obj \ 38 $(OBJDIR)\unknown.obj \ 39 $(OBJDIR)\arith64.obj \ 40 $(OBJDIR)\regfunc.obj \ 41 $(OBJDIR)\ntdllrsrc.obj 37 42 38 43 44 # Target name - name of the dll without extention and path. 39 45 TARGET = NTDLL 40 46 41 all: $(TARGET).dll $(TARGET).lib 47 48 # All rule - build objs, target dll, copies dll to bin and makes libs. 49 all: $(OBJDIR) \ 50 $(OBJDIR)\$(TARGET).dll \ 51 $(PDWIN32_BIN)\$(TARGET).dll \ 52 lib 42 53 43 54 44 $(TARGET).dll: $(OBJS) $(TARGET).def 45 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) sbsstub.obj $(TARGET).def $(PDWIN32_LIB)\kernel32.lib $(PDWIN32_LIB)\user32.lib $(PDWIN32_LIB)/kernel32.lib $(PDWIN32_LIB)/crtdll.lib $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O) 46 $(CP) $@ $(PDWIN32_BIN) 55 # Lib rule - build importlibrary (and evt. other libs) 56 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 47 57 48 58 49 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 50 51 $(PDWIN32_LIB)\$(TARGET).lib: $(TARGET).lib 52 $(CP) $** $@ 53 54 $(TARGET).lib: $(TARGET)exp.def 55 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def 56 $(CP) $@ $(PDWIN32_LIB) 57 58 $(TARGET)exp.def: $(TARGET).def 59 $(IMPDEF) $** $@ 59 # Dll rule - builds the target dll. 60 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 61 -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 60 62 61 63 62 resource.asm: $(TARGET).rc 63 $(RC) $(RCFLAGS) -o resource.asm $(TARGET).rc 64 # Linker file - creates the parameter file passed on to the linker. 65 $(OBJDIR)\$(TARGET).lrf: makefile 66 @echo Creating file <<$@ 67 /OUT:$(OBJDIR)\$(TARGET).dll 68 /MAP:$(OBJDIR)\$(TARGET).map 69 $(OBJS) 70 sbsstub.obj 71 $(PDWIN32_LIB)/kernel32.lib 72 $(PDWIN32_LIB)/user32.lib 73 $(PDWIN32_LIB)/kernel32.lib 74 $(PDWIN32_LIB)/crtdll.lib 75 $(PDWIN32_LIB)/odincrt.lib 76 OS2386.LIB 77 $(RTLLIB_O) 78 $(TARGET).def 79 <<keep 64 80 65 81 82 # Dep rule - makes depenencies for C, C++ and Asm files. 66 83 dep: 67 84 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 68 85 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 69 86 70 !ifndef NODEP71 !include .depend72 !endif73 87 88 # Includes the common rules. 89 !include $(PDWIN32_INCLUDE)/pdwin32.post 74 90 75 clean:76 $(RM) *.obj *.lib *.dll *.map *.pch \77 $(PDWIN32_LIB)\$(TARGET).lib $(PDWIN32_BIN)\$(TARGET).dll \78 resource.asm $(TARGET)exp.def79  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  