Programming Wiki: GNUAutotools

Programming Wiki : GNUAutotools

WikiHomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2007-07-05 13:02:03 by MarkEdgar [revert accidental(?) deletion]

Additions:
- Using Automake and Autoconf with C++

Deletions:
- Using Automake and Autoconf with C



Edited on 2007-06-30 16:18:23 by DknIts

Additions:
- Using Automake and Autoconf with C

Deletions:
- Using Automake and Autoconf with C++



Edited on 2006-01-06 23:10:53 by ScottRippee

Additions:
- Basic Autotools - short example to get started



Edited on 2005-10-29 23:29:03 by ScottRippee

Additions:
Example of Makefile that invokes rpcgen
GNU Build System has two goals:
  1. "To simplify the development of portable programs. "
  2. "To simplify the building of programs that are distributed as source code."
Links:
Examples of my files for project (modified to hide project details):
configure.in:
AC_INIT(acinclude.m4) dnl a source file from your sub dir
AC_CANONICAL_SYSTEM 
dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(SoftwareName,Version)
AC_PREFIX_DEFAULT(/usr/local)
if test "x$prefix" = "xNONE"; then
  prefix=$ac_default_prefix
  ac_configure_args="$ac_configure_args --prefix $prefix"
fi
dnl generate the config header
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
dnl Checks for programs.
AC_CHECK_COMPILERS
dnl allows building code in sub-directories into temporary libraries.
AC_PROG_RANLIB
dnl converted AC_OUTPUT to this method for newer versions (2.59) of autoconf
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ src/Makefile ])
AC_CONFIG_FILES([ src/toolkit/Makefile ])
.
.
.
AC_OUTPUT
if test "$all_tests" = "bad"; then
  if test ! "$cache_file" = "/dev/null"; then
	echo ""    
	echo "Please remove the file $cache_file after changing your setup"
	echo "so that configure will find the changes next time."
	echo ""
  fi
else
  echo ""
  echo "Good - your configure finished. Start make now"
  echo ""
fi

Makefile.am examples:
Top level Makefile.am mostly used to point to the subdirectories that have makefile.ams unless there is also code that needs to be built in your base directory.
SUBDIRS = src
EXTRA_DIST = admin AUTHORS COPYING ChangeLog INSTALL README TODO data scripts nets temp

I'm not sure what EXTRA_DIST is for but I think it is files that don't pertain to the make
For a directory where we build an executable: Makefile.am:
bin_PROGRAMS = myexec
myexec_SOURCES = students.cxx read.cxx something.cxx main.cxx ensemble.cxx cc.cxx ada.cxx timer.cxx distributed.cpp
SUBDIRS = @myexec_subdirs@
#we also need to adjust the required libraries based on configure options
#example of var set in the admin/ for configured libaries and directly including the libppclient.a lib
myexec_LDADD   = @myexec_libraries@ pp_client/libppclient.a
# set the include path for X, qt and KDE
INCLUDES= $(all_includes)
# the library search path. 
myexec_LDFLAGS = $(all_libraries) 
# them while "make clean", use CLEANFILES
DISTCLEANFILES = $(myexec_METASOURCES)

#Example where I needed to build an executable and a library: Makefile.am:
bin_PROGRAMS = pp_client
noinst_LIBRARIES = libppclient.a
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
pp_client_METASOURCES = AUTO
libppclient_a_METASOURCES = AUTO
pp_client_SOURCES = pp_clnt.cxx pp_xdr.cxx pptrain.cxx pp_client.cxx
libppclient_a_SOURCES = pp_clnt.cxx pp_xdr.cxx pptrain.cxx pp_client.cxx
#we also need to adjust the required libraries based on configure options
#pp_client_LDADD   = @nnes_libraries@
#but I didn't,  I directly set the LDADDs.  Probably should have modified the acinclude.m4.in in admin/
pp_client_LDADD	   = ../cascade/libcascade.a ../cascade/parse/libparse.a ../cascade/toolkit/libtoolkit.a
# the library search path. 
#added my own libaries here also..  -lnsl got threads working on solaris
pp_client_LDFLAGS = $(all_libraries) -lpthread -lnsl
# them while "make clean", use CLEANFILES
DISTCLEANFILES = $(myexec_METASOURCES)

Now need to rebuild Makefiles and configure script. This will need to be done each time a Makefile.am or configure.in are changed. Its easiest to make a script to do this. As stated in one of the links above create a script called rconf.
rconf:
#!/bin/sh
rm -f config.cache
rm -f acconfig.h
aclocal -I m4
autoconf
autoheader
automake -a


