summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am32
-rw-r--r--src/sandglass.c1
-rw-r--r--src/sandglass.h2
3 files changed, 34 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..4fc85ab
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,32 @@
+###########################################################################
+## Copyright (C) 2008 Tavian Barnes <tavianator@gmail.com> ##
+## ##
+## This file is part of The FPFD Library Build Suite. ##
+## ##
+## The FPFD Library Build Suite is free software; you can redistribute ##
+## it and/or modify it under the terms of the GNU General Public License ##
+## as published by the Free Software Foundation; either version 3 of the ##
+## License, or (at your option) any later version. ##
+## ##
+## The FPFD Library Build Suite is distributed in the hope that it will ##
+## be useful, but WITHOUT ANY WARRANTY; without even the implied ##
+## warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See ##
+## the GNU General Public License for more details. ##
+## ##
+## You should have received a copy of the GNU General Public License ##
+## along with this program. If not, see <http://www.gnu.org/licenses/>. ##
+###########################################################################
+
+lib_LTLIBRARIES = libsandglass.la
+
+nobase_include_HEADERS = sandglass.h
+
+libsandglass_la_SOURCES = sandglass.h sandglass.c
+
+if X86
+ libsandglass_la_SOURCES += x86/tsc-x86.s
+endif
+
+if X86_64
+ libsandglass_la_SOURCES += x86_64/tsc-x86_64.s
+endif
diff --git a/src/sandglass.c b/src/sandglass.c
new file mode 100644
index 0000000..d547897
--- /dev/null
+++ b/src/sandglass.c
@@ -0,0 +1 @@
+#include "sandglass.h"
diff --git a/src/sandglass.h b/src/sandglass.h
index 412f5e3..a9e99e5 100644
--- a/src/sandglass.h
+++ b/src/sandglass.h
@@ -82,7 +82,7 @@ struct sandglass_attributes_t
sandglass_incrementation_t incrementation;
sandglass_resolution_t resolution;
};
-typedef struct sandglass_attributes_t sandglass_attributes_t
+typedef struct sandglass_attributes_t sandglass_attributes_t;
struct sandglass_t
{