bc38b33130a6ea1732881e1f17e775639b867d35
[reactos.git] / reactos / lib / user32 / Makefile
1 # $Id: Makefile,v 1.8 2002/10/26 09:53:15 dwelch Exp $
2
3 PATH_TO_TOP = ../..
4
5 TARGET_TYPE = dynlink
6
7 TARGET_NAME = user32
8
9 TARGET_BASE = 0x77e70000
10
11 TARGET_SDKLIBS = ntdll.a kernel32.a gdi32.a
12
13 TARGET_CFLAGS = -I./include -DUNICODE -Wall -Werror
14
15 TARGET_OBJECTS = $(TARGET_NAME).o
16
17 TARGET_CLEAN = misc/*.o windows/*.o
18
19 include $(PATH_TO_TOP)/rules.mak
20
21 include $(TOOLS_PATH)/helper.mk
22
23 CONTROLS_OBJECTS = \
24 controls/combobox.o \
25 controls/listbox.o \
26 controls/scrollbar.o
27
28 MISC_OBJECTS = \
29 misc/dde.o \
30 misc/desktop.o \
31 misc/display.o \
32 misc/dllmain.o \
33 misc/exit.o \
34 misc/sprintf.o \
35 misc/stubs.o \
36 misc/winhelp.o \
37 misc/win32k.o \
38 misc/winsta.o \
39 misc/resources.o \
40 misc/object.o \
41 misc/timer.o
42
43 WINDOWS_OBJECTS = \
44 windows/class.o \
45 windows/message.o \
46 windows/window.o \
47 windows/defwnd.o \
48 windows/accel.o \
49 windows/bitmap.o \
50 windows/clipboard.o \
51 windows/cursor.o \
52 windows/dc.o \
53 windows/dialog.o \
54 windows/draw.o \
55 windows/font.o \
56 windows/hook.o \
57 windows/icon.o \
58 windows/input.o \
59 windows/mdi.o \
60 windows/menu.o \
61 windows/messagebox.o \
62 windows/nonclient.o \
63 windows/paint.o \
64 windows/prop.o \
65 windows/rect.o \
66 windows/text.o
67
68 OBJECTS = \
69 $(MISC_OBJECTS) \
70 $(WINDOWS_OBJECTS) \
71 $(CONTROLS_OBJECTS)
72
73 $(TARGET_NAME).o: $(OBJECTS)
74 $(LD) -r $(OBJECTS) -o $(TARGET_NAME).o
75
76 # EOF