diff options
author | Josh Blum <josh@joshknows.com> | 2010-01-12 14:43:43 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-01-12 14:43:43 -0800 |
commit | cbb8e474bb5592753a340ba31d3afbab7226f7c6 (patch) | |
tree | 6dd14d37d8d46f3a506a309f57d82ed1ed05f781 /Makefile.am | |
parent | 4e94574aeaa46c671bba0a6fc83cb967d228c880 (diff) | |
download | uhd-cbb8e474bb5592753a340ba31d3afbab7226f7c6.tar.gz uhd-cbb8e474bb5592753a340ba31d3afbab7226f7c6.tar.bz2 uhd-cbb8e474bb5592753a340ba31d3afbab7226f7c6.zip |
Reorganized structure into include, lib, test, firmware, fpga.
The fpga and firmware are empty placeholders for now.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 3fe105aa3..84f1bf68d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,6 +4,22 @@ include $(top_srcdir)/Makefile.common -SUBDIRS = \ - usrp_dboard \ - usrp_uhd +SUBDIRS = include lib test + +######################################################################## +## Handle the pkgconfig file generation +######################################################################## +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = usrp_uhd.pc + +EXTRA_DIST = $(srcdir)/usrp_uhd.pc.in +BUILT_SOURCES = usrp_uhd.pc + +usrp_uhd.pc: $(srcdir)/usrp_uhd.pc.in Makefile + $(SED) \ + -e 's|@prefix[@]|$(prefix)|g' \ + -e 's|@exec_prefix[@]|$(exec_prefix)|g' \ + -e 's|@libdir[@]|$(libdir)|g' \ + -e 's|@includedir[@]|$(includedir)|g' \ + -e 's|@VERSION[@]|$(VERSION)|g' \ + $< > $@ |