|
|
1.1 root 1: # Makefile fragment for Linux device drivers and the glue code.
2:
3: # Copyright (C) 2006, 2007, 2011 Free Software Foundation, Inc.
4:
5: # This program is free software; you can redistribute it and/or modify it
6: # under the terms of the GNU General Public License as published by the
7: # Free Software Foundation; either version 2, or (at your option) any later
8: # version.
9: #
10: # This program is distributed in the hope that it will be useful, but
11: # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12: # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13: # for more details.
14: #
15: # You should have received a copy of the GNU General Public License along
16: # with this program; if not, write to the Free Software Foundation, Inc.,
17: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18:
19: #
20: # Files for device driver support.
21: #
22:
23: if CODE_linux
24: noinst_LIBRARIES += \
25: liblinux.a
26: gnumach_o_LDADD += \
27: liblinux.a
28: endif
29:
30: liblinux_a_CPPFLAGS = $(AM_CPPFLAGS) \
31: -I$(srcdir)/$(systype)/linux/dev/include \
32: -I$(top_builddir)/linux/dev/include \
33: -I$(srcdir)/linux/dev/include \
34: -I$(top_builddir)/linux/src/include \
35: -I$(srcdir)/linux/src/include
36: # Because of the use of `extern inline' in some Linux header files without
37: # corresponding text segment definitions, we must always optimize.
38: liblinux_a_CFLAGS = -O2 $(AM_CFLAGS)
1.1.1.3 ! root 39:
! 40: # See <http://lists.gnu.org/archive/html/bug-hurd/2006-01/msg00148.html>.
! 41: liblinux_a_CFLAGS += \
! 42: -fno-strict-aliasing
! 43:
1.1 root 44: # TODO. Do we really need `-traditional'?
45: liblinux_a_CCASFLAGS = $(AM_CCASFLAGS) \
46: -D__ASSEMBLY__ -traditional \
47: $(liblinux_a_CPPFLAGS)
48:
49: liblinux_a_SOURCES = \
50: linux/dev/init/version.c \
51: linux/dev/kernel/softirq.c \
52: linux/src/arch/i386/lib/delay.c \
53: linux/dev/kernel/dma.c \
54: linux/dev/kernel/resource.c \
55: linux/dev/kernel/printk.c \
56: linux/src/arch/i386/kernel/bios32.c \
57: linux/dev/arch/i386/kernel/irq.c \
58: linux/src/lib/ctype.c \
59: linux/dev/lib/vsprintf.c \
60: linux/dev/init/main.c \
61: linux/dev/glue/misc.c \
62: linux/dev/kernel/sched.c \
63: linux/dev/glue/kmem.c \
64: linux/dev/glue/block.c \
65: linux/dev/glue/glue.h \
66: linux/dev/arch/i386/kernel/setup.c
67:
68: liblinux_a_SOURCES += \
69: linux/src/drivers/pci/pci.c \
70: linux/dev/drivers/block/genhd.c
71:
72: #
73: # Linux device drivers.
74: #
75: if device_driver_floppy
76: liblinux_a_SOURCES += \
77: linux/dev/drivers/block/floppy.c
78: endif
79:
80: if device_driver_ide
81: liblinux_a_SOURCES += \
82: linux/src/drivers/block/cmd640.c \
83: linux/src/drivers/block/ide-cd.c \
84: linux/src/drivers/block/ide.c \
85: linux/src/drivers/block/ide.h \
86: linux/dev/drivers/block/ahci.c \
87: linux/dev/include/ahci.h \
88: linux/src/drivers/block/ide_modes.h \
89: linux/src/drivers/block/rz1000.c \
90: linux/src/drivers/block/triton.c
91: endif
92:
93: if device_driver_group_scsi
94: liblinux_a_SOURCES += \
95: linux/src/drivers/scsi/constants.c \
96: linux/src/drivers/scsi/constants.h \
97: linux/src/drivers/scsi/hosts.c \
98: linux/src/drivers/scsi/hosts.h \
99: linux/src/drivers/scsi/scsi.c \
100: linux/src/drivers/scsi/scsi.h \
101: linux/src/drivers/scsi/scsi_ioctl.c \
102: linux/src/drivers/scsi/scsi_proc.c \
103: linux/src/drivers/scsi/scsicam.c \
104: linux/src/drivers/scsi/sd.c \
105: linux/src/drivers/scsi/sd.h \
106: linux/src/drivers/scsi/sd_ioctl.c \
107: linux/src/drivers/scsi/sr.c \
108: linux/src/drivers/scsi/sr.h \
109: linux/src/drivers/scsi/sr_ioctl.c
110: endif
111:
112: if device_driver_53c78xx
113: liblinux_a_SOURCES += \
114: linux/src/drivers/scsi/53c7,8xx.h \
115: linux/src/drivers/scsi/53c78xx.c \
116: linux/src/drivers/scsi/53c8xx_d.h \
117: linux/src/drivers/scsi/53c8xx_u.h
118: endif
119:
120: if device_driver_AM53C974
121: liblinux_a_SOURCES += \
122: linux/src/drivers/scsi/AM53C974.c \
123: linux/src/drivers/scsi/AM53C974.h
124: endif
125:
126: if device_driver_BusLogic
127: liblinux_a_SOURCES += \
128: linux/src/drivers/scsi/BusLogic.c \
129: linux/src/drivers/scsi/BusLogic.h
130: EXTRA_DIST += \
131: linux/src/drivers/scsi/FlashPoint.c
132: endif
133:
134: if device_driver_NCR53c406a
135: liblinux_a_SOURCES += \
136: linux/src/drivers/scsi/NCR53c406a.c \
137: linux/src/drivers/scsi/NCR53c406a.h
138: endif
139:
140: if device_driver_advansys
141: liblinux_a_SOURCES += \
142: linux/src/drivers/scsi/advansys.c \
143: linux/src/drivers/scsi/advansys.h
144: endif
145:
146: if device_driver_aha152x
147: liblinux_a_SOURCES += \
148: linux/src/drivers/scsi/aha152x.c \
149: linux/src/drivers/scsi/aha152x.h
150: endif
151:
152: if device_driver_aha1542
153: liblinux_a_SOURCES += \
154: linux/src/drivers/scsi/aha1542.c \
155: linux/src/drivers/scsi/aha1542.h
156: endif
157:
158: if device_driver_aha1740
159: liblinux_a_SOURCES += \
160: linux/src/drivers/scsi/aha1740.c \
161: linux/src/drivers/scsi/aha1740.h
162: endif
163:
164: if device_driver_aic7xxx
165: liblinux_a_SOURCES += \
166: linux/src/drivers/scsi/aic7xxx.c \
167: linux/src/drivers/scsi/aic7xxx.h \
168: linux/src/drivers/scsi/aic7xxx/scsi_message.h \
169: linux/src/drivers/scsi/aic7xxx/sequencer.h \
170: linux/src/drivers/scsi/aic7xxx_reg.h
171: EXTRA_DIST += \
172: linux/src/drivers/scsi/aic7xxx_proc.c \
173: linux/src/drivers/scsi/aic7xxx_seq.c
174: endif
175:
176: if device_driver_dtc
177: liblinux_a_SOURCES += \
178: linux/src/drivers/scsi/dtc.c \
179: linux/src/drivers/scsi/dtc.h
180: endif
181:
182: if device_driver_eata
183: liblinux_a_SOURCES += \
184: linux/src/drivers/scsi/eata.c \
185: linux/src/drivers/scsi/eata.h \
186: linux/src/drivers/scsi/eata_generic.h
187: endif
188:
189: if device_driver_eata_dma
190: liblinux_a_SOURCES += \
191: linux/dev/drivers/scsi/eata_dma.c \
192: linux/src/drivers/scsi/eata_dma.h \
193: linux/src/drivers/scsi/eata_dma_proc.h
194: EXTRA_DIST += \
195: linux/src/drivers/scsi/eata_dma_proc.c
196: endif
197:
198: if device_driver_eata_pio
199: liblinux_a_SOURCES += \
200: linux/src/drivers/scsi/eata_pio.c \
201: linux/src/drivers/scsi/eata_pio.h
202: EXTRA_DIST += \
203: linux/src/drivers/scsi/eata_pio_proc.c
204: endif
205:
206: if device_driver_fdomain
207: liblinux_a_SOURCES += \
208: linux/src/drivers/scsi/fdomain.c \
209: linux/src/drivers/scsi/fdomain.h
210: endif
211:
212: if device_driver_g_NCR5380
213: liblinux_a_SOURCES += \
214: linux/dev/drivers/scsi/g_NCR5380.c \
215: linux/src/drivers/scsi/g_NCR5380.h
216: endif
217:
218: if device_driver_gdth
219: liblinux_a_SOURCES += \
220: linux/src/drivers/scsi/gdth.c \
221: linux/src/drivers/scsi/gdth.h \
222: linux/src/drivers/scsi/gdth_ioctl.h \
223: linux/src/drivers/scsi/gdth_proc.h
224: EXTRA_DIST += \
225: linux/src/drivers/scsi/gdth_proc.c
226: endif
227:
228: if device_driver_in2000
229: liblinux_a_SOURCES += \
230: linux/src/drivers/scsi/in2000.c \
231: linux/src/drivers/scsi/in2000.h
232: endif
233:
234: if device_driver_ncr53c8xx
235: liblinux_a_SOURCES += \
236: linux/src/drivers/scsi/ncr53c8xx.c \
237: linux/src/drivers/scsi/ncr53c8xx.h
238: endif
239:
240: if device_driver_pas16
241: liblinux_a_SOURCES += \
242: linux/src/drivers/scsi/pas16.c \
243: linux/src/drivers/scsi/pas16.h
244: endif
245:
246: if device_driver_ppa
247: liblinux_a_SOURCES += \
248: linux/src/drivers/scsi/ppa.c \
249: linux/src/drivers/scsi/ppa.h
250: endif
251:
252: if device_driver_qlogicfas
253: liblinux_a_SOURCES += \
254: linux/src/drivers/scsi/qlogicfas.c \
255: linux/src/drivers/scsi/qlogicfas.h
256: endif
257:
258: if device_driver_qlogicisp
259: liblinux_a_SOURCES += \
260: linux/src/drivers/scsi/qlogicisp.c \
261: linux/src/drivers/scsi/qlogicisp.h
262: endif
263:
264: if device_driver_seagate
265: liblinux_a_SOURCES += \
266: linux/src/drivers/scsi/seagate.c \
267: linux/src/drivers/scsi/seagate.h
268: endif
269:
270: if device_driver_sym53c8xx
271: liblinux_a_SOURCES += \
272: linux/src/drivers/scsi/sym53c8xx.c \
273: linux/src/drivers/scsi/sym53c8xx_comm.h \
274: linux/src/drivers/scsi/sym53c8xx.h \
275: linux/src/drivers/scsi/sym53c8xx_defs.h
276: endif
277:
278: if device_driver_t128
279: liblinux_a_SOURCES += \
280: linux/src/drivers/scsi/t128.c \
281: linux/src/drivers/scsi/t128.h
282: endif
283:
284: if device_driver_tmscsim
285: liblinux_a_SOURCES += \
286: linux/src/drivers/scsi/dc390.h \
287: linux/src/drivers/scsi/tmscsim.c \
288: linux/src/drivers/scsi/tmscsim.h
289: EXTRA_DIST += \
290: linux/src/drivers/scsi/scsiiom.c
291: endif
292:
293: if device_driver_u14_34f
294: liblinux_a_SOURCES += \
295: linux/src/drivers/scsi/u14-34f.c \
296: linux/src/drivers/scsi/u14-34f.h
297: endif
298:
299: if device_driver_ultrastor
300: liblinux_a_SOURCES += \
301: linux/src/drivers/scsi/ultrastor.c \
302: linux/src/drivers/scsi/ultrastor.h
303: endif
304:
305: if device_driver_wd7000
306: liblinux_a_SOURCES += \
307: linux/src/drivers/scsi/wd7000.c \
308: linux/src/drivers/scsi/wd7000.h
309: endif
310:
311: EXTRA_DIST += \
312: linux/src/drivers/scsi/NCR5380.c \
313: linux/src/drivers/scsi/NCR5380.h
314:
315: if device_driver_group_net
316: liblinux_a_SOURCES += \
317: linux/dev/drivers/net/auto_irq.c \
318: linux/dev/glue/net.c \
319: linux/dev/drivers/net/Space.c \
320: linux/dev/net/core/dev.c \
321: linux/dev/drivers/net/net_init.c \
322: linux/src/drivers/net/pci-scan.c \
323: linux/src/drivers/net/pci-scan.h
324: endif
325:
326: if device_driver_3c501
327: liblinux_a_SOURCES += \
328: linux/src/drivers/net/3c501.c
329: endif
330:
331: if device_driver_3c503
332: liblinux_a_SOURCES += \
333: linux/src/drivers/net/3c503.c \
334: linux/src/drivers/net/3c503.h \
335: linux/src/drivers/net/8390.c
336: endif
337:
338: if device_driver_3c505
339: liblinux_a_SOURCES += \
340: linux/src/drivers/net/3c505.c \
341: linux/src/drivers/net/3c505.h
342: endif
343:
344: if device_driver_3c507
345: liblinux_a_SOURCES += \
346: linux/src/drivers/net/3c507.c
347: endif
348:
349: if device_driver_3c509
350: liblinux_a_SOURCES += \
351: linux/src/drivers/net/3c509.c
352: endif
353:
354: if device_driver_3c59x
355: liblinux_a_SOURCES += \
356: linux/src/drivers/net/3c59x.c
357: endif
358:
359: if device_driver_3c515
360: liblinux_a_SOURCES += \
361: linux/src/drivers/net/3c515.c
362: endif
363:
364: if device_driver_ac3200
365: liblinux_a_SOURCES += \
366: linux/src/drivers/net/ac3200.c \
367: linux/src/drivers/net/8390.c
368: endif
369:
370: if device_driver_apricot
371: liblinux_a_SOURCES += \
372: linux/src/drivers/net/apricot.c
373: endif
374:
375: if device_driver_at1700
376: liblinux_a_SOURCES += \
377: linux/src/drivers/net/at1700.c
378: endif
379:
380: if device_driver_atp
381: liblinux_a_SOURCES += \
382: linux/src/drivers/net/atp.c \
383: linux/src/drivers/net/atp.h
384: endif
385:
386: #if device_driver_cb_shim
387: #liblinux_a_SOURCES += \
388: # linux/src/drivers/net/cb_shim.c
389: #endif
390:
391: if device_driver_de4x5
392: liblinux_a_SOURCES += \
393: linux/src/drivers/net/de4x5.c \
394: linux/src/drivers/net/de4x5.h
395: endif
396:
397: if device_driver_de600
398: liblinux_a_SOURCES += \
399: linux/src/drivers/net/de600.c
400: endif
401:
402: if device_driver_de620
403: liblinux_a_SOURCES += \
404: linux/src/drivers/net/de620.c \
405: linux/src/drivers/net/de620.h
406: endif
407:
408: if device_driver_depca
409: liblinux_a_SOURCES += \
410: linux/src/drivers/net/depca.c \
411: linux/src/drivers/net/depca.h
412: endif
413:
414: if device_driver_e2100
415: liblinux_a_SOURCES += \
416: linux/src/drivers/net/e2100.c \
417: linux/src/drivers/net/8390.c
418: endif
419:
420: if device_driver_eepro
421: liblinux_a_SOURCES += \
422: linux/src/drivers/net/eepro.c
423: endif
424:
425: if device_driver_eepro100
426: liblinux_a_SOURCES += \
427: linux/src/drivers/net/eepro100.c
428: endif
429:
430: if device_driver_eexpress
431: liblinux_a_SOURCES += \
432: linux/src/drivers/net/eexpress.c \
433: linux/src/drivers/net/eth82586.h
434: endif
435:
436: if device_driver_epic100
437: liblinux_a_SOURCES += \
438: linux/src/drivers/net/epic100.c
439: endif
440:
441: if device_driver_eth16i
442: liblinux_a_SOURCES += \
443: linux/src/drivers/net/eth16i.c
444: endif
445:
446: if device_driver_ewrk3
447: liblinux_a_SOURCES += \
448: linux/src/drivers/net/ewrk3.c \
449: linux/src/drivers/net/ewrk3.h
450: endif
451:
452: if device_driver_fmv18x
453: liblinux_a_SOURCES += \
454: linux/src/drivers/net/fmv18x.c
455: endif
456:
457: if device_driver_hamachi
458: liblinux_a_SOURCES += \
459: linux/src/drivers/net/hamachi.c
460: endif
461:
462: if device_driver_hp_plus
463: liblinux_a_SOURCES += \
464: linux/src/drivers/net/hp-plus.c \
465: linux/src/drivers/net/8390.c
466: endif
467:
468: if device_driver_hp
469: liblinux_a_SOURCES += \
470: linux/src/drivers/net/hp.c \
471: linux/src/drivers/net/8390.c
472: endif
473:
474: if device_driver_hp100
475: liblinux_a_SOURCES += \
476: linux/src/drivers/net/hp100.c \
477: linux/src/drivers/net/hp100.h
478: endif
479:
480: if device_driver_intel_gige
481: liblinux_a_SOURCES += \
482: linux/src/drivers/net/intel-gige.c
483: endif
484:
485: if device_driver_lance
486: liblinux_a_SOURCES += \
487: linux/src/drivers/net/lance.c
488: endif
489:
490: if device_driver_myson803
491: liblinux_a_SOURCES += \
492: linux/src/drivers/net/myson803.c
493: endif
494:
495: if device_driver_natsemi
496: liblinux_a_SOURCES += \
497: linux/src/drivers/net/natsemi.c
498: endif
499:
500: if device_driver_ne
501: liblinux_a_SOURCES += \
502: linux/src/drivers/net/ne.c \
503: linux/src/drivers/net/8390.c
504: endif
505:
506: if device_driver_ne2k_pci
507: liblinux_a_SOURCES += \
508: linux/src/drivers/net/ne2k-pci.c \
509: linux/src/drivers/net/8390.c
510: endif
511:
512: if device_driver_ni52
513: liblinux_a_SOURCES += \
514: linux/src/drivers/net/ni52.c \
515: linux/src/drivers/net/ni52.h
516: endif
517:
518: if device_driver_ni65
519: liblinux_a_SOURCES += \
520: linux/src/drivers/net/ni65.c \
521: linux/src/drivers/net/ni65.h
522: endif
523:
524: if device_driver_ns820
525: liblinux_a_SOURCES += \
526: linux/src/drivers/net/ns820.c
527: endif
528:
529: if device_driver_pcnet32
530: liblinux_a_SOURCES += \
531: linux/src/drivers/net/pcnet32.c
532: endif
533:
534: if device_driver_rtl8139
535: liblinux_a_SOURCES += \
536: linux/src/drivers/net/rtl8139.c
537: endif
538:
539: if device_driver_seeq8005
540: liblinux_a_SOURCES += \
541: linux/src/drivers/net/seeq8005.c \
542: linux/src/drivers/net/seeq8005.h
543: endif
544:
545: if device_driver_sis900
546: liblinux_a_SOURCES += \
547: linux/src/drivers/net/sis900.c \
548: linux/src/drivers/net/sis900.h
549: endif
550:
551: if device_driver_sk_g16
552: liblinux_a_SOURCES += \
553: linux/src/drivers/net/sk_g16.c \
554: linux/src/drivers/net/sk_g16.h
555: endif
556:
557: if device_driver_smc_ultra
558: liblinux_a_SOURCES += \
559: linux/src/drivers/net/smc-ultra.c \
560: linux/src/drivers/net/8390.c
561: endif
562:
563: if device_driver_smc_ultra32
564: liblinux_a_SOURCES += \
565: linux/src/drivers/net/smc-ultra32.c \
566: linux/src/drivers/net/8390.c
567: endif
568:
569: if device_driver_starfire
570: liblinux_a_SOURCES += \
571: linux/src/drivers/net/starfire.c
572: endif
573:
574: if device_driver_sundance
575: liblinux_a_SOURCES += \
576: linux/src/drivers/net/sundance.c
577: endif
578:
579: if device_driver_tlan
580: liblinux_a_SOURCES += \
581: linux/src/drivers/net/tlan.c \
582: linux/src/drivers/net/tlan.h
583: endif
584:
585: if device_driver_tulip
586: liblinux_a_SOURCES += \
587: linux/src/drivers/net/tulip.c
588: endif
589:
590: if device_driver_via_rhine
591: liblinux_a_SOURCES += \
592: linux/src/drivers/net/via-rhine.c
593: endif
594:
595: if device_driver_wavelan
596: liblinux_a_SOURCES += \
597: linux/src/drivers/net/i82586.h \
598: linux/src/drivers/net/wavelan.c \
599: linux/src/drivers/net/wavelan.h \
600: linux/dev/drivers/net/wavelan.p.h
601: endif
602:
603: if device_driver_wd
604: liblinux_a_SOURCES += \
605: linux/src/drivers/net/wd.c
606: endif
607:
608: if device_driver_winbond_840
609: liblinux_a_SOURCES += \
610: linux/src/drivers/net/winbond-840.c \
611: linux/src/drivers/net/8390.c
612: endif
613:
614: if device_driver_yellowfin
615: liblinux_a_SOURCES += \
616: linux/src/drivers/net/yellowfin.c
617: endif
618:
619: if device_driver_znet
620: liblinux_a_SOURCES += \
621: linux/src/drivers/net/znet.c
622: endif
623:
624: EXTRA_DIST += \
625: linux/src/drivers/net/8390.h \
626: linux/src/drivers/net/kern_compat.h
627:
628: # pcmcia-cs.
629:
630: liblinux_pcmcia_cs_modules_a_CPPFLAGS = $(liblinux_a_CPPFLAGS) \
631: -I$(srcdir)/linux/pcmcia-cs/include
632: liblinux_pcmcia_cs_modules_a_CFLAGS = $(liblinux_a_CFLAGS) \
633: -include $(srcdir)/linux/pcmcia-cs/glue/pcmcia_glue.h
634: liblinux_pcmcia_cs_modules_a_SOURCES =
635: if device_driver_group_pcmcia
636: noinst_LIBRARIES += \
637: liblinux_pcmcia_cs_modules.a
638: gnumach_o_LDADD += \
639: liblinux_pcmcia_cs_modules.a
640: endif
641:
642: liblinux_pcmcia_cs_modules_a_SOURCES += \
643: linux/pcmcia-cs/glue/pcmcia.c \
644: linux/pcmcia-cs/glue/pcmcia_glue.h \
645: linux/pcmcia-cs/modules/cs.c \
646: linux/pcmcia-cs/modules/cs_internal.h \
647: linux/pcmcia-cs/modules/ds.c \
648: linux/pcmcia-cs/modules/rsrc_mgr.c \
649: linux/pcmcia-cs/modules/bulkmem.c \
650: linux/pcmcia-cs/modules/cistpl.c \
651: linux/pcmcia-cs/modules/pci_fixup.c
652: EXTRA_DIST += \
653: linux/pcmcia-cs/glue/ds.c
654:
655: if device_driver_i82365
656: liblinux_pcmcia_cs_modules_a_SOURCES += \
657: linux/pcmcia-cs/modules/cirrus.h \
658: linux/pcmcia-cs/modules/ene.h \
659: linux/pcmcia-cs/modules/i82365.c \
660: linux/pcmcia-cs/modules/i82365.h \
661: linux/pcmcia-cs/modules/o2micro.h \
662: linux/pcmcia-cs/modules/ricoh.h \
663: linux/pcmcia-cs/modules/smc34c90.h \
664: linux/pcmcia-cs/modules/ti113x.h \
665: linux/pcmcia-cs/modules/topic.h \
666: linux/pcmcia-cs/modules/vg468.h \
667: linux/pcmcia-cs/modules/yenta.h
668: endif
669:
670: liblinux_pcmcia_cs_clients_a_CPPFLAGS = $(liblinux_a_CPPFLAGS) \
671: -DPCMCIA_CLIENT -I$(srcdir)/linux/pcmcia-cs/include
672: liblinux_pcmcia_cs_clients_a_CFLAGS = $(liblinux_a_CFLAGS) \
673: -include $(srcdir)/linux/pcmcia-cs/glue/pcmcia_glue.h
674: liblinux_pcmcia_cs_clients_a_SOURCES =
675: if device_driver_group_pcmcia
676: noinst_LIBRARIES += \
677: liblinux_pcmcia_cs_clients.a
678: gnumach_o_LDADD += \
679: liblinux_pcmcia_cs_clients.a
680: endif
681:
682: if device_driver_3c574_cs
683: liblinux_pcmcia_cs_clients_a_SOURCES += \
684: linux/pcmcia-cs/clients/3c574_cs.c
685: endif
686:
687: if device_driver_3c589_cs
688: liblinux_pcmcia_cs_clients_a_SOURCES += \
689: linux/pcmcia-cs/clients/3c589_cs.c
690: endif
691:
692: if device_driver_axnet_cs
693: liblinux_pcmcia_cs_clients_a_SOURCES += \
694: linux/pcmcia-cs/clients/ax8390.h \
695: linux/pcmcia-cs/clients/axnet_cs.c
696: endif
697:
698: if device_driver_fmvj18x_cs
699: liblinux_pcmcia_cs_clients_a_SOURCES += \
700: linux/pcmcia-cs/clients/fmvj18x_cs.c
701: endif
702:
703: if device_driver_nmclan_cs
704: liblinux_pcmcia_cs_clients_a_SOURCES += \
705: linux/pcmcia-cs/clients/nmclan_cs.c
706: endif
707:
708: if device_driver_pcnet_cs
709: liblinux_pcmcia_cs_clients_a_SOURCES += \
710: linux/pcmcia-cs/clients/pcnet_cs.c \
711: linux/src/drivers/net/8390.c
712: endif
713:
714: if device_driver_smc91c92_cs
715: liblinux_pcmcia_cs_clients_a_SOURCES += \
716: linux/pcmcia-cs/clients/ositech.h \
717: linux/pcmcia-cs/clients/smc91c92_cs.c
718: endif
719:
720: if device_driver_xirc2ps_cs
721: liblinux_pcmcia_cs_clients_a_SOURCES += \
722: linux/pcmcia-cs/clients/xirc2ps_cs.c
723: endif
724:
725: liblinux_pcmcia_cs_wireless_a_CPPFLAGS = $(liblinux_a_CPPFLAGS) \
726: -I$(srcdir)/linux/pcmcia-cs/include
727: liblinux_pcmcia_cs_wireless_a_CFLAGS = $(liblinux_a_CFLAGS) \
728: -include $(srcdir)/linux/pcmcia-cs/glue/wireless_glue.h
729: liblinux_pcmcia_cs_wireless_a_SOURCES =
730: if device_driver_group_pcmcia
731: noinst_LIBRARIES += \
732: liblinux_pcmcia_cs_wireless.a
733: gnumach_o_LDADD += \
734: liblinux_pcmcia_cs_wireless.a
735: endif
736:
737: if device_driver_orinoco_cs
738: liblinux_pcmcia_cs_wireless_a_SOURCES += \
739: linux/pcmcia-cs/glue/wireless_glue.h \
740: linux/pcmcia-cs/wireless/hermes.c \
741: linux/pcmcia-cs/wireless/hermes.h \
742: linux/pcmcia-cs/wireless/hermes_rid.h \
743: linux/pcmcia-cs/wireless/ieee802_11.h \
744: linux/pcmcia-cs/wireless/orinoco.c \
745: linux/pcmcia-cs/wireless/orinoco.h \
746: linux/pcmcia-cs/wireless/orinoco_cs.c
747: endif
748:
749: #
750: # Building a distribution.
751: #
752:
753: EXTRA_DIST += \
754: linux/dev/README \
755: linux/src/COPYING
756:
1.1.1.2 root 757: # Those get #included...
758: EXTRA_DIST += \
759: linux/src/drivers/scsi/FlashPoint.c \
760: linux/src/drivers/scsi/eata_pio_proc.c \
761: linux/src/drivers/scsi/scsiiom.c
762:
1.1 root 763: # Instead of listing each file individually...
764: EXTRA_DIST += \
765: linux/dev/include \
766: linux/src/include
767: EXTRA_DIST += \
768: linux/pcmcia-cs/include
769: dist-hook: dist-hook-linux
770: .PHONY: dist-hook-linux
771: dist-hook-linux:
772: # These symbolic links are copied from the build directory due to including
773: # `linux/dev/include linux/src/include' to `EXTRA_DIST' above.
774: rm -f \
775: $(distdir)/linux/dev/include/asm \
776: $(distdir)/linux/src/include/asm
777:
778: #
779: # Architecture specific parts.
780: #
781:
782: if HOST_ix86
783: include i386/linux/Makefrag.am
784: endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.