aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/makefile
blob: 62867368cc05fe576116c856cb7d931ece1e63fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
LIBRARY = libXWin

SRCS_CLIPBOARD = \
	winclipboardinit.c \
	winclipboardtextconv.c \
	winclipboardthread.c \
	winclipboardunicode.c \
	winclipboardwndproc.c \
	winclipboardwrappers.c \
	winclipboardxevents.c

DEFINES += XWIN_CLIPBOARD

SRCS_MULTIWINDOW = \
	winmultiwindowshape.c \
	winmultiwindowwindow.c \
	winmultiwindowwm.c \
	winmultiwindowwndproc.c

DEFINES += XWIN_MULTIWINDOW

#SRCS_MULTIWINDOWEXTWM = \
#	winwin32rootless.c \
#	winwin32rootlesswindow.c \
#	winwin32rootlesswndproc.c \
#	winwindowswm.c
#DEFINES += XWIN_MULTIWINDOWEXTWM

#SRCS_NATIVEGDI = \
#	winclip.c \
#	winfillsp.c \
#	winfont.c \
#	wingc.c \
#	wingetsp.c \
#	winnativegdi.c \
#	winpixmap.c \
#	winpolyline.c \
#	winrop.c \
#	winsetsp.c
#DEFINES +=  XWIN_NATIVEGDI

#SRCS_PRIMARYFB = \
#	winpfbdd.c
#DEFINES += XWIN_PRIMARYFB

SRCS_RANDR = \
	winrandr.c
DEFINES += XWIN_RANDR RELOCATE_PROJECTROOT

CSRCS =	InitInput.c \
	InitOutput.c \
	winallpriv.c \
	winauth.c \
	winblock.c \
	wincmap.c \
	winconfig.c \
	wincreatewnd.c \
	wincursor.c \
	windialogs.c \
	winengine.c \
	winerror.c \
	winglobals.c \
	winkeybd.c \
	winkeyhook.c \
	winmisc.c \
	winmonitors.c \
	winmouse.c \
	winmsg.c \
	winmultiwindowclass.c \
	winmultiwindowicons.c \
	winprefs.c \
	winprocarg.c \
	winregistry.c \
	winscrinit.c \
	winshaddd.c \
	winshadddnl.c \
	winshadgdi.c \
	wintrayicon.c \
	winvalargs.c \
	winwakeup.c \
	winwindow.c \
	winprefslex.c \
	winprefsyacc.c \
	winwndproc.c \
	windisplay.c \
	$(SRCS_CLIPBOARD) \
	$(SRCS_MULTIWINDOW) \
	$(SRCS_MULTIWINDOWEXTWM) \
	$(SRCS_NATIVEGDI) \
	$(SRCS_PRIMARYFB) \
	$(SRCS_RANDR) \


DEFINES += YY_NO_UNISTD_H

#	XWin.rc \
#	$(top_srcdir)/Xext/dpmsstubs.c \
#	$(top_srcdir)/Xi/stubs.c \
#	$(top_srcdir)/mi/miinitext.c \
#	$(top_srcdir)/fb/fbcmap_mi.c \
#	$(SRCS_PRIMARYFB) \
#	$(SRCS_XV)

INCLUDES += ..\..\miext\rootless

#.rc.o:

#	$(WINDRES) --use-temp-file -i $< --input-format=rc -o $@ -O coff -I $(top_builddir)/include -DPROJECT_NAME=\"$(VENDOR_NAME_SHORT)\" -DPROJECT_VERSION=\"$(PACKAGE_VERSION)\" -DBUILD_DATE=\"$(BUILD_DATE)\"

DEFINES += HAVE_XWIN_CONFIG_H BUILD_DATE=0-0-0000 PTW32_STATIC_LIB

#CSRCS=winkeybd.c

INCLUDES += $(OBJDIR)

$(OBJDIR)\winprefslex.c: winprefslex.l $(OBJDIR)\winprefsyacc.h
	flex -i -o$@ $<

$(OBJDIR)\winprefsyacc.c $(OBJDIR)\winprefsyacc.h: winprefsyacc.y
	bison -d -o$(OBJDIR)\winprefsyacc.c $<