Changeset 1435


Ignore:
Timestamp:
Jun 8, 2004, 10:57:49 AM (17 years ago)
Author:
orlov
Message:
  • Improved makefiles.
Location:
to-imperative/trunk/cygwin
Files:
4 edited

Legend:

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

    r1407 r1435  
    55include $(TOPDIR)/rules.mk
    66
    7 DISTFILES += Makefile config.mk
     7DISTFILES += Makefile
    88
  • to-imperative/trunk/cygwin/libp++/Makefile

    r1407 r1435  
    4343
    4444install:: all
    45         mkdir -p -m 0755 $(INSTALL_DIR)/lib \
     45        mkdir -p -m 0755 $(INSTALL_DIR)/lib
    4646        install -m 0644 $(LIBPXX) $(INSTALL_DIR)/lib/
     47        mkdir -p -m 0755 $(INSTALL_DIR)/include/libp++
     48        $(foreach f, $(PXX_HEADERS) $(PXX_IHEADERS) $(PXX_AHEADERS), \
     49                install -m 0644 $(f) $(INSTALL_DIR)/include/libp++/ ; )
    4750
    4851uninstall:: all
  • to-imperative/trunk/cygwin/library/Makefile

    r1401 r1435  
     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))
     
    3236        rm -rf $(LIBRF)
    3337
     38install:: all
     39        mkdir -p -m 0755 $(INSTALL_DIR)/lib
     40        install -m 0644 $(LIBRF) $(INSTALL_DIR)/lib/
     41        mkdir -p -m 0755 $(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/ ; )
     51
  • to-imperative/trunk/cygwin/runtime/Makefile

    r1407 r1435  
    3131RFRT_SOURCES = $(RFRT_MODULES:=.cc)
    3232RFRT_HEADERS = $(RFRT_MODULES:=.hh)
    33 #RFRT_IHEADERS = $(RFRT_MODULES:=.ih)
     33RFRT_IHEADERS = $(RFRT_MODULES:=.ih)
    3434RFRT_OBJECTS = $(RFRT_MODULES:=.o)
    3535
     
    5252
    5353install:: all
    54         mkdir -p -m 0755 $(INSTALL_DIR)/lib \
     54        mkdir -p -m 0755 $(INSTALL_DIR)/lib
    5555        install -m 0644 $(LIBRFRT) $(INSTALL_DIR)/lib/
     56        mkdir -p -m 0755 $(INSTALL_DIR)/include/rfrt
     57        $(foreach f, $(RFRT_HEADERS) $(RFRT_IHEADERS), \
     58                [ -f $(f) ] && install -m 0644 $(f) $(INSTALL_DIR)/include/rfrt/ ; )
    5659
    5760uninstall:: all
Note: See TracChangeset for help on using the changeset viewer.