~vcs-imports/gnaural/trunk

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: gnaural
  • Date: 2006-07-10 19:23:33 UTC
  • Revision ID: vcs-imports@canonical.com-20060710192333-a98ddf2078896b93
Initial revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
# Libs required by each platform get set in configure.in (LIBS doesn't like automake conditionals here)
 
4
LIBS = @PSPEC_LIBS@ 
 
5
 
 
6
if CCWIN32
 
7
#####################################
 
8
##MinGW32 cross-compile Makefile.am:
 
9
#####################################
 
10
 
 
11
#mingwdir = $(top_srcdir)/../../../lib_gtkwin32
 
12
mingwdir = $(top_srcdir)/../../../gtk_2_0
 
13
 
 
14
 
 
15
INCLUDES = -mms-bitfields \
 
16
        -DGNAURAL_WIN32 \
 
17
        -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
 
18
        -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
 
19
        -I$(mingwdir)/include/atk-1.0 -I$(mingwdir)/include/gtk-2.0 -I$(mingwdir)/include/glib-2.0 -I$(mingwdir)/include/pango-1.0 -I$(mingwdir)/lib/gtk-2.0/include -I$(mingwdir)/lib/glib-2.0/include 
 
20
 
 
21
 
 
22
bin_PROGRAMS = gnaural
 
23
 
 
24
gnaural_SOURCES = \
 
25
        main.cpp main.h gnaural.h\
 
26
        ScheduleGUI.cpp ScheduleGUI.h \
 
27
        BinauralBeat.cpp BinauralBeat.h \
 
28
        support.cpp support.h \
 
29
        interface.cpp interface.h \
 
30
        callbacks.cpp callbacks.h \
 
31
        pa_lib.cpp  pa_host.h pa_trace.h pa_unix.h portaudio.h \
 
32
        pa_win_wmme.cpp
 
33
 
 
34
 
 
35
#gnaural_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) 
 
36
gnaural_LDADD = $(INTLLIBS) 
 
37
#NOTE: -mwindows keeps the DOS console away; -mnowindows (or -mconsole) creates it
 
38
gnaural_LDFLAGS = -mms-bitfields -mwindows -L$(mingwdir)/lib 
 
39
#####################################
 
40
 
 
41
 
 
42
else
 
43
 
 
44
#####################################
 
45
##Standard GCC Makefile.am:
 
46
#####################################
 
47
 
 
48
INCLUDES = \
 
49
        -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
 
50
        -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
 
51
        @PACKAGE_CFLAGS@
 
52
 
 
53
 
 
54
bin_PROGRAMS = gnaural
 
55
 
 
56
gnaural_SOURCES = \
 
57
        main.cpp main.h gnaural.h \
 
58
        ScheduleGUI.cpp ScheduleGUI.h \
 
59
        BinauralBeat.cpp BinauralBeat.h \
 
60
        support.cpp support.h \
 
61
        interface.cpp interface.h \
 
62
        callbacks.cpp callbacks.h \
 
63
        pa_lib.cpp  pa_host.h pa_trace.h pa_unix.h portaudio.h \
 
64
        pa_unix.cpp  pa_unix_oss.cpp pa_unix.h 
 
65
        
 
66
 
 
67
gnaural_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
 
68
 
 
69
#####################################
 
70
endif