Ignore:
Timestamp:
May 8, 2010 9:54:35 AM (10 years ago)
Author:
stefan
Message:

copy over pkg-config setup and making thirdparty projects installable projects from split branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/trunk/Makefile.am

    r1411 r1548  
    1717libampl   = $(AMPLSOLVER_A)
    1818
    19 if SKIPMAKE
    20   alltargets =
    21 else
    22   alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
    23 endif
     19alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
    2420
    2521all-local: $(alltargets)
     
    3531stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl)
    3632
    37 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
     33thirdpartyincludedir = $(includedir)/coin/ThirdParty
     34thirdpartyinclude_HEADERS = \
     35  solvers/asl.h solvers/asl_pfg.h solvers/asl_pfgh.h solvers/psinfo.h solvers/funcadd.h \
     36  solvers/nlp.h solvers/nlp2.h solvers/getstub.h solvers/opcode.hd solvers/r_opn.hd \
     37  stdio1.h arith.h
     38
     39thirdpartylibdir = $(libdir)/coin/ThirdParty
     40thirdpartylib_DATA = $(libampl)
     41
     42if COIN_HAS_PKGCONFIG
     43addlibsdir = $(datadir)/coin/doc/ThirdParty/ASL
     44addlibs_DATA = asl_addlibs.txt
     45
     46asl_addlibs.txt : coinasl.pc
     47        PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ $(PKG_CONFIG) --libs coinasl > asl_addlibs.txt
     48endif
     49
     50pkgconfiglibdir = $(libdir)/pkgconfig
     51pkgconfiglib_DATA = coinasl.pc
     52
     53CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) asl_addlibs.txt
    3854
    3955########################################################################
Note: See TracChangeset for help on using the changeset viewer.