-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from qdii/master
Added autoconf
- Loading branch information
Showing
6 changed files
with
50 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SUBDIRS = src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# -*- Autoconf -*- | ||
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ([2.69]) | ||
AC_INIT([linthesia], [0.6.2], [[email protected]]) | ||
AM_INIT_AUTOMAKE([foreign subdir-objects]) | ||
#AM_LANG([C++]) | ||
AC_CONFIG_SRCDIR([src/main.cpp]) | ||
AC_CONFIG_HEADERS([config.h]) | ||
|
||
LT_PREREQ([2.2]) | ||
LT_INIT() | ||
|
||
# Checks for programs. | ||
AC_PROG_CXX | ||
AC_PROG_INSTALL | ||
AC_PROG_MKDIR_P | ||
# Checks for libraries. | ||
|
||
# Checks for header files. | ||
AC_CHECK_HEADERS([string string.h iostream algorithm locale vector sstream queue functional map iomanip set exception sys/time.h]) | ||
|
||
PKG_CHECK_MODULES([GTKGLEXTMM],[gtkglextmm-1.2]) | ||
PKG_CHECK_MODULES([GTKMM],[gtkmm-2.4]) | ||
PKG_CHECK_MODULES([GCONFMM],[gconfmm-2.6]) | ||
PKG_CHECK_MODULES([ALSA],[alsa]) | ||
|
||
# Checks for typedefs, structures, and compiler characteristics. | ||
AC_CHECK_HEADER_STDBOOL | ||
AC_C_INLINE | ||
AC_TYPE_SIZE_T | ||
AC_TYPE_UINT32_T | ||
|
||
# Checks for library functions. | ||
AC_CHECK_FUNCS([gettimeofday]) | ||
|
||
AC_CONFIG_FILES([Makefile src/Makefile]) | ||
AC_OUTPUT |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
noinst_LTLIBRARIES = libmidi.la | ||
libmidi_la_SOURCES = libmidi/Midi.cpp libmidi/MidiUtil.cpp libmidi/MidiTrack.cpp libmidi/MidiEvent.cpp | ||
|
||
GRAPHDIR = $(top_srcdir)/graphics | ||
|
||
bin_PROGRAMS = linthesia | ||
linthesia_SOURCES = CompatibleSystem.cpp EdgeTracker.cpp KeyboardDisplay.cpp MenuLayout.cpp Renderer.cpp TextWriter.cpp TrackSelectionState.cpp DeviceTile.cpp FileSelector.cpp LinthesiaError.cpp MidiComm.cpp StatsState.cpp Tga.cpp TrackTile.cpp DrawingArea.cpp GameState.cpp main.cpp PlayingState.cpp StringTile.cpp TitleState.cpp UserSettings.cpp | ||
linthesia_LDFLAGS = @GTKMM_LIBS@ @GCONFMM_LIBS@ @GTKGLEXTMM_LIBS@ @ALSA_LIBS@ | ||
linthesia_LDADD = libmidi.la | ||
linthesia_CXXFLAGS = -std=c++11 -iquote $(top_srcdir)/libmidi | ||
linthesia_CPPFLAGS = @GTKMM_CFLAGS@ @GCONFMM_CFLAGS@ @GTKGLEXTMM_CFLAGS@ @ALSA_CFLAGS@ -DGRAPHDIR="\"$(GRAPHDIR)\"" |
This file was deleted.
Oops, something went wrong.