| Last change
 on this file since 2771 was             2, checked in by bird, 23 years ago | 
        
          | 
Initial revision
 | 
        
          | 
              
Property                 cvs2svn:cvs-rev
 set to                 1.1
Property                 svn:eol-style
 set to                 native
Property                 svn:executable
 set to                 * | 
        
          | File size:
            1.2 KB | 
      
      
| Line |  | 
|---|
| 1 | ## Process this file with automake to produce Makefile.in | 
|---|
| 2 |  | 
|---|
| 3 | AUTOMAKE_OPTIONS = no-dependencies foreign | 
|---|
| 4 |  | 
|---|
| 5 | INCLUDES = $(GCINCS) | 
|---|
| 6 |  | 
|---|
| 7 | if INSTALL_LTDL | 
|---|
| 8 | include_HEADERS = ltdl.h | 
|---|
| 9 | lib_LTLIBRARIES = libltdl.la | 
|---|
| 10 | else | 
|---|
| 11 | noinst_HEADERS = ltdl.h | 
|---|
| 12 | endif | 
|---|
| 13 |  | 
|---|
| 14 | if CONVENIENCE_LTDL | 
|---|
| 15 | noinst_LTLIBRARIES = libltdlc.la | 
|---|
| 16 | endif | 
|---|
| 17 |  | 
|---|
| 18 | libltdl_la_SOURCES = ltdl.c | 
|---|
| 19 | libltdl_la_LDFLAGS = -no-undefined -version-info 2:0:2 | 
|---|
| 20 | libltdl_la_LIBADD = $(LIBADD_DL) | 
|---|
| 21 |  | 
|---|
| 22 | libltdlc_la_SOURCES = ltdl.c | 
|---|
| 23 | libltdlc_la_LIBADD = $(LIBADD_DL) | 
|---|
| 24 |  | 
|---|
| 25 | ## Because we do not have automatic dependency tracking: | 
|---|
| 26 | ltdl.lo: ltdl.h config.h | 
|---|
| 27 |  | 
|---|
| 28 | $(OBJECTS): libtool | 
|---|
| 29 | libtool: $(LIBTOOL_DEPS) | 
|---|
| 30 | $(SHELL) ./config.status --recheck | 
|---|
| 31 |  | 
|---|
| 32 | ## This allows us to install libltdl without using ln and without creating | 
|---|
| 33 | ## a world writeable directory. | 
|---|
| 34 | ## FIXME:  Remove this rule once automake can do this properly by itself. | 
|---|
| 35 | local-install-files: $(DISTFILES) | 
|---|
| 36 | -rm -rf $(DESTDIR)$(datadir)/libtool/libltdl | 
|---|
| 37 | $(mkinstalldirs) $(DESTDIR)$(datadir)/libtool/libltdl | 
|---|
| 38 | @for file in $(DISTFILES); do \ | 
|---|
| 39 | d=$(srcdir); \ | 
|---|
| 40 | if test -d $$d/$$file; then \ | 
|---|
| 41 | cp -r $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file; \ | 
|---|
| 42 | else \ | 
|---|
| 43 | test -f $(DESTDIR)$(datadir)/libtool/libltdl/$$file \ | 
|---|
| 44 | || cp $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file || :; \ | 
|---|
| 45 | fi; \ | 
|---|
| 46 | done | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.