1 ### Generated by Winemaker
11 PKG_CONFIG_MODULES
:= glib-2.0
12 PKG_CONFIG_MODULES
+= gtk
+-2.0
13 PKG_CONFIG_MODULES
+= jack
15 CEXTRA
:= $(shell pkg-config
--cflags $(PKG_CONFIG_MODULES
)) -fPIC
-m32
-g
16 CXXEXTRA
= -mno-cygwin
18 INCLUDE_PATH
= -I.
-I
/usr
/include -I
/usr
/include -I
/usr
/include/wine
-I
/usr
/include/wine
/windows
-I
/usr
/local
/include/wine
-I
/usr
/local
/include/wine
/windows
-I
/usr
/include/glib-2.0
-I
/usr
/include/glib-2.0
/include -I
/usr
/include/gtk-2.0
20 LIBRARY_PATH
=-L
/usr
/lib32
21 LIBRARIES
:= $(shell pkg-config
--libs
$(PKG_CONFIG_MODULES
)) -L
/usr
/X11R6
/lib
-lpthread
-lrt
-lX11
-m32
25 ### fst.exe sources and settings
28 fst_exe_C_SRCS
= audiomaster.c \
37 fst_exe_LDFLAGS
= -mwindows
40 fst_exe_LIBRARY_PATH
=
41 fst_exe_LIBRARIES
= uuid
43 fst_exe_OBJS
= $(fst_exe_C_SRCS
:.c
=.o
) \
44 $(fst_exe_CXX_SRCS
:.
cpp=.o
) \
45 $(fst_exe_RC_SRCS
:.rc
=.res
)
49 ### Global source lists
51 C_SRCS
= $(fst_exe_C_SRCS
)
52 CXX_SRCS
= $(fst_exe_CXX_SRCS
)
53 RC_SRCS
= $(fst_exe_RC_SRCS
)
67 #all: hackheaders $(SUBDIRS) $(DLLS:%=%.so) $(EXES:%=%)
68 all: $(SUBDIRS
) $(DLLS
:%=%.so
) $(EXES
:%=%)
73 .PHONY
: all clean dummy
80 .SUFFIXES
: .
cpp .rc .res
81 DEFINCL
= $(INCLUDE_PATH
) $(DEFINES
) $(OPTIONS
)
84 $(CC
) -c
$(CFLAGS
) $(CEXTRA
) $(DEFINCL
) -o
$@
$<
87 $(CXX
) -c
$(CXXFLAGS
) $(CXXEXTRA
) $(DEFINCL
) -o
$@
$<
90 $(CXX
) -c
$(CXXFLAGS
) $(CXXEXTRA
) $(DEFINCL
) -o
$@
$<
93 $(RC
) $(RCFLAGS
) $(RCEXTRA
) $(DEFINCL
) -fo
$@
$<
97 CLEAN_FILES
= *.dbg.c y.tab.c y.tab.h
lex.yy.c \
99 \\\
#*\\\# *~ *% .\\\#*
101 clean:: $(SUBDIRS
:%=%/__clean__
) $(EXTRASUBDIRS
:%=%/__clean__
)
102 $(RM
) $(CLEAN_FILES
) $(RC_SRCS
:.rc
=.res
) $(C_SRCS
:.c
=.o
) $(CXX_SRCS
:.
cpp=.o
)
103 $(RM
) $(DLLS
:%=%.dbg.o
) $(DLLS
:%=%.so
)
104 $(RM
) $(EXES
:%=%.dbg.o
) $(EXES
:%=%.so
) $(EXES
:%.exe
=%)
107 $(SUBDIRS
:%=%/__clean__
): dummy
108 cd
`dirname $@` && $(MAKE
) clean
110 $(EXTRASUBDIRS
:%=%/__clean__
): dummy
111 -cd
`dirname $@` && $(RM
) $(CLEAN_FILES
)
113 ### Target specific build rules
114 DEFLIB
= $(LIBRARY_PATH
) $(LIBRARIES
) $(DLL_PATH
)
116 $(fst_exe_MODULE
): $(fst_exe_OBJS
)
117 $(LINK
) $(fst_exe_LDFLAGS
) -o
$@
$(fst_exe_OBJS
) $(fst_exe_LIBRARY_PATH
) $(DEFLIB
) $(fst_exe_DLLS
:%=-l
%) $(fst_exe_LIBRARIES
:%=-l
%)
121 rm -f fst fst.exe fst.exe.so