~ubuntu-branches/ubuntu/breezy/devmapper/breezy

« back to all changes in this revision

Viewing changes to make.tmpl.in

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-07-07 16:40:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050707164017-xlkhemut9i756da6
Tags: 2:1.01.03-1ubuntu2
debian/libdevmapper1.01.preinst: Fix removal of the old init script to
avoid update-rc.d error messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
CLDFLAGS += @CLDFLAGS@
29
29
LDDEPS += @LDDEPS@
30
30
LDFLAGS += @LDFLAGS@
31
 
SOFLAG += @SOFLAG@
 
31
LIB_SUFFIX = @LIB_SUFFIX@
32
32
 
33
33
# Setup directory variables
34
34
prefix = @prefix@
54
54
MAKEFLAGS = @JOBS@
55
55
endif
56
56
 
57
 
SUFFIXES = .c .d .o .so .a .po .pot .mo
 
57
.SUFFIXES: .c .d .o .so .a .po .pot .mo .dylib
58
58
 
59
59
CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline
60
60
 
76
76
  CFLAGS += -DDM_COMPAT
77
77
endif
78
78
 
 
79
ifeq ("@DMIOCTLS@", "yes")
 
80
  CFLAGS += -DDM_IOCTLS
 
81
endif
 
82
 
79
83
#CFLAGS += -pg
80
84
#LDFLAGS += -pg
81
85
 
148
152
%.so: %.o
149
153
        $(CC) -c $(INCLUDES) $(CFLAGS) $< -o $@
150
154
 
151
 
$(LIB_SHARED): $(OBJECTS) $(LDDEPS)
152
 
        $(CC) $(SOFLAG) -Wl,-soname,$(notdir $@).$(LIB_VERSION) \
153
 
        $(CLDFLAGS) $(OBJECTS) $(LIBS) -o $@
 
155
ifeq ("@LIB_SUFFIX@","so")
 
156
$(LIB_SHARED): $(OBJECTS) $(LDDEPS)
 
157
        $(CC) -shared -Wl,-soname,$(notdir $@).$(LIB_VERSION) \
 
158
        $(CLDFLAGS) $(OBJECTS) $(LIBS) -o $@
 
159
endif
 
160
 
 
161
ifeq ("@LIB_SUFFIX@","dylib")
 
162
$(LIB_SHARED): $(OBJECTS) $(LDDEPS)
 
163
        $(CC) -dynamiclib -dylib_current_version,$(LIB_VERSION) \
 
164
        $(CLDFLAGS) $(OBJECTS) $(LIBS) -o $@
 
165
endif
154
166
 
155
167
$(LIB_STATIC): $(OBJECTS)
156
168
        $(RM) $@