diff --git a/.gitignore b/.gitignore index cec360f..74daf25 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,3 @@ -# Excludes -!testing/mover/Makefile -!testing/new/Makefile -!unsorted-older/kicker/Makefile -!unsorted-older/lastraces/Makefile - # Object files *.o *.ko @@ -50,3 +44,10 @@ autom4te.cache/ *.bak *.log *.new + +# Includes +!testing/mover/Makefile +!testing/new/Makefile +!unsorted-older/kicker/Makefile +!unsorted-older/lastraces/Makefile + diff --git a/testing/mover/Makefile b/testing/mover/Makefile new file mode 100644 index 0000000..ecf9f43 --- /dev/null +++ b/testing/mover/Makefile @@ -0,0 +1,19 @@ + +include ../../src/Makefile.config + +SRCDIR = ../../src + +OBJS = $(LIBDIR)/collection/strlist.o $(LIBDIR)/collection/hashtable.o \ + $(LIBDIR)/lib/stringtokenizer.o $(LIBDIR)/util/linefilereader.o \ + $(LIBDIR)/collection/sortedlist.o + + +all: foo-mover + + +foo-mover: mover.o + gcc -O2 -o $@ $< $(OBJS) + +clean: + rm -f *~ *.o foo-mover + diff --git a/testing/new/Makefile b/testing/new/Makefile new file mode 100644 index 0000000..a814b76 --- /dev/null +++ b/testing/new/Makefile @@ -0,0 +1,18 @@ + +include ../Makefile.config + +SRCDIR = .. + +OBJS = dirlog.o dirlog_wrap.o ../collection/sortedlist.o ../collection/hashtable.o \ + ../util/linefilereader.o ../lib/dirlist.o ../collection/strlist.o ../lib/sfv.o \ + ../util/date.o ../lib/stringtokenizer.o ../lib/pwdfile.o + + +all: foo-new + +foo-new: new.o $(OBJS) + gcc -O2 -o $@ $< $(OBJS) + +clean: + rm -f *~ *.o foo-new + diff --git a/unsorted-older/kicker/Makefile b/unsorted-older/kicker/Makefile new file mode 100644 index 0000000..7fd7668 --- /dev/null +++ b/unsorted-older/kicker/Makefile @@ -0,0 +1,23 @@ + +include ../../src/Makefile.config + +SRCDIR = ../../src + +LIBS = $(LIBDIR)/lib/gllogs.o $(LIBDIR)/collection/strlist.o \ + $(LIBDIR)/lib/who.o $(LIBDIR)/util/linefilereader.o + +# +# Set this to your ipckey !! +# +DEFS = -DIPCKEY=0x0000DEAD + +foo-antidualleech: antidualleech.o + gcc -O2 -o $@ $< $(LIBS) + +all: foo-antidualleech + +install: all + install -m4711 foo-antidualleech $(FTPROOT)/bin/cscript/ + +clean: + rm -f *.o *~ foo-antidualleech diff --git a/unsorted-older/lastraces/Makefile b/unsorted-older/lastraces/Makefile new file mode 100644 index 0000000..ecdb733 --- /dev/null +++ b/unsorted-older/lastraces/Makefile @@ -0,0 +1,17 @@ + +include ../../src/Makefile.config + +SRCDIR = ../../src +LIBS = $(LIBDIR)/lib/common.o $(LIBDIR)/collection/strlist.o $(LIBDIR)/lib/pwdfile.o \ + $(LIBDIR)/collection/sortedlist.o $(LIBDIR)/util/linefilereader.o \ + $(LIBDIR)/lib/stringtokenizer.o + +TARGET = foo-lastraces + +$(TARGET): lastraces.o + $(CC) -o $@ $< $(LIBS) + +all: $(TARGET) + +clean: + rm -f *.o *~ $(TARGET)