summaryrefslogtreecommitdiff
path: root/daemon/rfcnb/x_Makefile
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-04-21 17:37:06 +0000
committerStef Walter <stef@memberwebs.com>2004-04-21 17:37:06 +0000
commitff76efc3e5e1b0e4ca3b10b7402406f619509bba (patch)
treec3b1e49235f67eabd22d31ebfc14934743b70858 /daemon/rfcnb/x_Makefile
parent01430fca169c1b8d7b1b4f1bdd529aa6bc4be80b (diff)
Initial Import
Diffstat (limited to 'daemon/rfcnb/x_Makefile')
-rw-r--r--daemon/rfcnb/x_Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/daemon/rfcnb/x_Makefile b/daemon/rfcnb/x_Makefile
new file mode 100644
index 0000000..97a01be
--- /dev/null
+++ b/daemon/rfcnb/x_Makefile
@@ -0,0 +1,38 @@
+# Find the LDFLAGS entry for your system type and uncomment it ...
+
+CC = gcc
+
+#CFLAGS = -g -DRFCNB_DEBUG
+# Uncomment the above and recomment the below if you want debugging
+CFLAGS = -g
+
+#CFLAGS = -g -DRFCNB_DEBUG -DRFCNB_PRINT_DATA
+# Different LDFLAGS for different systems:
+# ULTRIX and Digital UNIX (OSF/1)
+# LDFALGS =
+#
+# Linux
+# LDFLAGS =
+#
+# Solaris and maybe SunOS???
+# LDFLAGS = -lsocket -lnsl
+#
+# HP-UX ???
+# LDFLAGS = ???
+
+INCLUDES = rfcnb.h rfcnb-priv.h rfcnb-util.h rfcnb-io.h
+
+.SUFFIXES: .c .o .h
+
+all: test_rfcnb
+
+.c.o: $(INCLUDES)
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $*.c
+
+test_rfcnb: test_rfcnb.o session.o rfcnb-util.o rfcnb-io.o
+ $(CC) $(CFLAGS) $(LDFLAGS) -o test_rfcnb test_rfcnb.o session.o rfcnb-util.o rfcnb-io.o
+
+clean:
+ rm *.o test_rfcnb
+