~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/modules/libreg/src/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# The contents of this file are subject to the Netscape Public
 
3
# License Version 1.1 (the "License"); you may not use this file
 
4
# except in compliance with the License. You may obtain a copy of
 
5
# the License at http://www.mozilla.org/NPL/
 
6
#
 
7
# Software distributed under the License is distributed on an "AS
 
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 
9
# implied. See the License for the specific language governing
 
10
# rights and limitations under the License.
 
11
#
 
12
# The Original Code is mozilla.org code.
 
13
#
 
14
# The Initial Developer of the Original Code is Netscape
 
15
# Communications Corporation.  Portions created by Netscape are
 
16
# Copyright (C) 1998 Netscape Communications Corporation. All
 
17
# Rights Reserved.
 
18
#
 
19
# Contributor(s): 
 
20
#
 
21
 
 
22
DEPTH           = ../../..
 
23
topsrcdir       = @top_srcdir@
 
24
srcdir          = @srcdir@
 
25
VPATH           = @srcdir@
 
26
 
 
27
include $(DEPTH)/config/autoconf.mk
 
28
include $(srcdir)/objs.mk
 
29
 
 
30
MODULE          = libreg
 
31
LIBRARY_NAME    = mozreg_s
 
32
 
 
33
# MacOSX requires the MoreFiles module
 
34
ifeq ($(OS_ARCH),Darwin)
 
35
REQUIRES = macmorefiles
 
36
endif
 
37
 
 
38
CSRCS           = $(MODULES_LIBREG_SRC_LCSRCS) nr_bufio.c
 
39
 
 
40
BIN_SRCS        = VerReg.c reg.c vr_stubs.c
 
41
PROGOBJS        = $(addprefix R_,$(BIN_SRCS:.c=.o))
 
42
 
 
43
# We don't want a shared lib.  Static lib only.
 
44
FORCE_STATIC_LIB = 1
 
45
 
 
46
# Force use of PIC
 
47
FORCE_USE_PIC   = 1
 
48
 
 
49
include $(topsrcdir)/config/config.mk
 
50
 
 
51
DEFINES         += -DUSE_BUFFERED_REGISTRY_IO   
 
52
# Memory mapped files are not supported under QNX, Neutrino, HP-UX and BeOS
 
53
#ifeq (,$(filter BeOS HP-UX QNX,$(OS_ARCH)))
 
54
#CSRCS          += mmapio.c
 
55
#DEFINES                += -DUSE_MMAP_REGISTRY_IO
 
56
#endif
 
57
 
 
58
include $(topsrcdir)/config/rules.mk
 
59
 
 
60
R_%.o: %.c
 
61
        $(CC) $(OUTOPTION)$@ -c $(COMPILE_CFLAGS) -DSTANDALONE_REGISTRY $<
 
62