Changeset 6cb5bcd in rtems


Ignore:
Timestamp:
Nov 22, 2003, 11:31:12 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
bcb9ab43
Parents:
3d4d5ee
Message:

2003-11-22 Ralf Corsepius <corsepiu@…>

  • include/rtems/cdefs.h: New.
  • Makefile.am: Completely reworked.
Location:
cpukit/libcsupport
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

    r3d4d5ee r6cb5bcd  
     12003-11-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * include/rtems/cdefs.h: New.
     4        * Makefile.am: Completely reworked.
     5
    162003-11-20      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/libcsupport/Makefile.am

    r3d4d5ee r6cb5bcd  
    88
    99include_HEADERS = include/chain.h include/console.h include/clockdrv.h \
    10     include/iosupp.h include/ringbuf.h include/rtc.h \
    11     include/spurious.h include/timerdrv.h include/vmeintr.h
     10    include/iosupp.h include/ringbuf.h include/rtc.h include/spurious.h \
     11    include/timerdrv.h include/vmeintr.h
    1212
    1313if NEED_STDINT_H
    14 LIBC_HFILES = include/stdint.h
     14include_HEADERS += include/stdint.h
    1515endif
    1616if NEED_INTTYPES_H
    17 LIBC_HFILES += include/inttypes.h
    18 endif
    19 include_HEADERS += $(LIBC_HFILES)
    20 
    21 PREINSTALL_FILES = $(PROJECT_INCLUDE) \
    22     $(include_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
    23 
    24 $(PROJECT_INCLUDE):
    25         @$(mkinstalldirs) $@
    26 $(PROJECT_INCLUDE)/motorola:
    27         @$(mkinstalldirs) $@
    28 $(PROJECT_INCLUDE)/rtems:
    29         @$(mkinstalldirs) $@
    30 $(PROJECT_INCLUDE)/sys:
    31         @$(mkinstalldirs) $@
    32 $(PROJECT_INCLUDE)/zilog:
    33         @$(mkinstalldirs) $@
    34 
    35 $(PROJECT_INCLUDE)/%.h: include/%.h
    36         $(INSTALL_DATA) $< $@
     17include_HEADERS += include/inttypes.h
     18endif
    3719
    3820## motorola
     
    4022include_motoroladir = $(includedir)/motorola
    4123
    42 include_motorola_HEADERS = include/motorola/mc68230.h include/motorola/mc68681.h
    43 
    44 PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola \
    45     $(include_motorola_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
     24include_motorola_HEADERS = include/motorola/mc68230.h \
     25    include/motorola/mc68681.h
    4626
    4727## rtems
    4828include_rtemsdir = $(includedir)/rtems
    4929
    50 include_rtems_HEADERS = \
    51     include/rtems/assoc.h include/rtems/error.h include/rtems/libcsupport.h \
    52     include/rtems/libio.h include/rtems/libio_.h \
    53     include/rtems/termiostypes.h
    54 
    55 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
    56     $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
     30include_rtems_HEADERS = include/rtems/assoc.h include/rtems/error.h \
     31    include/rtems/libcsupport.h include/rtems/libio.h include/rtems/libio_.h \
     32    include/rtems/termiostypes.h include/rtems/cdefs.h
    5733
    5834## sys
     
    6036include_sysdir = $(includedir)/sys
    6137
     38# FIXME: We should not install to include/sys unless using newlib.
     39include_sys_HEADERS = include/sys/filio.h include/sys/ioccom.h \
     40    include/sys/ioctl.h include/sys/sockio.h include/sys/ttycom.h
     41
    6242if NEWLIB
    63 NEWLIB_H_FILES = include/sys/termios.h include/sys/utsname.h
     43include_sys_HEADERS += include/sys/termios.h include/sys/utsname.h
    6444endif
    6545
    6646if NEED_SYS_CDEFS_H
    67 SYS_H_FILES = include/sys/cdefs.h
    68 endif
    69 
    70 # FIXME: We should not install to include/sys unless using newlib.
    71 include_sys_HEADERS = \
    72 include/sys/filio.h \
    73 include/sys/ioccom.h \
    74 include/sys/ioctl.h \
    75 include/sys/sockio.h \
    76 include/sys/termios.h \
    77 include/sys/ttycom.h \
    78 $(SYS_H_FILES) \
    79 $(NEWLIB_H_FILES)
    80 
    81 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys \
    82     $(include_sys_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
     47include_sys_HEADERS += include/sys/cdefs.h
     48endif
    8349
    8450## zilog
     
    8854include_zilog_HEADERS = include/zilog/z8036.h include/zilog/z8530.h \
    8955    include/zilog/z8536.h
    90 
    91 PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog \
    92     $(include_zilog_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
    9356
    9457##  General stuff
     
    12588
    12689ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
    127     src/getlogin.c src/getpgrp.c \
    128     src/getpid.c src/getppid.c src/getuid.c src/setpgid.c src/setsid.c
    129 
    130 MALLOC_C_FILES = src/malloc.c src/mallocfreespace.c src/__brk.c src/__sbrk.c
     90    src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c src/getuid.c \
     91    src/setpgid.c src/setsid.c
     92
     93MALLOC_C_FILES = src/malloc.c src/mallocfreespace.c src/__brk.c \
     94    src/__sbrk.c
    13195
    13296PASSWORD_GROUP_C_FILES = src/getpwent.c
     
    143107BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c
    144108
    145 COMMON_C_FILES = src/gxx_wrappers.c src/printk.c \
    146     $(BSD_LIBC_C_FILES) \
    147     $(BASE_FS_C_FILES) \
    148     $(MALLOC_C_FILES) $(TERMIOS_C_FILES) $(ERROR_C_FILES) \
     109COMMON_C_FILES = src/gxx_wrappers.c src/printk.c $(BSD_LIBC_C_FILES) \
     110    $(BASE_FS_C_FILES) $(MALLOC_C_FILES) $(TERMIOS_C_FILES) $(ERROR_C_FILES) \
    149111    $(ASSOCIATION_C_FILES)
    150112
     
    182144    $(UNIX_C_FILES)
    183145
     146BUILT_SOURCES = $(PREINSTALL_FILES)
     147
     148PREINSTALL_FILES =
     149
     150$(PROJECT_INCLUDE)/chain.h: include/chain.h
     151        $(INSTALL_DATA) $< $@
     152PREINSTALL_FILES += $(PROJECT_INCLUDE)/chain.h
     153
     154$(PROJECT_INCLUDE)/console.h: include/console.h
     155        $(INSTALL_DATA) $< $@
     156PREINSTALL_FILES += $(PROJECT_INCLUDE)/console.h
     157
     158$(PROJECT_INCLUDE)/clockdrv.h: include/clockdrv.h
     159        $(INSTALL_DATA) $< $@
     160PREINSTALL_FILES += $(PROJECT_INCLUDE)/clockdrv.h
     161
     162$(PROJECT_INCLUDE)/iosupp.h: include/iosupp.h
     163        $(INSTALL_DATA) $< $@
     164PREINSTALL_FILES += $(PROJECT_INCLUDE)/iosupp.h
     165
     166$(PROJECT_INCLUDE)/ringbuf.h: include/ringbuf.h
     167        $(INSTALL_DATA) $< $@
     168PREINSTALL_FILES += $(PROJECT_INCLUDE)/ringbuf.h
     169
     170$(PROJECT_INCLUDE)/rtc.h: include/rtc.h
     171        $(INSTALL_DATA) $< $@
     172PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtc.h
     173
     174$(PROJECT_INCLUDE)/spurious.h: include/spurious.h
     175        $(INSTALL_DATA) $< $@
     176PREINSTALL_FILES += $(PROJECT_INCLUDE)/spurious.h
     177
     178$(PROJECT_INCLUDE)/timerdrv.h: include/timerdrv.h
     179        $(INSTALL_DATA) $< $@
     180PREINSTALL_FILES += $(PROJECT_INCLUDE)/timerdrv.h
     181
     182$(PROJECT_INCLUDE)/vmeintr.h: include/vmeintr.h
     183        $(INSTALL_DATA) $< $@
     184PREINSTALL_FILES += $(PROJECT_INCLUDE)/vmeintr.h
     185
     186if NEED_STDINT_H
     187$(PROJECT_INCLUDE)/stdint.h: include/stdint.h
     188        $(INSTALL_DATA) $< $@
     189PREINSTALL_FILES += $(PROJECT_INCLUDE)/stdint.h
     190endif
     191
     192if NEED_INTTYPES_H
     193$(PROJECT_INCLUDE)/inttypes.h: include/inttypes.h
     194        $(INSTALL_DATA) $< $@
     195PREINSTALL_FILES += $(PROJECT_INCLUDE)/inttypes.h
     196endif
     197
     198$(PROJECT_INCLUDE)/motorola:
     199        @$(mkinstalldirs) $(PROJECT_INCLUDE)/motorola
     200PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola
     201
     202$(PROJECT_INCLUDE)/motorola/mc68230.h: include/motorola/mc68230.h
     203        $(INSTALL_DATA) $< $@
     204PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola/mc68230.h
     205
     206$(PROJECT_INCLUDE)/motorola/mc68681.h: include/motorola/mc68681.h
     207        $(INSTALL_DATA) $< $@
     208PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola/mc68681.h
     209
     210$(PROJECT_INCLUDE)/rtems:
     211        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems
     212PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems
     213
     214$(PROJECT_INCLUDE)/rtems/assoc.h: include/rtems/assoc.h
     215        $(INSTALL_DATA) $< $@
     216PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/assoc.h
     217
     218$(PROJECT_INCLUDE)/rtems/error.h: include/rtems/error.h
     219        $(INSTALL_DATA) $< $@
     220PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/error.h
     221
     222$(PROJECT_INCLUDE)/rtems/libcsupport.h: include/rtems/libcsupport.h
     223        $(INSTALL_DATA) $< $@
     224PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/libcsupport.h
     225
     226$(PROJECT_INCLUDE)/rtems/libio.h: include/rtems/libio.h
     227        $(INSTALL_DATA) $< $@
     228PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/libio.h
     229
     230$(PROJECT_INCLUDE)/rtems/libio_.h: include/rtems/libio_.h
     231        $(INSTALL_DATA) $< $@
     232PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/libio_.h
     233
     234$(PROJECT_INCLUDE)/rtems/termiostypes.h: include/rtems/termiostypes.h
     235        $(INSTALL_DATA) $< $@
     236PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/termiostypes.h
     237
     238$(PROJECT_INCLUDE)/rtems/cdefs.h: include/rtems/cdefs.h
     239        $(INSTALL_DATA) $< $@
     240PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/cdefs.h
     241
     242$(PROJECT_INCLUDE)/sys:
     243        @$(mkinstalldirs) $(PROJECT_INCLUDE)/sys
     244PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys
     245
     246$(PROJECT_INCLUDE)/sys/filio.h: include/sys/filio.h
     247        $(INSTALL_DATA) $< $@
     248PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/filio.h
     249
     250$(PROJECT_INCLUDE)/sys/ioccom.h: include/sys/ioccom.h
     251        $(INSTALL_DATA) $< $@
     252PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/ioccom.h
     253
     254$(PROJECT_INCLUDE)/sys/ioctl.h: include/sys/ioctl.h
     255        $(INSTALL_DATA) $< $@
     256PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/ioctl.h
     257
     258$(PROJECT_INCLUDE)/sys/sockio.h: include/sys/sockio.h
     259        $(INSTALL_DATA) $< $@
     260PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/sockio.h
     261
     262$(PROJECT_INCLUDE)/sys/ttycom.h: include/sys/ttycom.h
     263        $(INSTALL_DATA) $< $@
     264PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/ttycom.h
     265
     266if NEWLIB
     267$(PROJECT_INCLUDE)/sys/termios.h: include/sys/termios.h
     268        $(INSTALL_DATA) $< $@
     269PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/termios.h
     270
     271$(PROJECT_INCLUDE)/sys/utsname.h: include/sys/utsname.h
     272        $(INSTALL_DATA) $< $@
     273PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/utsname.h
     274endif
     275
     276if NEED_SYS_CDEFS_H
     277$(PROJECT_INCLUDE)/sys/cdefs.h: include/sys/cdefs.h
     278        $(INSTALL_DATA) $< $@
     279PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/cdefs.h
     280endif
     281
     282$(PROJECT_INCLUDE)/zilog:
     283        @$(mkinstalldirs) $(PROJECT_INCLUDE)/zilog
     284PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog
     285
     286$(PROJECT_INCLUDE)/zilog/z8036.h: include/zilog/z8036.h
     287        $(INSTALL_DATA) $< $@
     288PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog/z8036.h
     289
     290$(PROJECT_INCLUDE)/zilog/z8530.h: include/zilog/z8530.h
     291        $(INSTALL_DATA) $< $@
     292PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog/z8530.h
     293
     294$(PROJECT_INCLUDE)/zilog/z8536.h: include/zilog/z8536.h
     295        $(INSTALL_DATA) $< $@
     296PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog/z8536.h
     297
    184298include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.