~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to erts/lib_src/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
2
# %CopyrightBegin%
3
 
4
 
# Copyright Ericsson AB 2004-2009. All Rights Reserved.
5
 
 
3
#
 
4
# Copyright Ericsson AB 2004-2010. All Rights Reserved.
 
5
#
6
6
# The contents of this file are subject to the Erlang Public License,
7
7
# Version 1.1, (the "License"); you may not use this file except in
8
8
# compliance with the License. You should have received a copy of the
9
9
# Erlang Public License along with this software. If not, it can be
10
10
# retrieved online at http://www.erlang.org/.
11
 
 
11
#
12
12
# Software distributed under the License is distributed on an "AS IS"
13
13
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
14
# the License for the specific language governing rights and limitations
15
15
# under the License.
16
 
 
16
#
17
17
# %CopyrightEnd%
18
18
#
19
19
 
280
280
#
281
281
# ethread library
282
282
#
 
283
ETHR_THR_LIB_BASE_DIR=@ETHR_THR_LIB_BASE_DIR@
283
284
ifneq ($(strip $(ETHR_LIB_NAME)),)
284
 
ETHREAD_LIB_SRC=common/ethread.c
 
285
ETHREAD_LIB_SRC=common/ethr_aux.c \
 
286
                common/ethr_atomics.c \
 
287
                common/ethr_mutex.c \
 
288
                common/ethr_cbf.c \
 
289
                $(ETHR_THR_LIB_BASE_DIR)/ethread.c \
 
290
                $(ETHR_THR_LIB_BASE_DIR)/ethr_event.c
285
291
ETHREAD_LIB_NAME=ethread$(TYPE_SUFFIX)
286
292
 
287
293
ifeq ($(USING_VC),yes)
376
382
# Object files
377
383
#
378
384
 
 
385
ifeq ($(TYPE)-@GCC@,debug-yes)
 
386
$(r_OBJ_DIR)/ethr_aux.o: common/ethr_aux.c
 
387
        $(CC) $(THR_DEFS) $(CFLAGS) -Wno-unused-function $(INCLUDES) -c $< -o $@
 
388
endif
 
389
 
379
390
$(r_OBJ_DIR)/%.o: common/%.c
380
391
        $(CC) $(THR_DEFS) $(CFLAGS) $(INCLUDES) -c $< -o $@
381
392
 
382
 
$(r_OBJ_DIR)/%.o: $(ERLANG_OSTYPE)/%.c
 
393
$(r_OBJ_DIR)/%.o: $(ETHR_THR_LIB_BASE_DIR)/%.c
383
394
        $(CC) $(THR_DEFS) $(CFLAGS) $(INCLUDES) -c $< -o $@
384
395
 
385
396
$(OBJ_DIR)/%.o: common/%.c
386
397
        $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
387
398
 
388
 
$(OBJ_DIR)/%.o: $(ERLANG_OSTYPE)/%.c
 
399
$(OBJ_DIR)/%.o: $(ETHR_THR_LIB_BASE_DIR)/%.c
389
400
        $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
390
401
 
391
402
# Win32 specific
393
404
$(MD_OBJ_DIR)/%.o: common/%.c
394
405
        $(CC) $(THR_DEFS) $(CFLAGS) -MD $(INCLUDES) -c $< -o $@
395
406
 
396
 
$(MD_OBJ_DIR)/%.o: $(ERLANG_OSTYPE)/%.c
 
407
$(MD_OBJ_DIR)/%.o: $(ETHR_THR_LIB_BASE_DIR)/%.c
397
408
        $(CC) $(THR_DEFS) $(CFLAGS) -MD $(INCLUDES) -c $< -o $@
398
409
 
399
410
$(MDd_OBJ_DIR)/%.o: common/%.c
400
411
        $(CC) $(THR_DEFS) $(CFLAGS) -MDd $(INCLUDES) -c $< -o $@
401
412
 
402
 
$(MDd_OBJ_DIR)/%.o: $(ERLANG_OSTYPE)/%.c
 
413
$(MDd_OBJ_DIR)/%.o: $(ETHR_THR_LIB_BASE_DIR)/%.c
403
414
        $(CC) $(THR_DEFS) $(CFLAGS) -MDd $(INCLUDES) -c $< -o $@
404
415
 
405
416
$(MT_OBJ_DIR)/%.o: common/%.c
406
417
        $(CC) $(THR_DEFS) $(CFLAGS) -MT $(INCLUDES) -c $< -o $@
407
418
 
408
 
$(MT_OBJ_DIR)/%.o: $(ERLANG_OSTYPE)/%.c
 
419
$(MT_OBJ_DIR)/%.o: $(ETHR_THR_LIB_BASE_DIR)/%.c
409
420
        $(CC) $(THR_DEFS) $(CFLAGS) -MT $(INCLUDES) -c $< -o $@
410
421
 
411
422
$(MTd_OBJ_DIR)/%.o: common/%.c
412
423
        $(CC) $(THR_DEFS) $(CFLAGS) -MTd $(INCLUDES) -c $< -o $@
413
424
 
414
 
$(MTd_OBJ_DIR)/%.o: $(ERLANG_OSTYPE)/%.c
 
425
$(MTd_OBJ_DIR)/%.o: $(ETHR_THR_LIB_BASE_DIR)/%.c
415
426
        $(CC) $(THR_DEFS) $(CFLAGS) -MTd $(INCLUDES) -c $< -o $@
416
427
 
417
428
#
438
449
INTERNAL_RELEASE_INCLUDES= \
439
450
        $(ERTS_INCL_INT)/README \
440
451
        $(ERTS_INCL_INT)/ethread.h \
 
452
        $(ERTS_INCL_INT)/ethr_mutex.h \
 
453
        $(ERTS_INCL_INT)/ethr_optimized_fallbacks.h \
 
454
        $(ERTS_INCL_INT)/ethr_atomics.h \
441
455
        $(ERTS_INCL_INT)/$(TARGET)/ethread.mk \
442
456
        $(ERTS_INCL_INT)/$(TARGET)/erts_internal.mk \
443
457
        $(ERTS_INCL_INT)/$(TARGET)/ethread_header_config.h \
447
461
        $(ERTS_INCL_INT)/erl_misc_utils.h \
448
462
        $(ERTS_INCL_INT)/erl_errno.h
449
463
 
450
 
INTERNAL_X_RELEASE_INCLUDE_DIRS= i386 x86_64 ppc32 sparc32 sparc64 tile
 
464
INTERNAL_X_RELEASE_INCLUDE_DIRS= \
 
465
        i386 x86_64 ppc32 sparc32 sparc64 tile gcc pthread win libatomic_ops
451
466
 
452
467
INTERNAL_RELEASE_LIBS= \
453
468
        ../lib/internal/README \
483
498
        $(INSTALL_DATA) $(INTERNAL_RELEASE_LIBS) $(RELSYSDIR)/lib/internal
484
499
endif
485
500
 
 
501
docs: 
 
502
 
486
503
release_docs_spec:
487
504
 
488
505