~ubuntu-branches/ubuntu/vivid/nqp/vivid

« back to all changes in this revision

Viewing changes to 3rdparty/dyncall/buildsys/gmake/tool/gcc.gmake

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2012-06-08 14:57:52 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120608145752-ziumy2rhxboeuf3r
Tags: 0.1~2012.04.1-1
* New upstream release
* Bump required parrot version
* Refresh patches
* Bump upstream copyright years for dyncall
* Use dh_parrot debhelper plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
# GNU Compiler Collection configuration
23
23
#//////////////////////////////////////////////////////////////////////////////
24
24
 
25
 
CC      ?= gcc
 
25
CC      = gcc
26
26
CXX     ?= g++
27
27
AR      ?= ar
28
28
AS      ?= as
45
45
 
46
46
# --- Assemble ----------------------------------------------------------------
47
47
 
 
48
$(BUILD_DIR)/%.o: %.S
 
49
        $(COMPILE.S) $(OUTPUT_OPTION) $<
 
50
 
48
51
$(BUILD_DIR)/%.o: %.s
49
52
        $(COMPILE.s) $(OUTPUT_OPTION) $<
50
53
 
51
 
$(BUILD_DIR)/%.o: %.S
52
 
        $(COMPILE.S) $(OUTPUT_OPTION) $<
53
 
 
54
54
#       auto-dependency: disabled, due to problems when including *.d files, see targets.gmake for details 
55
55
#       $(CC) -MM -MT $@ $(CPPFLAGS) $< > $(BUILD_DIR)/$*.d
56
56
 
98
98
 
99
99
# --- static library ----------------------------------------------------------
100
100
 
101
 
LIBTOOL_STATIC ?= $(RM) $@ ; $(AR) -rcs $@ $^ 
 
101
LIBTOOL_STATIC ?= $(AR) -rcs $@ $^ 
 
102
SLASH ?= /
102
103
 
103
104
$(BUILD_DIR)/%.a:
 
105
        $(RM) $(BUILD_DIR)$(SLASH)$(*F).a
104
106
        $(LIBTOOL_STATIC)
105
107
 
106
108
# --- dynamic library ---------------------------------------------------------