Ignore:
Timestamp:
Jun 8, 2004, 10:52:15 AM (17 years ago)
Author:
orlov
Message:
  • Improved makefiles.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/library/Makefile

    r1429 r1434  
     1TOPDIR = ..
     2
     3include $(TOPDIR)/rules.mk
     4
    15SUBDIRS = \
    26  Access \
     
    1519  Bit
    1620
    17 TOPDIR = ..
    18 
    19 include $(TOPDIR)/rules.mk
     21RF_HEADERS = $(SUBDIRS:=.rfi)
     22CPP_HEADERS = $(SUBDIRS:=.hh)
     23CPP_HEADERS += $(foreach d, $(SUBDIRS), $(shell echo $(d) | tr A-Z a-z).hh)
    2024
    2125lists = $(addsuffix /module.list, $(SUBDIRS))
     
    3640        install -m 0644 $(LIBRF) $(INSTALL_DIR)/lib/
    3741        mkdir -p -m 0755 $(INSTALL_DIR)/include/refal-plus
    38         install -m 0644 include/refal-plus/*.rfi $(INSTALL_DIR)/include/refal-plus/
     42        $(foreach f, $(RF_HEADERS), \
     43                install -m 0644 include/refal-plus/$(f) \
     44                                $(INSTALL_DIR)/include/refal-plus/ ; \
     45                ln -sf $(INSTALL_DIR)/include/refal-plus/$(f) \
     46                       $(INSTALL_DIR)/include/refal-plus/$(shell echo $(f) | tr A-Z a-z) ; )
     47        mkdir -p -m 0755 $(INSTALL_DIR)/include/refal
     48        $(foreach f, $(CPP_HEADERS), \
     49                install -m 0644 include/refal/$(f) \
     50                                $(INSTALL_DIR)/include/refal/ ; )
    3951
Note: See TracChangeset for help on using the changeset viewer.