IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 8, 2005, 5:02:06 PM (21 years ago)
Author:
desonia
Message:

Bug 515

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/swig/Makefile.am

    r4541 r4981  
    55        rm -rf psLibModule
    66
    7 SRCDIR = $(shell cd $(top_srcdir) && pwd)
     7# this is going into a make file one directory deeper in the tree so the
     8# realitive paths need to be adjusted
     9SWIGINC=`echo "${SRCINC}" | ${SED} "s|-I|-I../|g"`
    810
    911####################################################
     
    1820psLibModule/setup.txt:
    1921        if [ ! -d psLibModule ]; then mkdir psLibModule; fi
    20         echo "includes=$(SRCINC)" > psLibModule/setup.txt
     22        echo "includes=-I../$(top_srcdir)/src $(SWIGINC) $(PSLIB_CFLAGS)" > psLibModule/setup.txt
    2123        echo "ldflags=-L$(top_builddir)/src $(PSLIB_LIBS)" >> psLibModule/setup.txt
    2224        echo "cflags=$(CFLAGS) -std=c99 -Wno-unused -Wno-strict-aliasing" >> psLibModule/setup.txt
Note: See TracChangeset for help on using the changeset viewer.