Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r79ae36dd r7c014d1  
    4444#   EXTRA_CLEAN        additional cleanup targets
    4545#
     46#   POSIX_COMPAT       set to 'y' to use POSIX compatibility layer
     47#
    4648# Optionally, for a binary:
    4749#   STATIC_NEEDED      set to 'y' for init binaries, will build statically
     
    104106LIBSOFTINT_PREFIX = $(LIB_PREFIX)/softint
    105107
     108LIBPOSIX_PREFIX = $(LIB_PREFIX)/posix
     109
    106110LIBBLOCK_PREFIX = $(LIB_PREFIX)/block
    107111LIBFS_PREFIX = $(LIB_PREFIX)/fs
     112LIBFB_PREFIX = $(LIB_PREFIX)/fb
    108113LIBCLUI_PREFIX = $(LIB_PREFIX)/clui
     114LIBFMTUTIL_PREFIX = $(LIB_PREFIX)/fmtutil
    109115
    110116LIBEXT2_PREFIX = $(LIB_PREFIX)/ext2
     
    119125LIBPACKET_PREFIX = $(LIB_PREFIX)/packet
    120126LIBNET_PREFIX = $(LIB_PREFIX)/net
     127LIBMINIX_PREFIX = $(LIB_PREFIX)/minix
     128
     129LIBSCSI_PREFIX = $(LIB_PREFIX)/scsi
    121130
    122131ifeq ($(STATIC_NEEDED),y)
     
    211220JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py
    212221
     222ifeq ($(POSIX_COMPAT),y)
     223        CFLAGS = -I$(LIBPOSIX_PREFIX)
     224        LIBS += $(LIBPOSIX_PREFIX)/libposix.a
     225endif
     226
    213227ifeq ($(COMPILER),gcc_cross)
    214         CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)
     228        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
    215229        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    216230endif
    217231
    218232ifeq ($(COMPILER),gcc_native)
    219         CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)
     233        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
    220234        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    221235endif
    222236
    223237ifeq ($(COMPILER),icc)
    224         CFLAGS = $(ICC_CFLAGS) $(EXTRA_CFLAGS)
     238        CFLAGS += $(ICC_CFLAGS) $(EXTRA_CFLAGS)
    225239        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    226240endif
    227241
    228242ifeq ($(COMPILER),clang)
    229         CFLAGS = $(CLANG_CFLAGS) $(EXTRA_CFLAGS)
     243        CFLAGS += $(CLANG_CFLAGS) $(EXTRA_CFLAGS)
    230244        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    231245endif
Note: See TracChangeset for help on using the changeset viewer.