summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am21
-rw-r--r--src/util.h14
2 files changed, 34 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..62c767c
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,21 @@
+bin_PROGRAMS = flpsed
+
+flpsed_SOURCES = \
+ GsWidget.cxx \
+ PSEditWidget.cxx \
+ PSEditor.cxx \
+ PSEditText.cxx \
+ PSEditModel.cxx \
+ Postscript.cxx \
+ flpsed.cxx \
+ util.c
+
+noinst_HEADERS = \
+ GsWidget.H \
+ PSEditModel.H \
+ PSEditText.H \
+ Postscript.H \
+ PSEditor.H \
+ PSEditWidget.H \
+ util.h
+
diff --git a/src/util.h b/src/util.h
index ebe0e49..d5a71e1 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,5 +1,5 @@
/*
- * "$Id: util.h,v 1.1 2005/02/28 17:56:51 hofmann Exp $"
+ * "$Id: util.h,v 1.2 2005/03/17 18:46:20 hofmann Exp $"
*
* flpsed program.
*
@@ -20,8 +20,20 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*/
+#ifndef _UTIL_H_
+#define _UTIL_H_
#include <stdio.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
FILE *
pexecvp(const char *file, char *const argv[], pid_t *pid, char *type);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif