source: packages/libs/libpam/patches/000-OE-libpam-xtests.patch @ 28316

Last change on this file since 28316 was 28316, checked in by acoul, 5 years ago

libs/libpam: update to version 1.1.4

File size: 942 bytes
  • xtests/Makefile.am

    This patch is used to create a new sub package libpam-xtests to do more checks.
    
    Upstream-Status: Pending
    
    Signed-off-by: Kang Kai <kai.kang@windriver.com>
    a b  
    77AM_LDFLAGS = -L$(top_builddir)/libpam -lpam \ 
    88        -L$(top_builddir)/libpam_misc -lpam_misc 
    99 
    10 CLEANFILES = *~ $(XTESTS) 
     10CLEANFILES = *~ 
    1111 
    1212EXTRA_DIST = run-xtests.sh tst-pam_dispatch1.pamd tst-pam_dispatch2.pamd \ 
    1313        tst-pam_dispatch3.pamd tst-pam_dispatch4.pamd \ 
     
    5151 
    5252xtests: $(XTESTS) run-xtests.sh 
    5353        "$(srcdir)"/run-xtests.sh "$(srcdir)" ${XTESTS} ${NOSRCTESTS} 
     54 
     55all: $(XTESTS) 
     56 
     57install: install_xtests 
     58 
     59install_xtests: 
     60        $(INSTALL) -d $(DESTDIR)$(pkgdatadir)/xtests 
     61        for file in $(EXTRA_DIST) ; do \ 
     62                $(INSTALL) $$file $(DESTDIR)$(pkgdatadir)/xtests ; \ 
     63        done 
     64        for file in $(XTESTS); do \ 
     65                $(INSTALL) .libs/$$file $(DESTDIR)$(pkgdatadir)/xtests ; \ 
     66        done 
     67 
     68.PHONY: all install_xtests 
Note: See TracBrowser for help on using the repository browser.