~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to Makefile.rules

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-12-08 14:59:50 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208145950-u1tykhpw56nyzqik
Tags: 5.4.1~dfsg-4ubuntu1
* Merge from debian unstable.
* Remaining Ubuntu changes:
  - Remove stop links from rc0 and rc6
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - Symlink common files between the packages, CDBS ought to handle that
    for us automatically.
* The latest Debian changes has dropped history from the changelog. Slot in
  the Ubuntu changes as best I can. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
# the standard items to build: libraries, bins, and sbins
10
10
STANDARDTARGETS     =$(INSTALLLIBS) $(INSTALLBINPROGS) $(INSTALLSBINPROGS)
11
 
STANDARDCLEANTARGETS=$(INSTALLLIBS) $(INSTALLBINPROGS) $(INSTALLSBINPROGS) $(INSTALLUCDLIBS)
 
11
STANDARDCLEANTARGETS=$(INSTALLLIBS) $(INSTALLPOSTLIBS) $(INSTALLBINPROGS) $(INSTALLSBINPROGS) $(INSTALLUCDLIBS)
12
12
 
13
13
standardall: subdirs $(STANDARDTARGETS)
14
14
 
161
161
#
162
162
# set INSTALLLIBS to a list of things to install in each makefile.
163
163
#
164
 
installlibs: installlocallibs @installucdlibs@ installsubdirlibs
 
164
installlibs: installlocallibs @installucdlibs@ installsubdirlibs installpostlibs
165
165
 
166
166
installlocallibs: $(INSTALLLIBS)
167
167
        @if test "$(INSTALLLIBS)" != ""; then \
175
175
                $(LIB_LDCONFIG_CMD) ; \
176
176
        fi
177
177
 
 
178
installpostlibs: $(INSTALLPOSTLIBS)
 
179
        @if test "$(INSTALLPOSTLIBS)" != ""; then \
 
180
                it="$(INSTALLPOSTLIBS)" ; \
 
181
                $(SHELL) $(top_srcdir)/mkinstalldirs $(INSTALL_PREFIX)$(libdir) ; \
 
182
                $(INSTALL) $(INSTALLPOSTLIBS) $(INSTALL_PREFIX)$(libdir) ; \
 
183
                for i in $$it ; do \
 
184
                        echo "installing $$i in $(INSTALL_PREFIX)$(libdir)"; \
 
185
                        $(RANLIB) $(INSTALL_PREFIX)$(libdir)/$$i ; \
 
186
                done ; \
 
187
                $(LIB_LDCONFIG_CMD) ; \
 
188
        fi
 
189
 
178
190
installucdlibs: $(INSTALLUCDLIBS)
179
191
        @if test "$(INSTALLUCDLIBS)" != ""; then \
180
192
                it="$(INSTALLUCDLIBS)" ; \
315
327
# cleaning targets
316
328
#
317
329
clean: cleansubdirs $(OTHERCLEANTODOS)
318
 
        rm -f core ${OBJS} ${LOBJS} $(STANDARDCLEANTARGETS) $(OTHERCLEANTARGETS)
319
 
        rm -rf .libs
 
330
        $(LIBTOOLCLEAN) ${OBJS} ${LOBJS} core $(STANDARDCLEANTARGETS) $(OTHERCLEANTARGETS)
320
331
 
321
332
cleansubdirs:
322
333
        @if test "$(SUBDIRS)" != ""; then \