Skip to content

Commit

Permalink
Fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed Jan 9, 2022
1 parent 5064afd commit 9bb8ed2
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Makefile
Expand Up @@ -24,6 +24,9 @@ endif
dgl:
ifeq ($(HAVE_CAIRO_OR_OPENGL),true)
$(MAKE) -C dpf/dgl
ifeq ($(HAVE_OPENGL),true)
$(MAKE) -C dpf/dgl opengl3
endif
endif

plugins: dgl
Expand Down Expand Up @@ -60,7 +63,7 @@ ifeq ($(HAVE_OPENGL),true)
$(MAKE) all -C plugins/ProM
endif # HAVE_OPENGL

ifneq ($(HAVE_OPENGL),true)
ifeq ($(HAVE_OPENGL),true)
resources: gen
# LV2 fonts
install -d bin/ProM.lv2/resources/fonts
Expand Down Expand Up @@ -151,18 +154,17 @@ install:

install -m 644 bin/*-ladspa.* $(DESTDIR)$(PREFIX)/lib/ladspa/
install -m 644 bin/*-dssi.* $(DESTDIR)$(PREFIX)/lib/dssi/
ifeq ($(MACOS),true)
cp -r bin/*.vst $(DESTDIR)$(PREFIX)/lib/vst/
else
ifneq ($(MACOS),true)
install -m 644 bin/*-vst.* $(DESTDIR)$(PREFIX)/lib/vst/
endif

ifneq ($(MACOS),true)
ifeq ($(HAVE_CAIRO_OR_OPENGL),true)
cp -r bin/*-dssi $(DESTDIR)$(PREFIX)/lib/dssi/
cp -r bin/*-dssi $(DESTDIR)$(PREFIX)/lib/dssi/
endif # HAVE_CAIRO_OR_OPENGL
endif # MACOS
cp -r bin/*.lv2 $(DESTDIR)$(PREFIX)/lib/lv2/
cp -r bin/*.lv2 $(DESTDIR)$(PREFIX)/lib/lv2/
ifeq ($(HAVE_OPENGL),true)
cp -r bin/*.vst $(DESTDIR)$(PREFIX)/lib/vst/
endif

install -m 755 bin/Kars$(APP_EXT) $(DESTDIR)$(PREFIX)/bin/
install -m 755 bin/3BandEQ$(APP_EXT) $(DESTDIR)$(PREFIX)/bin/
Expand Down

0 comments on commit 9bb8ed2

Please sign in to comment.