aboutsummaryrefslogtreecommitdiffstats
path: root/USER/Makefile.PL
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2003-03-27 10:45:15 +0000
committerDaouda Lo <daouda@mandriva.com>2003-03-27 10:45:15 +0000
commit8416e79c2dffd4e674171315496a423a1b4729b0 (patch)
treefe99d778db967db32d6d79b5219e1ed4ab87eae6 /USER/Makefile.PL
parent98ed550feb087d2dcc388ba7693b58b127e6eb3d (diff)
downloaduserdrake-8416e79c2dffd4e674171315496a423a1b4729b0.tar
userdrake-8416e79c2dffd4e674171315496a423a1b4729b0.tar.gz
userdrake-8416e79c2dffd4e674171315496a423a1b4729b0.tar.bz2
userdrake-8416e79c2dffd4e674171315496a423a1b4729b0.tar.xz
userdrake-8416e79c2dffd4e674171315496a423a1b4729b0.zip
- add library files
Diffstat (limited to 'USER/Makefile.PL')
-rw-r--r--USER/Makefile.PL15
1 files changed, 15 insertions, 0 deletions
diff --git a/USER/Makefile.PL b/USER/Makefile.PL
new file mode 100644
index 0000000..fd29950
--- /dev/null
+++ b/USER/Makefile.PL
@@ -0,0 +1,15 @@
+use ExtUtils::MakeMaker;
+$Verbose=1;
+# See lib/ExtUtils/MakeMaker.pm for details of how to influence
+# the contents of the Makefile that is written.
+WriteMakefile(
+ 'NAME' => 'USER',
+# 'OPTIMIZE' => '-O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -ffast-math -fexpensive-optimizations',
+ 'VERSION_FROM' => 'USER.pm',
+ 'OBJECT' => 'USER.o', # link all the C files too
+ 'LIBS' => ['-llibuser -lgmodule-2.0 -lglib-2.0 -lcrypt'], # e.g., '-lm'
+ 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
+ 'INC' => '-I/usr/include/libuser -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include', # e.g., '-I. -I/usr/include/other'
+ 'XSPROTOARG' => '-noprototypes',
+ 'TYPEMAPS' => ['../perlobject.map' ],
+);