Changeset 4624 for trunk/src/NTDLL
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/NTDLL/makefile
r4245 r4624 1 # $Id: makefile,v 1.2 3 2000-09-12 19:16:37 sandervlExp $1 # $Id: makefile,v 1.24 2000-11-19 09:07:26 bird Exp $ 2 2 3 3 # 4 4 # Odin32 API 5 5 # 6 # NTDLL.dll makefile6 # ntdll.dll makefile 7 7 # 8 8 9 # Directory macros. 10 PDWIN32_INCLUDE = ..\..\include 11 PDWIN32_LIB = ..\..\lib 12 PDWIN32_BIN = ..\..\$(OBJDIR) 13 PDWIN32_TOOLS = ..\..\tools\bin 9 10 # 11 # Compiler, tools, and interference rules. 12 # 13 !include ../../include/pdwin32.mk 14 14 15 15 16 # Compiler, tools, and interference rules. 17 !include $(PDWIN32_INCLUDE)/pdwin32.mk 18 19 20 # Flag overloads and local macros. 21 CLEANEXTRAS = ntdllrsrc.asm 22 23 24 # Object files. All objects should be prefixed with $(OBJDIR)! 16 # 17 # Object files. Prefix with OBJDIR and one space before the '\'. 18 # 25 19 OBJS = \ 26 $(OBJDIR)\ NTDLL.obj \20 $(OBJDIR)\ntdll.obj \ 27 21 $(OBJDIR)\file.obj \ 28 22 $(OBJDIR)\exception.obj \ … … 39 33 $(OBJDIR)\arith64.obj \ 40 34 $(OBJDIR)\regfunc.obj \ 35 $(OBJDIR)\dllinitstub.obj \ 41 36 $(OBJDIR)\ntdllrsrc.obj 42 37 43 38 44 # Target name - name of the dll without extention and path. 45 TARGET = NTDLL 39 # 40 # Libraries. One space before the '\'. 41 # 42 LIBS = \ 43 $(PDWIN32_LIB)/kernel32.lib \ 44 $(PDWIN32_LIB)/user32.lib \ 45 $(PDWIN32_LIB)/crtdll.lib \ 46 $(PDWIN32_LIB)/$(ODINCRT).lib \ 47 OS2386.LIB \ 48 $(RTLLIB_O) 46 49 47 50 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 51 # 52 # Target name - name of the dll without extention and path. 53 # 54 TARGET = ntdll 53 55 54 56 55 # Lib rule - build importlibrary (and evt. other libs) 56 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 57 58 59 # Dll rule - builds the target dll. 60 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 61 -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 62 63 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)/crtdll.lib 74 $(PDWIN32_LIB)/$(ODINCRT).lib 75 OS2386.LIB 76 $(RTLLIB_O) 77 $(TARGET).def 78 <<keep 79 80 81 # Dep rule - makes depenencies for C, C++ and Asm files. 82 dep: 83 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 84 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 85 86 57 # 87 58 # Includes the common rules. 59 # 88 60 !include $(PDWIN32_INCLUDE)/pdwin32.post 89 61
Note:
See TracChangeset
for help on using the changeset viewer.