--- midimountain/Makefile.in.orig	Mon Oct 29 11:28:06 2001
+++ midimountain/Makefile.in	Sat Dec 15 14:11:48 2001
@@ -69,7 +69,7 @@
 ####### kdevelop will overwrite this part!!! (end)############
 bin_PROGRAMS = midimountain
 midimountain_SOURCES = mvcInputBox.cpp mvcMapperProperties.cpp stlini.cpp mvcUserSnapProperties.cpp mvcPianoRoll.cpp mvcHeader.cpp mvcKeySignatureProperties.cpp mvcKeySignatureList.cpp mvcTimeSignatureProperties.cpp mvcTimeSignatureList.cpp mvcMarkerProperties.cpp mvcMarkerList.cpp mvcTrackProperties.cpp mvcSongProperties.cpp mvcEventProperties.cpp mvcEventList.cpp mvcMessageBox.cpp mvcMainView.cpp mvcMain.cpp mvcBase.cpp glade_support.cpp glade_interface.cpp glade_callbacks.cpp mcDevice.cpp mcMapper.cpp mcOSSIO.cpp mcIO.cpp mcPlayback.cpp mcList.cpp mcTrack.cpp mcSequence.cpp mcEvent.cpp mcBase.cpp main.cpp 
-midimountain_LDADD = -lglib -lgtk -lgdk
+midimountain_LDADD = `${GTK_CONFIG} --libs`
 
 SUBDIRS = docs pixmaps languages 
 
@@ -80,7 +80,7 @@
 PROGRAMS =  $(bin_PROGRAMS)
 
 
-DEFS = @DEFS@ -I. -I$(srcdir) -I..
+DEFS = @DEFS@ -I. -I$(srcdir) -I.. `${GTK_CONFIG} --cflags`
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
@@ -486,7 +486,7 @@
 
 install-data-local:
 	$(mkinstalldirs) 
-	$(INSTALL_DATA) midimountain.conf midimountain.conf
+	$(INSTALL_DATA) midimountain.conf ${PREFIX}/etc/midimountain.conf
 
 uninstall-local:
 	-rm -f midimountain.conf
