Changeset 3923
- Timestamp:
- May 13, 2005, 10:53:11 AM (21 years ago)
- Location:
- trunk/psLib/swig
- Files:
-
- 2 edited
-
Makefile.PL (modified) (1 diff)
-
Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/swig/Makefile.PL
r3874 r3923 31 31 'LIBS' => ["$opts{ldflags}"], # Name of custom libraries 32 32 '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) 34 34 'LD' => $opts{ld} 35 35 ); -
trunk/psLib/swig/Makefile.am
r3684 r3923 17 17 18 18 #################################################### 19 ## PsLibModule swig build section. 19 ## PsLibModule swig build section. 20 20 21 psLibModule: 22 mkdir psLibModule 23 24 psLibModule/Makefile.PL: psLibModule 21 psLibModule/Makefile.PL: 22 if [! -d psLibModule]; then mkdir psLibModule; fi 25 23 cp -f $(srcdir)/Makefile.PL psLibModule/Makefile.PL 26 24 27 psLibModule/setup.txt:psLibModule Makefile 25 psLibModule/setup.txt: 26 if [! -d psLibModule]; then mkdir psLibModule; fi 28 27 echo "includes=$(INCLUDES)" > psLibModule/setup.txt 29 28 echo "ldflags=-L$(top_builddir)/src $(PSLIB_LIBS)" >> psLibModule/setup.txt 30 29 echo "cflags=$(CFLAGS) -std=c99 -Wno-unused -Wno-strict-aliasing" >> psLibModule/setup.txt 31 30 32 psLibModule/pslib_wrap.c: psLibModule pslib.i 33 $(SWIG) -perl $(INCLUDES) -w451 -o $@ $(srcdir)/pslib.i 31 psLibModule/pslib_wrap.c: $(srcdir)/pslib.i 32 if [! -d psLibModule]; then mkdir psLibModule; fi 33 $(SWIG) -perl $(INCLUDES) -w451 -o $@ $(srcdir)/pslib.i 34 34 35 psLibModule/Makefile:psLibModule psLibModule/Makefile.PL psLibModule/setup.txt35 psLibModule/Makefile:psLibModule/Makefile.PL psLibModule/setup.txt 36 36 cd psLibModule && $(PERL) Makefile.PL PREFIX=$(PERL_PREFIX) 37 37 38 all: psLibModule psLibModule/pslib_wrap.c psLibModule/setup.txt psLibModule/Makefile.PL38 all: swig 39 39 40 swig: allpsLibModule/Makefile40 swig: psLibModule/pslib_wrap.c psLibModule/setup.txt psLibModule/Makefile 41 41 cd psLibModule && make 42 42
Note:
See TracChangeset
for help on using the changeset viewer.
