File:  [LON-CAPA] / loncom / homework / caparesponse / Makefile.PL
Revision 1.5: download - view: text, annotated - select for diffs
Tue Sep 26 19:29:07 2000 UTC (23 years, 7 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
adding a file suffix extension (lcpm=loncapa perl module; invented by Mr. Guy, submitted to CVS in the year 2000... wow, it's historic) -Scott

# File : Makefile.pl
# MakeMaker file for a SWIG module.  Use this file if you are
# producing a module for general use or distribution.
#
# 1.  Modify the file as appropriate. Replace $module with the
#     real name of your module and wrapper file.
# 2.  Run perl as 'perl Makefile.pl'
# 3.  Type 'make' to build your module
# 4.  Type 'make install' to install your module.
#
# See "Programming Perl", 2nd. Ed, for more gory details than
# you ever wanted to know.
 
$capadir = "/home/harris41/LON-CAPA-topdir_for_build/SOURCES/CAPA";

use ExtUtils::MakeMaker;
WriteMakefile(
     'NAME' => 'capa',            # Name of your module
     'INC' => "-I$capadir/pProj",
     'LIBS' => [''],                 # Custom libraries (if any)
     'DEFINE' => '-g -Wall -O0 -D_GNU_SOURCE',
     'OBJECT' => 'capa_wrap.o caparesponse.o capaFunctions/*.o'    # Object files
);     

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>