In the base dir, change the files

Makefile.am and configure.in

make the new subdir and copy a Makefile.am from a different subdir (not from the main dir!!!). Edit the file. Add the files blubctrl.c and blub_lib.c/.h Add a Makefile.am from a different sub-module and change it

go to the base dir:

autoconf automake

CPPFLAGS="-I/home/hadaq/beamtimes/apr07/i686-pc-linux-gnu/include" LDFLAGS="-L/home/hadaq/beamtimes/apr07/i686-pc-linux-gnu/lib" ./configure --prefix=/home/hadaq/beamtimes/apr07/i686-pc-linux-gnu/

make

make install

-- IngoFroehlich - 21 Jun 2007

This topic: DaqSlowControl > SoftwareDevelopment > HowtoAddNewModule
Topic revision: 2009-03-25, SergeyYurevich
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki Send feedback | Imprint | Privacy Policy (in German)