IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3923


Ignore:
Timestamp:
May 13, 2005, 10:53:11 AM (21 years ago)
Author:
desonia
Message:

pushed to compiling from the install to all target.

Location:
trunk/psLib/swig
Files:
2 edited

Legend:

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

    r3874 r3923  
    3131        'LIBS' => ["$opts{ldflags}"],  # Name of custom libraries
    3232        'OBJECT' => 'pslib_wrap.o',    # Name of object
    33         'OPTIMIZE' => "$opts{cflags} -w -D_XOPEN_SOURCE=500", # cflags with disabling of warnings (SWIG generated code generates warnings)
     33        'OPTIMIZE' => "$opts{cflags} -w", # cflags with disabling of warnings (SWIG generated code generates warnings)
    3434        'LD' => $opts{ld}
    3535);
  • trunk/psLib/swig/Makefile.am

    r3684 r3923  
    1717
    1818####################################################
    19 ## PsLibModule swig build section. 
     19## PsLibModule swig build section.
    2020
    21 psLibModule:
    22         mkdir psLibModule
    23 
    24 psLibModule/Makefile.PL: psLibModule
     21psLibModule/Makefile.PL:
     22        if [! -d psLibModule]; then mkdir psLibModule; fi
    2523        cp -f $(srcdir)/Makefile.PL psLibModule/Makefile.PL
    2624
    27 psLibModule/setup.txt:psLibModule Makefile
     25psLibModule/setup.txt:
     26        if [! -d psLibModule]; then mkdir psLibModule; fi
    2827        echo "includes=$(INCLUDES)" > psLibModule/setup.txt
    2928        echo "ldflags=-L$(top_builddir)/src $(PSLIB_LIBS)" >> psLibModule/setup.txt
    3029        echo "cflags=$(CFLAGS) -std=c99 -Wno-unused -Wno-strict-aliasing" >> psLibModule/setup.txt
    3130
    32 psLibModule/pslib_wrap.c: psLibModule pslib.i
    33         $(SWIG) -perl $(INCLUDES) -w451 -o $@ $(srcdir)/pslib.i
     31psLibModule/pslib_wrap.c: $(srcdir)/pslib.i
     32        if [! -d psLibModule]; then mkdir psLibModule; fi
     33        $(SWIG) -perl $(INCLUDES) -w451 -o $@ $(srcdir)/pslib.i
    3434
    35 psLibModule/Makefile:psLibModule psLibModule/Makefile.PL psLibModule/setup.txt
     35psLibModule/Makefile:psLibModule/Makefile.PL psLibModule/setup.txt
    3636        cd psLibModule && $(PERL) Makefile.PL PREFIX=$(PERL_PREFIX)
    3737
    38 all: psLibModule psLibModule/pslib_wrap.c psLibModule/setup.txt psLibModule/Makefile.PL
     38all: swig
    3939
    40 swig: all psLibModule/Makefile
     40swig: psLibModule/pslib_wrap.c psLibModule/setup.txt psLibModule/Makefile
    4141        cd psLibModule && make
    4242
Note: See TracChangeset for help on using the changeset viewer.