diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-09 16:36:37 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-09 16:36:37 +0000 |
commit | 21c068f1916330e90f814bed461fe0821d1665ec (patch) | |
tree | 949b73696fff09a44b8d3eb01b70bae7174cbd14 /pd/portmidi | |
parent | bf8ced1efe1a032342e864edc635fa4e2676670d (diff) |
checked in pd-0.43-0.src.tar.gz
svn path=/trunk/; revision=15557
Diffstat (limited to 'pd/portmidi')
-rw-r--r-- | pd/portmidi/Makefile.am | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pd/portmidi/Makefile.am b/pd/portmidi/Makefile.am new file mode 100644 index 00000000..1b4d61a4 --- /dev/null +++ b/pd/portmidi/Makefile.am @@ -0,0 +1,44 @@ +# this is built as a "libtool convenience library" +# http://sources.redhat.com/automake/automake.html#Libtool-Convenience-Libraries +AUTOMAKE_OPTIONS = foreign +AM_CFLAGS = -DNEWBUFFER +INCLUDES = -Ipm_common -Iporttime + +noinst_LTLIBRARIES = libportmidi.la + +libportmidi_la_SOURCES = pm_common/pmutil.c pm_common/portmidi.c + +if LINUX +INCLUDES += -Ipm_linux +libportmidi_la_SOURCES += porttime/ptlinux.c \ + pm_linux/pmlinux.c \ + pm_linux/pmlinuxalsa.c +endif + +if MACOSX +INCLUDES += -Ipm_mac +libportmidi_la_SOURCES += porttime/ptmacosx_cf.c \ + pm_mac/pmmac.c \ + pm_mac/pmmacosxcm.c +endif + +if WINDOWS +INCLUDES += -Ipm_win +libportmidi_la_SOURCES += porttime/porttime.c \ + porttime/ptwinmm.c \ + pm_win/pmwin.c \ + pm_win/pmwinmm.c +endif + +# include the headers in the dist so you can build +nobase_noinst_HEADERS = \ + pm_common/pminternal.h \ + pm_common/pmutil.h \ + pm_common/portmidi.h \ + pm_linux/pmlinux.h \ + pm_linux/pmlinuxalsa.h \ + pm_mac/pmmac.h \ + pm_mac/pmmacosxcm.h \ + pm_win/pmdll.h \ + pm_win/pmwinmm.h \ + porttime/porttime.h |