annotate vidix/drivers/Makefile @ 6579:6850df500b8c

IMGFMT_{RGB,BGR}{1,4}
author michael
date Thu, 27 Jun 2002 18:09:32 +0000
parents 034b12194350
children 345958ed44e5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
1 # makefile
872781fef1b3 preliminary version
nick
parents:
diff changeset
2
872781fef1b3 preliminary version
nick
parents:
diff changeset
3 include ../../config.mak
872781fef1b3 preliminary version
nick
parents:
diff changeset
4
5814
16186e365197 libdir changed
arpi
parents: 5607
diff changeset
5 BINDIR = $(LIBDIR)/mplayer/vidix
4030
922241968c63 Embedding vidix
nick
parents: 3996
diff changeset
6
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
7
872781fef1b3 preliminary version
nick
parents:
diff changeset
8 RADEON_VID=radeon_vid.so
872781fef1b3 preliminary version
nick
parents:
diff changeset
9 RADEON_SRCS=radeon_vid.c
872781fef1b3 preliminary version
nick
parents:
diff changeset
10 RADEON_OBJS=radeon_vid.o
872781fef1b3 preliminary version
nick
parents:
diff changeset
11 RADEON_LIBS=-L../../libdha -ldha -lm
872781fef1b3 preliminary version
nick
parents:
diff changeset
12 RADEON_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W
872781fef1b3 preliminary version
nick
parents:
diff changeset
13
872781fef1b3 preliminary version
nick
parents:
diff changeset
14 RAGE128_VID=rage128_vid.so
872781fef1b3 preliminary version
nick
parents:
diff changeset
15 RAGE128_SRCS=radeon_vid.c
872781fef1b3 preliminary version
nick
parents:
diff changeset
16 RAGE128_OBJS=rage128_vid.o
872781fef1b3 preliminary version
nick
parents:
diff changeset
17 RAGE128_LIBS=-L../../libdha -ldha
872781fef1b3 preliminary version
nick
parents:
diff changeset
18 RAGE128_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W -DRAGE128
872781fef1b3 preliminary version
nick
parents:
diff changeset
19
6254
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
20 PM3_VID=pm3_vid.so
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
21 PM3_SRCS=pm3_vid.c
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
22 PM3_OBJS=pm3_vid.o
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
23 PM3_LIBS=-L../../libdha -ldha
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
24 PM3_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
25
4691
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
26 MACH64_VID=mach64_vid.so
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
27 MACH64_SRCS=mach64_vid.c
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
28 MACH64_OBJS=mach64_vid.o
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
29 MACH64_LIBS=-L../../libdha -ldha
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
30 MACH64_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W -DRAGE128
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
31
4136
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
32 NVIDIA_VID=nvidia_vid.so
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
33 NVIDIA_SRCS=nvidia_vid.c
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
34 NVIDIA_OBJS=nvidia_vid.o
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
35 NVIDIA_LIBS=-L../../libdha -ldha -lm
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
36 NVIDIA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
37
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
38 GENFB_VID=genfb_vid.so
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
39 GENFB_SRCS=genfb_vid.c
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
40 GENFB_OBJS=genfb_vid.o
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
41 GENFB_LIBS=-L../../libdha -ldha -lm
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
42 GENFB_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
43
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
44 MGA_VID=mga_vid.so
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
45 MGA_SRCS=mga_vid.c
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
46 MGA_OBJS=mga_vid.o
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
47 MGA_LIBS=-L../../libdha -ldha -lm
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
48 MGA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
49
4139
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
50 MGA_CRTC2_VID=mga_crtc2_vid.so
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
51 MGA_CRTC2_SRCS=mga_vid.c
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
52 MGA_CRTC2_OBJS=mga_crtc2_vid.o
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
53 MGA_CRTC2_LIBS=-L../../libdha -ldha -lm
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
54 MGA_CRTC2_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W -DCRTC2
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
55
6254
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
56 all: $(RADEON_VID) $(RAGE128_VID) $(MACH64_VID) $(NVIDIA_VID) $(GENFB_VID) $(MGA_VID) $(MGA_CRTC2_VID) $(PM3_VID)
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
57
872781fef1b3 preliminary version
nick
parents:
diff changeset
58
872781fef1b3 preliminary version
nick
parents:
diff changeset
59 .SUFFIXES: .c .o
872781fef1b3 preliminary version
nick
parents:
diff changeset
60
872781fef1b3 preliminary version
nick
parents:
diff changeset
61 # .PHONY: all clean
872781fef1b3 preliminary version
nick
parents:
diff changeset
62
6254
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
63 $(PM3_OBJS): $(PM3_SRCS)
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
64 $(CC) -c $(PM3_CFLAGS) -o $@ $<
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
65
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
66 $(PM3_VID): $(PM3_OBJS)
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
67 $(LD) $(PM3_LIBS) -shared -soname $(PM3_VID) -o $(PM3_VID) $(PM3_OBJS)
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
68
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
69 $(RADEON_OBJS): $(RADEON_SRCS)
872781fef1b3 preliminary version
nick
parents:
diff changeset
70 $(CC) -c $(RADEON_CFLAGS) -o $@ $<
872781fef1b3 preliminary version
nick
parents:
diff changeset
71
872781fef1b3 preliminary version
nick
parents:
diff changeset
72 $(RADEON_VID): $(RADEON_OBJS)
4030
922241968c63 Embedding vidix
nick
parents: 3996
diff changeset
73 $(LD) $(RADEON_LIBS) -shared -soname $(RADEON_VID) -o $(RADEON_VID) $(RADEON_OBJS)
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
74
872781fef1b3 preliminary version
nick
parents:
diff changeset
75 $(RAGE128_OBJS): $(RAGE128_SRCS)
872781fef1b3 preliminary version
nick
parents:
diff changeset
76 $(CC) -c $(RAGE128_CFLAGS) -o $@ $<
872781fef1b3 preliminary version
nick
parents:
diff changeset
77
872781fef1b3 preliminary version
nick
parents:
diff changeset
78 $(RAGE128_VID): $(RAGE128_OBJS)
4030
922241968c63 Embedding vidix
nick
parents: 3996
diff changeset
79 $(LD) $(RAGE128_LIBS) -shared -soname $(RAGE128_VID) -o $(RAGE128_VID) $(RAGE128_OBJS)
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
80
4691
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
81 $(MACH64_OBJS): $(MACH64_SRCS)
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
82 $(CC) -c $(MACH64_CFLAGS) -o $@ $<
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
83
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
84 $(MACH64_VID): $(MACH64_OBJS)
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
85 $(LD) $(MACH64_LIBS) -shared -soname $(MACH64_VID) -o $(MACH64_VID) $(MACH64_OBJS)
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
86
4136
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
87 $(NVIDIA_OBJS): $(NVIDIA_SRCS)
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
88 $(CC) -c $(NVIDIA_CFLAGS) -o $@ $<
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
89
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
90 $(NVIDIA_VID): $(NVIDIA_OBJS)
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
91 $(LD) $(NVIDIA_LIBS) -shared -soname $(NVIDIA_VID) -o $(NVIDIA_VID) $(NVIDIA_OBJS)
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
92
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
93 $(GENFB_OBJS): $(GENFB_SRCS)
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
94 $(CC) -c $(GENFB_CFLAGS) -o $@ $<
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
95
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
96 $(GENFB_VID): $(GENFB_OBJS)
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
97 $(LD) $(GENFB_LIBS) -shared -soname $(GENFB_VID) -o $(GENFB_VID) $(GENFB_OBJS)
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
98
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
99 $(MGA_OBJS): $(MGA_SRCS)
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
100 $(CC) -c $(MGA_CFLAGS) -o $@ $<
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
101
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
102 $(MGA_VID): $(MGA_OBJS)
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
103 $(LD) $(MGA_LIBS) -shared -soname $(MGA_VID) -o $(MGA_VID) $(MGA_OBJS)
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
104
4139
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
105 $(MGA_CRTC2_OBJS): $(MGA_CRTC2_SRCS)
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
106 $(CC) -c $(MGA_CRTC2_CFLAGS) -o $@ $<
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
107
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
108 $(MGA_CRTC2_VID): $(MGA_CRTC2_OBJS)
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
109 $(LD) $(MGA_CRTC2_LIBS) -shared -soname $(MGA_CRTC2_VID) -o $(MGA_CRTC2_VID) $(MGA_CRTC2_OBJS)
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
110
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
111 clean:
872781fef1b3 preliminary version
nick
parents:
diff changeset
112 rm -f *.o *.so *~
872781fef1b3 preliminary version
nick
parents:
diff changeset
113
872781fef1b3 preliminary version
nick
parents:
diff changeset
114 distclean:
872781fef1b3 preliminary version
nick
parents:
diff changeset
115 rm -f Makefile.bak *.o *.so test *~ .depend
872781fef1b3 preliminary version
nick
parents:
diff changeset
116
872781fef1b3 preliminary version
nick
parents:
diff changeset
117 dep: depend
872781fef1b3 preliminary version
nick
parents:
diff changeset
118
872781fef1b3 preliminary version
nick
parents:
diff changeset
119 depend:
6254
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
120 # do nothing here
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
121
872781fef1b3 preliminary version
nick
parents:
diff changeset
122 install:
4030
922241968c63 Embedding vidix
nick
parents: 3996
diff changeset
123 mkdir -p $(BINDIR)
4215
14b8bc735bf5 Use 'install' instead of 'cp'
nick
parents: 4139
diff changeset
124 install -m 755 -s -p *.so $(BINDIR)
6254
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
125 uninstall:
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
126 rm -f $(BINDIR)/*.so
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
127 rmdir -p --ignore-fail-on-non-empty $(BINDIR)
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
128
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
129 #
872781fef1b3 preliminary version
nick
parents:
diff changeset
130 # include dependency files if they exist
872781fef1b3 preliminary version
nick
parents:
diff changeset
131 #
872781fef1b3 preliminary version
nick
parents:
diff changeset
132 ifneq ($(wildcard .depend),)
872781fef1b3 preliminary version
nick
parents:
diff changeset
133 include .depend
872781fef1b3 preliminary version
nick
parents:
diff changeset
134 endif