Deletions:
!'[http://generic-viagra.land.ru/ | Generic viagra online] !'
!'[http://cheap-phentermine.hotmail.ru/ | buy phentermine cheap phentermine online] !'
!'[http://best-phentermine.hotmail.ru/ | buy cheap phentermine online] !'
!'[http://fha_mortgage.chat.ru/ | buy cheap phentermine online] !'
!'[http://ticket1_broker.chat.ru/ | Ticket Broker] !'
!'[http://buy_phent.chat.ru/ | buy adipex phentermine] !'
!'[http://cheap--viagra.fromru.com/ | Cheap viagra] !'!
!'[http://united-airline.boom.ru/ | United Airlines tickets flights] !'!
!'[http://computer-desk.fromru.com/ | Computer desk] !'!
[http://online1degree.chat.ru/ | Online degree]
[http://camel-cig.newmail.ru | Cheap camel cigarettes]
[http://marlb-cigarette.newmail.ru | marlboro cigarettes]
[http://gift_basket.chat.ru/ | Gift basket]
[http://find-tires.com/ | Best Tires]
[http://gift_subscription.chat.ru/ | gift subscription]
[http://gift_subscriptio.chat.ru/ | gift subscription]
[http://online_gift.chat.ru/ | online gift]
[http://bridal_gift.chat.ru/ | bridal gift]
[http://corpor_gift_idea.chat.ru/ | corporate gift idea]
[http://gift_box.chat.ru/ | gift box]
[http://christmas_gift_b.chat.ru/ | christmas gift basket]
[http://romantic2_gift.chat.ru/ | romantic gift]
[http://teacher_gift.chat.ru/ | teacher gift]
[http://dog2_gift.chat.ru/ | dog gift]
[http://executive_gift.chat.ru/ | executive gift]
[http://gourmet_gift_bas.chat.ru/ | gourmet gift basket]
[http://personaliz_gift.chat.ru/ | personalized gift]
[http://corporat_gift_ba.chat.ru/ | corporate gift basket]
[http://baby2_gift_baske.chat.ru/ | baby gift basket]
[http://wedding2_gift.chat.ru/ | wedding gift]
[http://food_gift_basket.chat.ru/ | food gift basket]
[http://gift2_basket.chat.ru/ | gift basket]
[http://gardening_gift.chat.ru/ | gardening gift]
[http://golf_gift.chat.ru/ | golf gift]
[http://bridesmaid_gift.chat.ru/ | bridesmaid gift]
[http://cat_lover_giftat.chat.ru/ | cat lover gift]
[http://dog_lover_gift.chat.ru/ | dog lover gift]
[http://spencers_gift.chat.ru/ | spencers gift]
[http://holiday_gift_bas.chat.ru/ | holiday gift basket]
[http://horse_gift.chat.ru/ | horse gift]
[http://pet_lover_gift.chat.ru/ | pet lover gift]
[http://chocolate_gift.chat.ru/ | chocolate gift]
[http://christmas_gift_i.chat.ru/ | christmas gift idea]
[http://wholesale_gift.chat.ru/ | wholesale gift]
[http://free_gift.chat.ru/ | free gift]
[http://groomsmen_gift.chat.ru/ | groomsmen gift]
[http://spencer_gift.chat.ru/ | spencer gift]
[http://luxury_gift.chat.ru/ | luxury gift]
[http://sympathy_gift.chat.ru/ | sympathy gift]
[http://promotional_gift.chat.ru/ | promotional gift]
[http://unique_gift_idea.chat.ru/ | unique gift idea]
[http://cat_gift.chat.ru/ | cat gift]
[http://nautical_gift.chat.ru/ | nautical gift]
[http://birthday_gift_id.chat.ru/ | birthday gift idea]
[http://wed_anniver_gift.chat.ru/ | wedding anniversary gift]
[http://gift_for_dad.chat.ru/ | gift for dad]
[http://horse_lover_gift.chat.ru/ | horse lover gift]
[http://gourmet_gift.chat.ru/ | gourmet gift]
[http://valentine_gift.chat.ru/ | valentine gift]
[http://joke_gift.chat.ru/ | joke gift]
[http://visa_gift_card.chat.ru/ | visa gift card]
[http://gag_gift.chat.ru/ | gag gift]
[http://gift_bag.chat.ru/ | gift bag]
[http://halloween_gift.chat.ru/ | halloween gift]
[http://dolphin_gift.chat.ru/ | dolphin gift]
[http://gift_fruit.chat.ru/ | gift fruit]
[http://gift_store.chat.ru/ | gift store]
[http://religious_gift.chat.ru/ | religious gift]
[http://holiday_gift_ide.chat.ru/ | holiday gift idea]
[http://retirement_gift.chat.ru/ | retirement gift]
[http://garden_gift.chat.ru/ | garden gift]
[http://graduation_gift.chat.ru/ | graduation gift]
[http://hawaiian_gift.chat.ru/ | hawaiian gift]
[http://gift_cert_louisvi.chat.ru/ | gift certificate louisville]
[http://gift_cert_louisv.chat.ru/ | gift certificate louisville]
[http://unusual_gift.chat.ru/ | unusual gift]
[http://gift_registry.chat.ru/ | gift registry]
[http://baptism_gift.chat.ru/ | baptism gift]
[http://new_baby_gift.chat.ru/ | new baby gift]
[http://pers_weddin_gift.chat.ru/ | personalized wedding gift]
[http://gift_wrap.chat.ru/ | gift wrap]
[http://gift_catalog.chat.ru/ | gift catalog]
[http://father_day_gift.chat.ru/ | father day gift]
[http://photo_gift.chat.ru/ | photo gift]
[http://inspiration_gift.chat.ru/ | inspirational gift]
[http://mother_day_gift.chat.ru/ | mother day gift]
[http://bonus_gift.chat.ru/ | bonus gift]
[http://home_inter_gift.chat.ru/ | home interior and gift]
[http://irish_gift.chat.ru/ | irish gift]
[http://shopping_gift.chat.ru/ | shopping gift]
[http://gift_for_mother.chat.ru/ | gift for mother]
[http://gift_idea.chat.ru/ | gift idea]
Best links: 'gift basket'
[http://gift_basket.chat.ru/ | gift basket]
[http://gift-basket.pochta.ru/ | gift basket]
[http://baby-gb.pochta.ru/ | baby gift basket]
[http://baby_gb.chat.ru/ | baby gift basket]
[http://wine_gb.chat.ru/ | wine gift basket]
[http://wine-gb.pochta.ru/ | wine gift basket]
[http://christmas_gb.chat.ru/ | christmas gift basket]
[http://christmas-gb.pochta.ru/ | christmas gift basket]
[http://food_gb.chat.ru/ | food gift basket]
[http://food-gb.pochta.ru/ | food gift basket]
[http://corporate_gb.chat.ru/ | corporate gift basket]
[http://corporate-gb.pochta.ru/ | corporate gift basket]
[http://gourmet_gb.chat.ru/ | gourmet gift basket]
[http://gourmet-gb.pochta.ru/ | gourmet gift basket]
[http://holiday_gb.chat.ru/ | holiday gift basket]
[http://holiday-gb.pochta.ru/ | holiday gift basket]
[http://cookie_gift_b.chat.ru/ | cookie gift basket]
[http://cookie-gift-b.pochta.ru/ | cookie gift basket]
[http://dog_gift_basket.chat.ru/ | dog gift basket]
[http://dog-gift-basket.pochta.ru/ | dog gift basket]
[http://birthday_gift_basket.chat.ru/ | birthday gift basket]
[http://birthday-gift-b.pochta.ru/ | birthday gift basket]
[http://birthday_gift_b.chat.ru/ | birthday gift basket]
[http://easter_gift_b.chat.ru/ | easter gift basket]
[http://easter-gift-b.pochta.ru/ | easter gift basket]
[http://gift_b_supply.chat.ru/ | gift basket supply]
[http://gift_b_supp.chat.ru/ | gift basket supply]
[http://gift-b-supply.pochta.ru/ | gift basket supply]
[http://gift-basket-idea.pochta.ru/ | gift basket idea]
[http://gift_basket_idea.chat.ru/ | gift basket idea]
[http://wedding_gift_b.chat.ru/ | wedding gift basket]
[http://wedding-gift-b.pochta.ru/ | wedding gift basket]
[http://chocolate_gift_b.chat.ru/ | chocolate gift basket]
[http://chocolate-gift-b.pochta.ru/ | chocolate gift basket]
[http://wine_country_gb.chat.ru/ | wine country gift basket]
[http://wine-country-gb.pochta.ru/ | wine country gift basket]
[http://unique_gift_b.chat.ru/ | unique gift basket]
[http://unique-gift-ba.pochta.ru/ | unique gift basket]
[http://coffee-gift-b.pochta.ru/ | coffee gift basket]
[http://coffee_gift_b.chat.ru/ | coffee gift basket]
[http://fruit_gift_baske.chat.ru/ | fruit gift basket]
[http://fruit-gift-b.pochta.ru/ | fruit gift basket]
[http://new_baby_gift_b.chat.ru/ | new baby gift basket]
[http://new-baby-gift-b.pochta.ru/ | new baby gift basket]
[http://sympathy_gift_b.chat.ru/ | sympathy gift basket]
[http://sympathy-gift-b.pochta.ru/ | sympathy gift basket]
[http://thank_you_gift_b.chat.ru/ | thank you gift basket]
[http://thank-you-gift-b.pochta.ru/ | thank you gift basket]
[http://get_well_gift_b.chat.ru/ | get well gift basket]
[http://get-well-gift-b.pochta.ru/ | get well gift basket]
[http://wholesale_gift_b.chat.ru/ | wholesale gift basket]
[http://wholesale-gift-b.pochta.ru/ | wholesale gift basket]
[http://gourmet_food_gb.chat.ru/ | gourmet food gift basket]
[http://gourmet-food-gb.pochta.ru/ | gourmet food gift basket]
[http://cheese_gift_b.chat.ru/ | cheese gift basket]
[http://gift_b_for_man.chat.ru/ | gift basket for man]
[http://gift-b-for-man.pochta.ru/ | gift basket for man]
[http://mother_day_gb.chat.ru/ | mother day gift basket]
[http://mother-day-gb.pochta.ru/ | mother day gift basket]
[http://spa_gift_basket.chat.ru/ | spa gift basket]
[http://spa-gift-basket.pochta.ru/ | spa gift basket]
[http://gift_b_business.chat.ru/ | gift basket business]
[http://gift-b-business.pochta.ru/ | gift basket business]
[http://pet_gift_basket.chat.ru/ | pet gift basket]
[http://pet-gift-basket.pochta.ru/ | pet gift basket]
[http://wholesale_gb.chat.ru/ | wholesale gift basket]
[http://wholesale-gb.pochta.ru/ | wholesale gift basket]
[http://baby_shower_gb.chat.ru/ | baby shower gift basket]
[http://baby-shower-gb.pochta.ru/ | baby shower gift basket]
[http://candy-gift-b.pochta.ru/ | candy gift basket]
[http://candy_gift_b.chat.ru/ | candy gift basket]
[http://italian_gift_b.chat.ru/ | italian gift basket]
[http://italian-gift-b.pochta.ru/ | italian gift basket]
[http://kid_gift_basket.chat.ru/ | kid gift basket]
[http://kid-gift-basket.pochta.ru/ | kid gift basket]
[http://valentine_day_gb.chat.ru/ | valentine day gift basket]
[http://valentine-day-gb.pochta.ru/ | valentine day gift basket]
[http://child_gift_b.chat.ru/ | child gift basket]
[http://child-gift-b.pochta.ru/ | child gift basket]
[http://custom_gift_b.chat.ru/ | custom gift basket]
[http://custom-gift-b.pochta.ru/ | custom gift basket]
[http://gift_b_canada.chat.ru/ | gift basket canada]
[http://gift-b-canada.pochta.ru/ | gift basket canada]
[http://golf_gift_basket.chat.ru/ | golf gift basket]
[http://golf-gift-basket.pochta.ru/ | golf gift basket]
[http://gift_b_toronto.chat.ru/ | gift basket toronto]
[http://gift-b-toronto.pochta.ru/ | gift basket toronto]
[http://theme_gift_b.chat.ru/ | theme gift basket]
[http://theme-gift-b.pochta.ru/ | theme gift basket]
Best links: 'gift2'
[http://flower1gift.chat.ru/ | flower gift]
[http://babygiftbasket.chat.ru/ | baby gift basket]
[http://gourmet1giftb.chat.ru/ | gourmet gift basket]
[http://holiday1gb.chat.ru/ | holiday gift basket]
[http://sympathy1giftb.chat.ru/ | sympathy gift basket]
[http://sympathy-giftb.fromru.com/ | sympathy gift basket]
[http://birthday1giftb.chat.ru/ | birthday gift basket]
[http://birthday_giftb.chat.ru/ | birthday gift basket]
[http://birthday-giftb.fromru.com/ | birthday gift basket]
[http://gourmet_giftb.chat.ru/ | gourmet gift basket]
[http://gourmet-gift-basket.fromru.com/ | gourmet gift basket]
[http://gourmet_giftbas.chat.ru/ | gourmet gift basket]
[http://wedding_giftb.chat.ru/ | wedding gift basket]
[http://wedding-gb.boom.ru/ | wedding gift basket]
[http://italian_gift_bas.chat.ru/ | italian gift basket]
[http://italian-gift-basket.pisem.net/ | italian gift basket]
[http://italian-gb.boom.ru/ | italian gift basket]
[http://get_well_gb.chat.ru/ | get well gift basket]
[http://get-wellg.fromru.com/ | get well gift basket]
[http://get-wellg.boom.ru/ | get well gift basket]
[http://thank_you_gb.chat.ru/ | thank you gift basket]
[http://thu-gift-basket.pochta.ru/ | thank you gift basket]
[http://thugb.boom.ru/ | thank you gift basket]
[http://baby-gb.fromru.com/ | baby gift basket]
[http://baby1_gift_bask.chat.ru/ | baby gift basket]
[http://baby-gift.boom.ru/ | baby gift basket]
[http://coffee_giftb.chat.ru/ | coffee gift basket]
[http://coffee-gift-basket.fromru.com/ | coffee gift basket]
[http://coffee-gb.boom.ru/ | coffee gift basket]
[http://tea_gift_basket.chat.ru/ | tea gift basket]
[http://tea-gift-basket.fromru.com/ | tea gift basket]
[http://spa1_gift_basket.chat.ru/ | spa gift basket]
[http://spa-gift-basket.fromru.com/ | spa gift basket]
[http://spa-gift-basket.boom.ru/ | spa gift basket]
[http://anniv_gift_bask.chat.ru/ | anniversary gift basket]
[http://ann-gift-basket.pisem.net/ | anniversary gift basket]
[http://ann-gb.boom.ru/ | anniversary gift basket]
Best links: 'gloves'
[http://latex-gloves.land.ru/ | latex gloves]
[http://latex_gloves.chat.ru/ | latex gloves]
Best links: 'group car insurance'
[http://group-car-insurance.fromru.com/ | group car insurance]
Best links: 'hair'
[http://hair_loss_prod.chat.ru/ | hair loss product]
[http://hair-loss-product.pochta.ru/ | hair loss product]
[http://hair_loss_pr.chat.ru/ | hair loss product]
[http://hair_los.chat.ru/ | hair loss product]
[http://hair-los.pochta.ru/ | hair loss product]
Best links: 'hair loss product'
[http://hair1_lossproduct.chat.ru/ | hair loss product]
Best links: 'hawaii'
[http://hawai-hotel.boom.ru/ | hawaii hotel]
[http://hawaii-hot.boom.ru/ | hawaii hotel]
[http://hawaii1hotels.chat.ru/ | hawaii hotel]
[http://hawaii1vacation.chat.ru/ | hawaii vacation]
[http://hawaii-vacation.boom.ru/ | hawaii vacation]
[http://hawaii-resort.boom.ru/ | hawaii resort]
[http://hawaii1resort.chat.ru/ | hawaii resort]
[http://sympathy-giftb.fromru.com/ | sympathy gift basket] [http://baby-gb.pochta.ru/ | baby gift basket] [http://food_gb.chat.ru/ | food gift basket] [http://gourmet_gb.chat.ru/ | gourmet gift basket] [http://cookie_gift_b.chat.ru/ | cookie gift basket]




Edited on 2005-10-28 20:31:12 by 150.188.15.200

Additions:
!'[http://generic-viagra.land.ru/ | Generic viagra online] !'
!'[http://cheap-phentermine.hotmail.ru/ | buy phentermine cheap phentermine online] !'
!'[http://best-phentermine.hotmail.ru/ | buy cheap phentermine online] !'
!'[http://fha_mortgage.chat.ru/ | buy cheap phentermine online] !'
!'[http://ticket1_broker.chat.ru/ | Ticket Broker] !'
!'[http://buy_phent.chat.ru/ | buy adipex phentermine] !'
!'[http://cheap--viagra.fromru.com/ | Cheap viagra] !'!
!'[http://united-airline.boom.ru/ | United Airlines tickets flights] !'!
!'[http://computer-desk.fromru.com/ | Computer desk] !'!
[http://online1degree.chat.ru/ | Online degree]
[http://camel-cig.newmail.ru | Cheap camel cigarettes]
[http://marlb-cigarette.newmail.ru | marlboro cigarettes]
[http://gift_basket.chat.ru/ | Gift basket]
[http://find-tires.com/ | Best Tires]
[http://gift_subscription.chat.ru/ | gift subscription]
[http://gift_subscriptio.chat.ru/ | gift subscription]
[http://online_gift.chat.ru/ | online gift]
[http://bridal_gift.chat.ru/ | bridal gift]
[http://corpor_gift_idea.chat.ru/ | corporate gift idea]
[http://gift_box.chat.ru/ | gift box]
[http://christmas_gift_b.chat.ru/ | christmas gift basket]
[http://romantic2_gift.chat.ru/ | romantic gift]
[http://teacher_gift.chat.ru/ | teacher gift]
[http://dog2_gift.chat.ru/ | dog gift]
[http://executive_gift.chat.ru/ | executive gift]
[http://gourmet_gift_bas.chat.ru/ | gourmet gift basket]
[http://personaliz_gift.chat.ru/ | personalized gift]
[http://corporat_gift_ba.chat.ru/ | corporate gift basket]
[http://baby2_gift_baske.chat.ru/ | baby gift basket]
[http://wedding2_gift.chat.ru/ | wedding gift]
[http://food_gift_basket.chat.ru/ | food gift basket]
[http://gift2_basket.chat.ru/ | gift basket]
[http://gardening_gift.chat.ru/ | gardening gift]
[http://golf_gift.chat.ru/ | golf gift]
[http://bridesmaid_gift.chat.ru/ | bridesmaid gift]
[http://cat_lover_giftat.chat.ru/ | cat lover gift]
[http://dog_lover_gift.chat.ru/ | dog lover gift]
[http://spencers_gift.chat.ru/ | spencers gift]
[http://holiday_gift_bas.chat.ru/ | holiday gift basket]
[http://horse_gift.chat.ru/ | horse gift]
[http://pet_lover_gift.chat.ru/ | pet lover gift]
[http://chocolate_gift.chat.ru/ | chocolate gift]
[http://christmas_gift_i.chat.ru/ | christmas gift idea]
[http://wholesale_gift.chat.ru/ | wholesale gift]
[http://free_gift.chat.ru/ | free gift]
[http://groomsmen_gift.chat.ru/ | groomsmen gift]
[http://spencer_gift.chat.ru/ | spencer gift]
[http://luxury_gift.chat.ru/ | luxury gift]
[http://sympathy_gift.chat.ru/ | sympathy gift]
[http://promotional_gift.chat.ru/ | promotional gift]
[http://unique_gift_idea.chat.ru/ | unique gift idea]
[http://cat_gift.chat.ru/ | cat gift]
[http://nautical_gift.chat.ru/ | nautical gift]
[http://birthday_gift_id.chat.ru/ | birthday gift idea]
[http://wed_anniver_gift.chat.ru/ | wedding anniversary gift]
[http://gift_for_dad.chat.ru/ | gift for dad]
[http://horse_lover_gift.chat.ru/ | horse lover gift]
[http://gourmet_gift.chat.ru/ | gourmet gift]
[http://valentine_gift.chat.ru/ | valentine gift]
[http://joke_gift.chat.ru/ | joke gift]
[http://visa_gift_card.chat.ru/ | visa gift card]
[http://gag_gift.chat.ru/ | gag gift]
[http://gift_bag.chat.ru/ | gift bag]
[http://halloween_gift.chat.ru/ | halloween gift]
[http://dolphin_gift.chat.ru/ | dolphin gift]
[http://gift_fruit.chat.ru/ | gift fruit]
[http://gift_store.chat.ru/ | gift store]
[http://religious_gift.chat.ru/ | religious gift]
[http://holiday_gift_ide.chat.ru/ | holiday gift idea]
[http://retirement_gift.chat.ru/ | retirement gift]
[http://garden_gift.chat.ru/ | garden gift]
[http://graduation_gift.chat.ru/ | graduation gift]
[http://hawaiian_gift.chat.ru/ | hawaiian gift]
[http://gift_cert_louisvi.chat.ru/ | gift certificate louisville]
[http://gift_cert_louisv.chat.ru/ | gift certificate louisville]
[http://unusual_gift.chat.ru/ | unusual gift]
[http://gift_registry.chat.ru/ | gift registry]
[http://baptism_gift.chat.ru/ | baptism gift]
[http://new_baby_gift.chat.ru/ | new baby gift]
[http://pers_weddin_gift.chat.ru/ | personalized wedding gift]
[http://gift_wrap.chat.ru/ | gift wrap]
[http://gift_catalog.chat.ru/ | gift catalog]
[http://father_day_gift.chat.ru/ | father day gift]
[http://photo_gift.chat.ru/ | photo gift]
[http://inspiration_gift.chat.ru/ | inspirational gift]
[http://mother_day_gift.chat.ru/ | mother day gift]
[http://bonus_gift.chat.ru/ | bonus gift]
[http://home_inter_gift.chat.ru/ | home interior and gift]
[http://irish_gift.chat.ru/ | irish gift]
[http://shopping_gift.chat.ru/ | shopping gift]
[http://gift_for_mother.chat.ru/ | gift for mother]
[http://gift_idea.chat.ru/ | gift idea]
Best links: 'gift basket'
[http://gift_basket.chat.ru/ | gift basket]
[http://gift-basket.pochta.ru/ | gift basket]
[http://baby-gb.pochta.ru/ | baby gift basket]
[http://baby_gb.chat.ru/ | baby gift basket]
[http://wine_gb.chat.ru/ | wine gift basket]
[http://wine-gb.pochta.ru/ | wine gift basket]
[http://christmas_gb.chat.ru/ | christmas gift basket]
[http://christmas-gb.pochta.ru/ | christmas gift basket]
[http://food_gb.chat.ru/ | food gift basket]
[http://food-gb.pochta.ru/ | food gift basket]
[http://corporate_gb.chat.ru/ | corporate gift basket]
[http://corporate-gb.pochta.ru/ | corporate gift basket]
[http://gourmet_gb.chat.ru/ | gourmet gift basket]
[http://gourmet-gb.pochta.ru/ | gourmet gift basket]
[http://holiday_gb.chat.ru/ | holiday gift basket]
[http://holiday-gb.pochta.ru/ | holiday gift basket]
[http://cookie_gift_b.chat.ru/ | cookie gift basket]
[http://cookie-gift-b.pochta.ru/ | cookie gift basket]
[http://dog_gift_basket.chat.ru/ | dog gift basket]
[http://dog-gift-basket.pochta.ru/ | dog gift basket]
[http://birthday_gift_basket.chat.ru/ | birthday gift basket]
[http://birthday-gift-b.pochta.ru/ | birthday gift basket]
[http://birthday_gift_b.chat.ru/ | birthday gift basket]
[http://easter_gift_b.chat.ru/ | easter gift basket]
[http://easter-gift-b.pochta.ru/ | easter gift basket]
[http://gift_b_supply.chat.ru/ | gift basket supply]
[http://gift_b_supp.chat.ru/ | gift basket supply]
[http://gift-b-supply.pochta.ru/ | gift basket supply]
[http://gift-basket-idea.pochta.ru/ | gift basket idea]
[http://gift_basket_idea.chat.ru/ | gift basket idea]
[http://wedding_gift_b.chat.ru/ | wedding gift basket]
[http://wedding-gift-b.pochta.ru/ | wedding gift basket]
[http://chocolate_gift_b.chat.ru/ | chocolate gift basket]
[http://chocolate-gift-b.pochta.ru/ | chocolate gift basket]
[http://wine_country_gb.chat.ru/ | wine country gift basket]
[http://wine-country-gb.pochta.ru/ | wine country gift basket]
[http://unique_gift_b.chat.ru/ | unique gift basket]
[http://unique-gift-ba.pochta.ru/ | unique gift basket]
[http://coffee-gift-b.pochta.ru/ | coffee gift basket]
[http://coffee_gift_b.chat.ru/ | coffee gift basket]
[http://fruit_gift_baske.chat.ru/ | fruit gift basket]
[http://fruit-gift-b.pochta.ru/ | fruit gift basket]
[http://new_baby_gift_b.chat.ru/ | new baby gift basket]
[http://new-baby-gift-b.pochta.ru/ | new baby gift basket]
[http://sympathy_gift_b.chat.ru/ | sympathy gift basket]
[http://sympathy-gift-b.pochta.ru/ | sympathy gift basket]
[http://thank_you_gift_b.chat.ru/ | thank you gift basket]
[http://thank-you-gift-b.pochta.ru/ | thank you gift basket]
[http://get_well_gift_b.chat.ru/ | get well gift basket]
[http://get-well-gift-b.pochta.ru/ | get well gift basket]
[http://wholesale_gift_b.chat.ru/ | wholesale gift basket]
[http://wholesale-gift-b.pochta.ru/ | wholesale gift basket]
[http://gourmet_food_gb.chat.ru/ | gourmet food gift basket]
[http://gourmet-food-gb.pochta.ru/ | gourmet food gift basket]
[http://cheese_gift_b.chat.ru/ | cheese gift basket]
[http://gift_b_for_man.chat.ru/ | gift basket for man]
[http://gift-b-for-man.pochta.ru/ | gift basket for man]
[http://mother_day_gb.chat.ru/ | mother day gift basket]
[http://mother-day-gb.pochta.ru/ | mother day gift basket]
[http://spa_gift_basket.chat.ru/ | spa gift basket]
[http://spa-gift-basket.pochta.ru/ | spa gift basket]
[http://gift_b_business.chat.ru/ | gift basket business]
[http://gift-b-business.pochta.ru/ | gift basket business]
[http://pet_gift_basket.chat.ru/ | pet gift basket]
[http://pet-gift-basket.pochta.ru/ | pet gift basket]
[http://wholesale_gb.chat.ru/ | wholesale gift basket]
[http://wholesale-gb.pochta.ru/ | wholesale gift basket]
[http://baby_shower_gb.chat.ru/ | baby shower gift basket]
[http://baby-shower-gb.pochta.ru/ | baby shower gift basket]
[http://candy-gift-b.pochta.ru/ | candy gift basket]
[http://candy_gift_b.chat.ru/ | candy gift basket]
[http://italian_gift_b.chat.ru/ | italian gift basket]
[http://italian-gift-b.pochta.ru/ | italian gift basket]
[http://kid_gift_basket.chat.ru/ | kid gift basket]
[http://kid-gift-basket.pochta.ru/ | kid gift basket]
[http://valentine_day_gb.chat.ru/ | valentine day gift basket]
[http://valentine-day-gb.pochta.ru/ | valentine day gift basket]
[http://child_gift_b.chat.ru/ | child gift basket]
[http://child-gift-b.pochta.ru/ | child gift basket]
[http://custom_gift_b.chat.ru/ | custom gift basket]
[http://custom-gift-b.pochta.ru/ | custom gift basket]
[http://gift_b_canada.chat.ru/ | gift basket canada]
[http://gift-b-canada.pochta.ru/ | gift basket canada]
[http://golf_gift_basket.chat.ru/ | golf gift basket]
[http://golf-gift-basket.pochta.ru/ | golf gift basket]
[http://gift_b_toronto.chat.ru/ | gift basket toronto]
[http://gift-b-toronto.pochta.ru/ | gift basket toronto]
[http://theme_gift_b.chat.ru/ | theme gift basket]
[http://theme-gift-b.pochta.ru/ | theme gift basket]
Best links: 'gift2'
[http://flower1gift.chat.ru/ | flower gift]
[http://babygiftbasket.chat.ru/ | baby gift basket]
[http://gourmet1giftb.chat.ru/ | gourmet gift basket]
[http://holiday1gb.chat.ru/ | holiday gift basket]
[http://sympathy1giftb.chat.ru/ | sympathy gift basket]
[http://sympathy-giftb.fromru.com/ | sympathy gift basket]
[http://birthday1giftb.chat.ru/ | birthday gift basket]
[http://birthday_giftb.chat.ru/ | birthday gift basket]
[http://birthday-giftb.fromru.com/ | birthday gift basket]
[http://gourmet_giftb.chat.ru/ | gourmet gift basket]
[http://gourmet-gift-basket.fromru.com/ | gourmet gift basket]
[http://gourmet_giftbas.chat.ru/ | gourmet gift basket]
[http://wedding_giftb.chat.ru/ | wedding gift basket]
[http://wedding-gb.boom.ru/ | wedding gift basket]
[http://italian_gift_bas.chat.ru/ | italian gift basket]
[http://italian-gift-basket.pisem.net/ | italian gift basket]
[http://italian-gb.boom.ru/ | italian gift basket]
[http://get_well_gb.chat.ru/ | get well gift basket]
[http://get-wellg.fromru.com/ | get well gift basket]
[http://get-wellg.boom.ru/ | get well gift basket]
[http://thank_you_gb.chat.ru/ | thank you gift basket]
[http://thu-gift-basket.pochta.ru/ | thank you gift basket]
[http://thugb.boom.ru/ | thank you gift basket]
[http://baby-gb.fromru.com/ | baby gift basket]
[http://baby1_gift_bask.chat.ru/ | baby gift basket]
[http://baby-gift.boom.ru/ | baby gift basket]
[http://coffee_giftb.chat.ru/ | coffee gift basket]
[http://coffee-gift-basket.fromru.com/ | coffee gift basket]
[http://coffee-gb.boom.ru/ | coffee gift basket]
[http://tea_gift_basket.chat.ru/ | tea gift basket]
[http://tea-gift-basket.fromru.com/ | tea gift basket]
[http://spa1_gift_basket.chat.ru/ | spa gift basket]
[http://spa-gift-basket.fromru.com/ | spa gift basket]
[http://spa-gift-basket.boom.ru/ | spa gift basket]
[http://anniv_gift_bask.chat.ru/ | anniversary gift basket]
[http://ann-gift-basket.pisem.net/ | anniversary gift basket]
[http://ann-gb.boom.ru/ | anniversary gift basket]
Best links: 'gloves'
[http://latex-gloves.land.ru/ | latex gloves]
[http://latex_gloves.chat.ru/ | latex gloves]
Best links: 'group car insurance'
[http://group-car-insurance.fromru.com/ | group car insurance]
Best links: 'hair'
[http://hair_loss_prod.chat.ru/ | hair loss product]
[http://hair-loss-product.pochta.ru/ | hair loss product]
[http://hair_loss_pr.chat.ru/ | hair loss product]
[http://hair_los.chat.ru/ | hair loss product]
[http://hair-los.pochta.ru/ | hair loss product]
Best links: 'hair loss product'
[http://hair1_lossproduct.chat.ru/ | hair loss product]
Best links: 'hawaii'
[http://hawai-hotel.boom.ru/ | hawaii hotel]
[http://hawaii-hot.boom.ru/ | hawaii hotel]
[http://hawaii1hotels.chat.ru/ | hawaii hotel]
[http://hawaii1vacation.chat.ru/ | hawaii vacation]
[http://hawaii-vacation.boom.ru/ | hawaii vacation]
[http://hawaii-resort.boom.ru/ | hawaii resort]
[http://hawaii1resort.chat.ru/ | hawaii resort]
[http://sympathy-giftb.fromru.com/ | sympathy gift basket] [http://baby-gb.pochta.ru/ | baby gift basket] [http://food_gb.chat.ru/ | food gift basket] [http://gourmet_gb.chat.ru/ | gourmet gift basket] [http://cookie_gift_b.chat.ru/ | cookie gift basket]


Deletions:
Example of Makefile that invokes rpcgen
GNU Build System has two goals:
  1. "To simplify the development of portable programs. "
  2. "To simplify the building of programs that are distributed as source code."
Links:
Examples of my files for project (modified to hide project details):
configure.in:
AC_INIT(acinclude.m4) dnl a source file from your sub dir
AC_CANONICAL_SYSTEM 
dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(SoftwareName,Version)
AC_PREFIX_DEFAULT(/usr/local)
if test "x$prefix" = "xNONE"; then
  prefix=$ac_default_prefix
  ac_configure_args="$ac_configure_args --prefix $prefix"
fi
dnl generate the config header
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
dnl Checks for programs.
AC_CHECK_COMPILERS
dnl allows building code in sub-directories into temporary libraries.
AC_PROG_RANLIB
dnl converted AC_OUTPUT to this method for newer versions (2.59) of autoconf
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ src/Makefile ])
AC_CONFIG_FILES([ src/toolkit/Makefile ])
.
.
.
AC_OUTPUT
if test "$all_tests" = "bad"; then
  if test ! "$cache_file" = "/dev/null"; then
	echo ""    
	echo "Please remove the file $cache_file after changing your setup"
	echo "so that configure will find the changes next time."
	echo ""
  fi
else
  echo ""
  echo "Good - your configure finished. Start make now"
  echo ""
fi

Makefile.am examples:
Top level Makefile.am mostly used to point to the subdirectories that have makefile.ams unless there is also code that needs to be built in your base directory.
SUBDIRS = src
EXTRA_DIST = admin AUTHORS COPYING ChangeLog INSTALL README TODO data scripts nets temp

I'm not sure what EXTRA_DIST is for but I think it is files that don't pertain to the make
For a directory where we build an executable: Makefile.am:
bin_PROGRAMS = myexec
myexec_SOURCES = students.cxx read.cxx something.cxx main.cxx ensemble.cxx cc.cxx ada.cxx timer.cxx distributed.cpp
SUBDIRS = @myexec_subdirs@
#we also need to adjust the required libraries based on configure options
#example of var set in the admin/ for configured libaries and directly including the libppclient.a lib
myexec_LDADD   = @myexec_libraries@ pp_client/libppclient.a
# set the include path for X, qt and KDE
INCLUDES= $(all_includes)
# the library search path. 
myexec_LDFLAGS = $(all_libraries) 
# them while "make clean", use CLEANFILES
DISTCLEANFILES = $(myexec_METASOURCES)

#Example where I needed to build an executable and a library: Makefile.am:
bin_PROGRAMS = pp_client
noinst_LIBRARIES = libppclient.a
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
pp_client_METASOURCES = AUTO
libppclient_a_METASOURCES = AUTO
pp_client_SOURCES = pp_clnt.cxx pp_xdr.cxx pptrain.cxx pp_client.cxx
libppclient_a_SOURCES = pp_clnt.cxx pp_xdr.cxx pptrain.cxx pp_client.cxx
#we also need to adjust the required libraries based on configure options
#pp_client_LDADD   = @nnes_libraries@
#but I didn't,  I directly set the LDADDs.  Probably should have modified the acinclude.m4.in in admin/
pp_client_LDADD	   = ../cascade/libcascade.a ../cascade/parse/libparse.a ../cascade/toolkit/libtoolkit.a
# the library search path. 
#added my own libaries here also..  -lnsl got threads working on solaris
pp_client_LDFLAGS = $(all_libraries) -lpthread -lnsl
# them while "make clean", use CLEANFILES
DISTCLEANFILES = $(myexec_METASOURCES)

Now need to rebuild Makefiles and configure script. This will need to be done each time a Makefile.am or configure.in are changed. Its easiest to make a script to do this. As stated in one of the links above create a script called rconf.
rconf:
#!/bin/sh
rm -f config.cache
rm -f acconfig.h
aclocal -I m4
autoconf
autoheader
automake -a




Edited on 2005-07-26 17:25:32 by ScottRippee

Additions:
Example of Makefile that invokes rpcgen

Deletions:
Example of Makefile that envokes rpcgen



Edited on 2005-07-26 17:25:08 by ScottRippee

Additions:
Example of Makefile that envokes rpcgen



Edited on 2005-07-26 17:21:48 by ScottRippee

Additions:
Examples of my files for project (modified to hide project details):
myexec_LDADD = @myexec_libraries@ pp_client/libppclient.a
DISTCLEANFILES = $(myexec_METASOURCES)
bin_PROGRAMS = pp_client
noinst_LIBRARIES = libppclient.a
INCLUDES = $(all_includes)
pp_client_METASOURCES = AUTO
libppclient_a_METASOURCES = AUTO
pp_client_SOURCES = pp_clnt.cxx pp_xdr.cxx pptrain.cxx pp_client.cxx
libppclient_a_SOURCES = pp_clnt.cxx pp_xdr.cxx pptrain.cxx pp_client.cxx
#pp_client_LDADD = @nnes_libraries@
#but I didn't, I directly set the LDADDs. Probably should have modified the acinclude.m4.in in admin/
pp_client_LDADD = ../cascade/libcascade.a ../cascade/parse/libparse.a ../cascade/toolkit/libtoolkit.a
#added my own libaries here also.. -lnsl got threads working on solaris
pp_client_LDFLAGS = $(all_libraries) -lpthread -lnsl
DISTCLEANFILES = $(myexec_METASOURCES)
Now need to rebuild Makefiles and configure script. This will need to be done each time a Makefile.am or configure.in are changed. Its easiest to make a script to do this. As stated in one of the links above create a script called rconf.
rconf:
%%(bash)
#!/bin/sh
rm -f config.cache
rm -f acconfig.h
aclocal -I m4
autoconf
autoheader
automake -a


Deletions:
Examples of my files for project:
nnes_LDADD = @myexec_libraries@ pp_client/libppclient.a
DISTCLEANFILES = $(nnes_METASOURCES)




Edited on 2005-07-26 17:08:37 by ScottRippee

Additions:
GNU Build System has two goals:
  1. "To simplify the development of portable programs. "
  2. "To simplify the building of programs that are distributed as source code."

Links:

Examples of my files for project:
configure.in:
AC_INIT(acinclude.m4) dnl a source file from your sub dir

AC_CANONICAL_SYSTEM 

dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(SoftwareName,Version)

AC_PREFIX_DEFAULT(/usr/local)
if test "x$prefix" = "xNONE"; then
  prefix=$ac_default_prefix
  ac_configure_args="$ac_configure_args --prefix $prefix"
fi

dnl generate the config header
AM_CONFIG_HEADER(config.h) dnl at the distribution this done

dnl Checks for programs.
AC_CHECK_COMPILERS

dnl allows building code in sub-directories into temporary libraries.
AC_PROG_RANLIB

dnl converted AC_OUTPUT to this method for newer versions (2.59) of autoconf
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ src/Makefile ])
AC_CONFIG_FILES([ src/toolkit/Makefile ])
.
.
.

AC_OUTPUT
if test "$all_tests" = "bad"; then
  if test ! "$cache_file" = "/dev/null"; then
	echo ""    
	echo "Please remove the file $cache_file after changing your setup"
	echo "so that configure will find the changes next time."
	echo ""
  fi
else
  echo ""
  echo "Good - your configure finished. Start make now"
  echo ""
fi


Makefile.am examples:
Top level Makefile.am mostly used to point to the subdirectories that have makefile.ams unless there is also code that needs to be built in your base directory.
SUBDIRS = src

EXTRA_DIST = admin AUTHORS COPYING ChangeLog INSTALL README TODO data scripts nets temp

I'm not sure what EXTRA_DIST is for but I think it is files that don't pertain to the make

For a directory where we build an executable: Makefile.am:
bin_PROGRAMS = myexec
myexec_SOURCES = students.cxx read.cxx something.cxx main.cxx ensemble.cxx cc.cxx ada.cxx timer.cxx distributed.cpp

SUBDIRS = @myexec_subdirs@

#we also need to adjust the required libraries based on configure options
#example of var set in the admin/ for configured libaries and directly including the libppclient.a lib
nnes_LDADD   = @myexec_libraries@ pp_client/libppclient.a

# set the include path for X, qt and KDE
INCLUDES= $(all_includes)

# the library search path. 
myexec_LDFLAGS = $(all_libraries) 

# them while "make clean", use CLEANFILES
DISTCLEANFILES = $(nnes_METASOURCES)


#Example where I needed to build an executable and a library: Makefile.am:


Deletions:
makefile.am
configure.in
and process to created the Makefiles




Oldest known version of this page was edited on 2005-04-07 18:38:03 by 69.224.71.97 []
Page view:
makefile.am
configure.in
and process to created the Makefiles
Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.1386 seconds