Sponsored Content
Top Forums Programming makefile for mix of C and C++ modules Post 302552362 by Corona688 on Friday 2nd of September 2011 02:32:51 PM
Old 09-02-2011
I don't know why it's doing that and can't see your computer from here Smilie Post what your Makefile looks like now please.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to grep mix of numbers and systemdate?

Hi Guys, i'm beginner in UNIX commands, need some help on this simple question: I need to make a shell script to move files to another directory, the criterias are : 1. the range of 4 last digit of the file name is 0100-0199 2. move all files that processed daily (let's say today is... (2 Replies)
Discussion started by: saltshaker
2 Replies

2. AIX

mix fc and tape devices

I have a problem with some partitions. In one of them I have this two fiber channel. lsdev -Cc adapter ent0 Available 03-08 10/100/1000 Base-TX PCI-X Adapter (14106902) fcs0 Available 04-08 FC Adapter fcs1 Available 05-08 FC Adapter ide0 Defined 07-08 ATA/IDE... (0 Replies)
Discussion started by: lo-lp-kl
0 Replies

3. UNIX for Advanced & Expert Users

Makefile problem - How to run module load in a Makefile

Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error: make: module: command not found Why is this? Is there any way to run this command in a Makefile? NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Discussion started by: hernandinho
2 Replies

4. Solaris

ZFS Pool Mix-up

Hi all I plan to install Solaris 10U6 on some SPARC server using ZFS as root pool, whereas I would like to keep the current setup done by VxVM: - 2 internal disks: c0t0d0 and c0t1d0 - bootable root-volume (mirrored, both disks) - 1 non-mirrored swap slice - 1 non-mirrored slices for Live... (1 Reply)
Discussion started by: blicki
1 Replies

5. Shell Programming and Scripting

How to mix the contents of 2 files into a new file?

Hello Everybody! My question is how can I mix for example file_a with file_b in the following method: After 2 lines of file_a put 2 lines from file_b to file_c. For example: file_a: 1 2 3 4 5 6 file_b: 11 22 (7 Replies)
Discussion started by: Levi85
7 Replies

6. Homework & Coursework Questions

Help with Simple Multi-Level Makefile (Extremely New at Makefile)

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Discussion started by: Tatl
1 Replies

7. Shell Programming and Scripting

how to create custom modules in perl and how to import all modules with single command?

I have some custom functions which i want to use in perl Scripting all time. i want to How to create modules in perl and how to import them. Also if i create 15 modules and i want to > import all at once then how can i import? (0 Replies)
Discussion started by: Navrattan Bansa
0 Replies

8. Shell Programming and Scripting

Makefile Mix for C and C++

Hi everyone, I'm new in this forum. I hope you could help me with this code. I'm trying to include in an ANSI C project, some (OpenCV) libraries made in C++. When I included those libraries, the compiler threw the following error: ardrone_testing_tool.c: (.text+0x1212) : undefined reference... (4 Replies)
Discussion started by: hfbrando
4 Replies

9. AIX

Mix LDAP and LOCAL user on AIX

Hello, I'm currently trying to mix local and LDAP users on an AIX 7.1. I've triied many things. My LDAP Server in on a CentOS - OpenLDAP (which works fine with linux). I'm currently stuck on AIX at how to declare LDAP AND Local users. Here's what i did : /usr/sbin/mksecldap -c -h 'ldap03'... (15 Replies)
Discussion started by: AIX_user_324891
15 Replies
Module::Package::Plugin(3pm)				User Contributed Perl Documentation			      Module::Package::Plugin(3pm)

SYNOPSIS
package Module::Package::Name; package Module::Package::Name::flavor; use Moo; extends 'Module::Package::Plugin'; sub main { my ($self) = @_; $self->mi->some_module_install_author_plugin; $self->mi->other_author_plugin; } 1; DESCRIPTION
This module is the base class for Module::Package plugins. EXAMPLE
Take a look at the Module::Package::Ingy module, for a decent starting point example. That plugin module is actually used to package Module::Package itself. API
To create a Module::Package plugin you need to subclass Module::Package::Plugin and override the "main" method, and possibly other things. This section describes how that works. Makefile.PL processing happens in the following order: - 'use inc::Module::Package...' is invoked - $plugin->initial is called - BEGIN blocks in Makefile.PL are run - $plugin->main is called - The body of Makefile.PL is run - $plugin->final is called initial This method is call during the processing of 'use inc::Module::Package'. You probably don't need to subclass it. If you do you probably want to call the SUPER method. It runs the deps_list, if any and guesses the primary modules file path. main This is the method you must override. Do all the things you want. You can call "all_from", if you need to get sequencing right, otherwise it gets called by final(). Don't call "WriteAll", it get's called automatically in final(). final This does all the things after the entire Makefile.PL body has run. You probably don't need to override it. OPTIONS
The following options are available for use from the Makefile.PL: use Module::Package 'Foo:bar', deps_list => 0|1, install_bin => 0|1, install_share => 0|1, manifest_skip => 0|1, requires_from => 0|1; These options can be used by any subclass of this module. deps_list Default is 1. This option tells Module::Package to generate a "author_requires" deps list, when you run the Makefile.PL. This list will go in the file "pkg/deps_list.pl" if that exists, or after a '__END__' statement in your Makefile.PL. If neither is available, a reminder will be warned (only when the author runs it). This list is important if you want people to be able to collaborate on your modules easily. install_bin Default is 1. All files in a "bin/" directory will be installed. It will call the "install_script" plugin for you. Set this option to 0 to disable it. install_share Default is 1. All files in a "share/" directory will be installed. It will call the "install_share" plugin for you. Set this option to 0 to disable it. manifest_skip Default is 1. This option will generate a sane MANIFEST.SKIP for you and delete it again when you run "make clean". You can add your own skips in the file called "pkg/manifest.skip". You almost certainly want this option on. Set to 0 if you are weird. requires_from Default is 1. This option will attempt to find all the requirements from the primary module. If you make any of your own requires or requires_from calls, this option will do nothing. perl v5.14.2 2011-10-06 Module::Package::Plugin(3pm)
All times are GMT -4. The time now is 05:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy