Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/Makefile

    ra18da67 rea4910b  
    4141        ../hound/libhound.a \
    4242        ../pcm/libpcm.a \
    43         ../cpp/libcpp.a \
    4443        $(LIBC_PREFIX)/libc.a \
    4544        $(LIBC_PREFIX)/crt0.o \
    4645        $(LIBC_PREFIX)/crt1.o \
    4746        $(LIBRARY).a
     47
     48PRE_DEPEND = $(INCLUDE_LIBC)
     49EXTRA_CLEAN = $(INCLUDE_LIBC)
    4850
    4951SOURCES = \
     
    9496        $(COMMON_CFLAGS)
    9597
    96 EXPORT_CXXFLAGS = \
    97         $(COMMON_CXXFLAGS)
    98 
    9998include $(USPACE_PREFIX)/Makefile.common
    10099
     
    110109        echo 'HELENOS_CPPFLAGS="$(EXPORT_CPPFLAGS)"' >> $@.new
    111110        echo 'HELENOS_CFLAGS="$(EXPORT_CFLAGS)"' >> $@.new
    112         echo 'HELENOS_CXXFLAGS="$(EXPORT_CXXFLAGS)"' >> $@.new
     111        echo 'HELENOS_CXXFLAGS="$(EXPORT_CFLAGS)"' >> $@.new
    113112        echo 'HELENOS_LDFLAGS="$(EXPORT_LDFLAGS)"' >> $@.new
    114113        echo 'HELENOS_LDLIBS="$(EXPORT_LDLIBS)"' >> $@.new
     
    128127        cp -L $(EXPORT_FILES) $(EXPORT_DIR)/lib
    129128
    130 export-includes: $(shell find ./include ../c/arch/$(UARCH)/include $(ROOT_PATH)/abi/include -name '*.h')
     129export-includes: $(INCLUDE_LIBC) $(shell find ./include ../c/arch/$(UARCH)/include $(ROOT_PATH)/abi/include -name '*.h')
    131130        mkdir -p $(EXPORT_DIR)/include
    132131        rm -rf $(EXPORT_DIR)/include.new
     
    147146        mkdir -p $(EXPORT_DIR)/include.new/libpcm
    148147        cp -r -L -t $(EXPORT_DIR)/include.new/libpcm ../pcm/include/*
    149         mkdir -p $(EXPORT_DIR)/include.new/libcpp
    150         cp -r -L -t $(EXPORT_DIR)/include.new/libcpp ../cpp/include/*
    151148        mv $(EXPORT_DIR)/include.new $(EXPORT_DIR)/include
Note: See TracChangeset for help on using the changeset viewer.