Changeset cd9ce153 in rtems


Ignore:
Timestamp:
Jan 11, 2004, 8:12:20 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ca0eeaa
Parents:
8c31a89f
Message:

2004-01-11 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Reformat, add UNUSED_FILES.
Location:
cpukit/libcsupport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

    r8c31a89f rcd9ce153  
     12004-01-11  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Reformat, add UNUSED_FILES.
     4
    152004-01-11  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • cpukit/libcsupport/Makefile.am

    r8c31a89f rcd9ce153  
    55include $(top_srcdir)/automake/multilib.am
    66include $(top_srcdir)/automake/compile.am
     7
     8AM_CPPFLAGS += -I$(top_builddir)
     9AM_CFLAGS += $(LIBC_DEFINES)
     10
     11UNUSED_FILES = src/envlock.c
     12
     13EXTRA_LIBRARIES = libcsupport.a
     14CLEANFILES = libcsupport.a
     15libcsupport_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     16
     17EXTRA_LIBRARIES += libcsupport_g.a
     18CLEANFILES += libcsupport_g.a
     19libcsupport_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    720
    821include_HEADERS = include/chain.h include/console.h include/clockdrv.h \
     
    5669##  General stuff
    5770all-local: $(PREINSTALL_FILES) libcsupport$(LIB_VARIANT).a
    58 
    59 AM_CPPFLAGS += -I$(top_builddir)
    6071
    6172ERROR_C_FILES = src/error.c
     
    100111    src/newlibc.c src/no_posix.c src/no_libc.c src/utsname.c
    101112
    102 UNIX_LIBC_C_FILES = src/unixlibc.c src/hosterr.c
    103 
    104113BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c
    105114
    106 COMMON_C_FILES = src/gxx_wrappers.c src/printk.c $(BSD_LIBC_C_FILES) \
     115libcsupport_a_SOURCES = src/gxx_wrappers.c src/printk.c $(BSD_LIBC_C_FILES) \
    107116    $(BASE_FS_C_FILES) $(MALLOC_C_FILES) $(TERMIOS_C_FILES) $(ERROR_C_FILES) \
    108117    $(ASSOCIATION_C_FILES)
    109118
    110 UNIX_C_FILES = $(UNIX_LIBC_C_FILES)
    111 
    112 EMBEDDED_C_FILES = $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
     119if UNIX
     120libcsupport_a_SOURCES += src/unixlibc.c src/hosterr.c
     121else
     122libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
    113123    $(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
    114124    $(DIRECTORY_SCAN_C_FILES) $(ID_C_FILES)
    115 
    116 if UNIX
    117 C_FILES = $(COMMON_C_FILES) $(UNIX_C_FILES)
    118 else
    119 C_FILES = $(COMMON_C_FILES) $(EMBEDDED_C_FILES)
    120 endif
    121 
    122 AM_CFLAGS += $(LIBC_DEFINES)
    123 
    124 EXTRA_LIBRARIES = libcsupport.a
    125 CLEANFILES = libcsupport.a
    126 libcsupport_a_SOURCES = $(C_FILES)
    127 libcsupport_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    128 
    129 EXTRA_LIBRARIES += libcsupport_g.a
    130 CLEANFILES += libcsupport_g.a
     125endif
     126
    131127libcsupport_g_a_SOURCES = $(libcsupport_a_SOURCES)
    132 libcsupport_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    133128
    134129EXTRA_DIST = src/TODO src/CASES src/README
     130EXTRA_DIST += $(UNUSED_FILES)
    135131
    136132PREINSTALL_FILES =
Note: See TracChangeset for help on using the changeset viewer.