mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
Simplify Makefile conditions.
This commit is contained in:
parent
ec44019744
commit
b7565a667a
@ -1,6 +1,6 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
EXTRA_DIST = FileDialog.vcproj
|
||||
EXTRA_DIST = FileDialog.vcproj FileDialogPrivate.h.in
|
||||
|
||||
lib_LTLIBRARIES = libFileDialog.la
|
||||
|
||||
@ -8,13 +8,12 @@ libFileDialog_la_CPPFLAGS = $(WX_CXXFLAGS)
|
||||
libFileDialog_la_LIBADD = $(WX_LIBS)
|
||||
libFileDialog_la_SOURCES = FileDialog.cpp FileDialog.h
|
||||
|
||||
if MAC
|
||||
libFileDialog_la_SOURCES += mac/FileDialogPrivate.cpp mac/FileDialogPrivate.h
|
||||
else
|
||||
|
||||
if WINDOWS
|
||||
libFileDialog_la_SOURCES += win/FileDialogPrivate.cpp win/FileDialogPrivate.h
|
||||
else
|
||||
if GENERIC
|
||||
libFileDialog_la_SOURCES += \
|
||||
generic/FileDialogPrivate.cpp \
|
||||
generic/FileDialogPrivate.h \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
if GTK
|
||||
libFileDialog_la_CPPFLAGS += $(GTK_CFLAGS)
|
||||
@ -24,12 +23,12 @@ libFileDialog_la_SOURCES += \
|
||||
gtk/FileDialogPrivate.h \
|
||||
gtk/private.h \
|
||||
$(NULL)
|
||||
else
|
||||
libFileDialog_la_SOURCES += \
|
||||
generic/FileDialogPrivate.cpp \
|
||||
generic/FileDialogPrivate.h \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
if MAC
|
||||
libFileDialog_la_SOURCES += mac/FileDialogPrivate.cpp mac/FileDialogPrivate.h
|
||||
endif
|
||||
|
||||
if WINDOWS
|
||||
libFileDialog_la_SOURCES += win/FileDialogPrivate.cpp win/FileDialogPrivate.h
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user