Changeset 079c3f2 in rtems-libbsd


Ignore:
Timestamp:
Jul 11, 2012, 7:31:26 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
e25eda8
Parents:
4f44b24
Message:

userspace: Add install support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd-userspace/Makefile

    r4f44b24 r079c3f2  
    5656# C_FILES += lib/libc/net/getservent.c
    5757
     58C_FILES += rtems/rtems-net-setup.c
     59
    5860C_O_FILES = $(C_FILES:%.c=%.o)
    5961C_D_FILES = $(C_FILES:%.c=%.d)
     
    7072
    7173install: $(LIB)
    72         #install -d $(INSTALL_BASE)/include
    73         #install -c -m 644 $(LIB) $(INSTALL_BASE)
     74        install -d $(INSTALL_BASE)/include
     75        cd include; for i in `find . -name '*.h'` ; do \
     76          install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
     77        install -c -m 644 $(LIB) $(INSTALL_BASE)
    7478
    7579clean:
Note: See TracChangeset for help on using the changeset viewer.