From: Rafał Długołęcki Date: Fri, 5 Jul 2013 21:30:16 +0000 (+0200) Subject: Removed old makefile code. X-Git-Tag: 3.1~72 X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=5482940dd73c7da62f382af1c9280991f0941bad;p=vlp.git Removed old makefile code. --- diff --git a/.gitignore b/.gitignore index 428570b..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +0,0 @@ -Dir -Makefile diff --git a/Dir.sample b/Dir.sample deleted file mode 100644 index 504d4ec..0000000 --- a/Dir.sample +++ /dev/null @@ -1,14 +0,0 @@ -### Includes for QT library -QINC=/usr/include/qt3 - -### QT library directory -QLIB=/usr/lib3/ - -### moc compiler directory -MOCDIR=/usr/bin - -### Install directory -INSTALLDIR=/home/andrzej/vlp3binD - -### QT Library linking phrase -QLINK=-lqt-mt diff --git a/src/edit/mfile b/src/edit/mfile deleted file mode 100644 index 4ee8683..0000000 --- a/src/edit/mfile +++ /dev/null @@ -1,55 +0,0 @@ -####### -####### Change the INCDIR, LFLAGS and MOC - -INCDIR = $(QINC) -CFLAGS = -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6/include -LIBCFLAGS = -fPIC -YACCCFLAGS = -Wno-unused -Wno-parentheses -LFLAGS = -L$(QLIB) $(QLINK) -CC = g++ -MOC = $(MOCDIR)/moc -SHELL = /bin/sh - - -####### Files - -HEADERS = editor.h -SOURCES = editor.cpp -OBJECTS = editor.o -SRCMOC = moc_editor.cpp -OBJMOC = moc_editor.o -TARGET = logedit - -####### Implicit rules - -.SUFFIXES: .cpp .c - -.cpp.o: - $(CC) -c $(CFLAGS) -I$(INCDIR) -o $@ $< - -.c.o: - $(CC) -c $(CFLAGS) -I$(INCDIR) -o $@ $< - -####### Build rules - -all: $(TARGET) - -$(TARGET): $(OBJECTS) $(OBJMOC) - $(CC) $(OBJECTS) $(OBJMOC) -o $(TARGET) $(LFLAGS) - -moc: $(SRCMOC) - -clean: - -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(TARGET) - -####### Compile - -editor.o: editor.cpp \ - editor.h - - -moc_editor.o: moc_editor.cpp \ - editor.h - -moc_editor.cpp: editor.h - $(MOC) editor.h -o moc_editor.cpp diff --git a/src/graph/mfile b/src/graph/mfile deleted file mode 100644 index 8025c15..0000000 --- a/src/graph/mfile +++ /dev/null @@ -1,48 +0,0 @@ - -INCDIR = $(QINC) -CFLAGS = -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6/include -LIBCFLAGS = -fPIC -YACCCFLAGS = -Wno-unused -Wno-parentheses -LFLAGS = -L$(QLIB) $(QLINK) -CC = g++ -MOC = $(MOCDIR)/moc -SHELL = /bin/sh - - -####### Files - -SOURCES = loggraph.cpp -OBJECTS = loggraph.o -SRCMETA = loggraph.moc -TARGET = loggraph - -####### Implicit rules - -.SUFFIXES: .cpp - -.cpp.o: - $(CC) -c $(CFLAGS) -I$(INCDIR) $< - -####### Build rules - -all: $(TARGET) - -$(TARGET): $(SRCMETA) $(OBJECTS) - $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -lm - -depend: - @makedepend -I$(INCDIR) $(SOURCES) 2> /dev/null - -showfiles: - @echo $(SOURCES) $(HEADERS) Makefile - -clean: - -rm -f *.o *.bak *~ *% #* - -rm -f $(SRCMETA) $(TARGET) - -####### Meta objects - -loggraph.moc: loggraph.cpp - $(MOC) loggraph.cpp -o loggraph.moc - - diff --git a/src/help/mfile b/src/help/mfile deleted file mode 100644 index 098bc48..0000000 --- a/src/help/mfile +++ /dev/null @@ -1,48 +0,0 @@ - -INCDIR = $(QINC) -CFLAGS = -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6/include -LIBCFLAGS = -fPIC -YACCCFLAGS = -Wno-unused -Wno-parentheses -LFLAGS = -L$(QLIB) $(QLINK) -CC = g++ -MOC = $(MOCDIR)/moc -SHELL = /bin/sh - -####### Files - -SOURCES = help.cpp -OBJECTS = help.o -SRCMETA = help.moc -TARGET = loghelp - -####### Implicit rules - -.SUFFIXES: .cpp - -.cpp.o: - $(CC) -c $(CFLAGS) -I$(INCDIR) $< - -####### Build rules - -all: $(TARGET) - -$(TARGET): $(SRCMETA) $(OBJECTS) - $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -lm - -depend: - @makedepend -I$(INCDIR) $(SOURCES) 2> /dev/null - -showfiles: - @echo $(SOURCES) $(HEADERS) Makefile - -clean: - -rm -f *.o *.bak *~ *% #* - -rm -f $(SRCMETA) $(TARGET) - -####### Meta objects - -help.moc: help.cpp - $(MOC) help.cpp -o help.moc - - -# DO NOT DELETE THIS LINE -- make depend depends on it. diff --git a/src/int/mfile b/src/int/mfile deleted file mode 100644 index 6113147..0000000 --- a/src/int/mfile +++ /dev/null @@ -1,69 +0,0 @@ -SHELL=/bin/bash -#.SUFFIXES: .o .c - -############################################################################# -# switches : -# OBJECTADDR - switch on special process addressing - object simulates -# process pointer -# CDBG - turn on debugging of compactifier, compactifier appends to file -# 'trace' state of memory before & after the compactification, -# also a history of compactification & process number is dumped -# RPCDBG - debugging of alien call, all actions : alien call, acknowledges, -# passivations and returns are written to stderr -# NO_GRAPH - nonstand.c defines only INKEY grom IIUWGRAPH -# DLINK - DLINK network version -# TCPIP - TCPIP network version - needs also OBJECTADDR -# -# switches depending on environment : -# TURBOC - if using BORLAND TURBO-C compiler -# MSDOS/OS2/UNIX - choose operating system -# USE_CLOCK - scheduler should use clock() function to measure time -# USE_ALARM - scheduler should use alarm() function to measure time -# WORD_16BIT/DWORD_16BIT/WORD_32BIT - choose memory model : -# small 16-bit / large 16-bit / small 32-bit -# - - -UNIXPARS=-DUNIX -DWORD_32BIT -DUSE_CLOCK -Dpascal= -UNIXPARSNG=$(UNIXPARS) - -#CC=cc $(UNIXPARSNG) -DNO_PROTOTYPES # SUN,HP -#CC=rcc $(UNIXPARSNG) -O # SCO - AT&T C compiler -#CC=cc -W1 $(UNIXPARSNG) # SCO -#CC=cc -W1 $(UNIXPARSNG) -DOBJECTADDR # SCO -#CC=cc -W1 $(UNIXPARSNG) -DOBJECTADDR -DTCPIP # SCO TCPIP -CC=gcc $(UNIXPARSNG) -DOBJECTADDR -DSYSV -I$(QINC) # GNU C++ TCPIP -#CC=cc -W1 $(UNIXPARS) -DSYSV -DXSIGHT # SCO with X11 graphics -#CC=gcc -g $(UNIXPARS) -DSYSV -DXSIGHT # SCO GCC with X11 graphics - -CCc=$(CC) # common version -#CCc=$(CC) -Fo$*.o # MSDOS MSC version - -target : int - -############################################################################# -#ADDOPT = -lsocket # sun -ADDOPT = $(QLINK) # Linux - - -OBJ= cint.o compact.o control.o util.o handler.o intdt.o \ - memory.o object.o runsys.o standard.o \ - execute.o fileio.o nonstand.o process.o procaddr.o queue.o \ - rpcall.o typchk.o - -.c.o : - $(CCc) -c $*.c -.s.o: - as -o $*.o $*.s - - -int: $(OBJ) -# $(CC) $(OBJ) inkeyux.o -lm -lX11 -lmalloc -lsocket -ggdb -o int - $(CC) $(OBJ) -lm $(ADDOPT) -o logint -# strip logint -# mv int $(HOME)/LOGLAN.PAU/bin - -nonstand.o : nonstand.c - -clean : - rm -f *.o *.bak logint diff --git a/src/kernel/mfile b/src/kernel/mfile deleted file mode 100644 index ca28c36..0000000 --- a/src/kernel/mfile +++ /dev/null @@ -1,48 +0,0 @@ - -INCDIR = $(QINC) -CFLAGS = -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6/include -LIBCFLAGS = -fPIC -YACCCFLAGS = -Wno-unused -Wno-parentheses -LFLAGS = -L$(QLIB) $(QLINK) -CC = g++ -MOC = $(MOCDIR)/moc -SHELL = /bin/sh - - -####### Files - -SOURCES = kernel.cpp -OBJECTS = kernel.o -SRCMETA = kernel.moc -TARGET = logker - -####### Implicit rules - -.SUFFIXES: .cpp - -.cpp.o: - $(CC) -c $(CFLAGS) -I$(INCDIR) $< - -####### Build rules - -all: $(TARGET) - -$(TARGET): $(SRCMETA) $(OBJECTS) - $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -lm - -depend: - @makedepend -I$(INCDIR) $(SOURCES) 2> /dev/null - -showfiles: - @echo $(SOURCES) $(HEADERS) Makefile - -clean: - -rm -f *.o *.bak *~ *% #* - -rm -f $(SRCMETA) $(TARGET) - -####### Meta objects - -kernel.moc: kernel.cpp - $(MOC) kernel.cpp -o kernel.moc - - diff --git a/src/lgconfig/mfile b/src/lgconfig/mfile deleted file mode 100644 index 4fe3660..0000000 --- a/src/lgconfig/mfile +++ /dev/null @@ -1,49 +0,0 @@ -##### Change INCDIR, LFLAGS and MOC - -INCDIR = $(QINC) -CFLAGS = -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6/include -LIBCFLAGS = -fPIC -YACCCFLAGS = -Wno-unused -Wno-parentheses -LFLAGS = -L$(QLIB) $(QLINK) -CC = g++ -MOC = $(MOCDIR)/moc -SHELL = /bin/sh - -####### Files - -SOURCES = lgconfig.cpp -OBJECTS = lgconfig.o -SRCMETA = lgconfig.moc -TARGET = lgconfig - -####### Implicit rules - -.SUFFIXES: .cpp - -.cpp.o: - $(CC) -c $(CFLAGS) -I$(INCDIR) $< - -####### Build rules - -all: $(TARGET) - -$(TARGET): $(SRCMETA) $(OBJECTS) - $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -lm - -depend: - @makedepend -I$(INCDIR) $(SOURCES) 2> /dev/null - -showfiles: - @echo $(SOURCES) $(HEADERS) Makefile - -clean: - -rm -f *.o *.bak *~ *% #* - -rm -f $(SRCMETA) $(TARGET) - -####### Meta objects - -lgconfig.moc: lgconfig.cpp - $(MOC) lgconfig.cpp -o lgconfig.moc - - -# DO NOT DELETE THIS LINE -- make depend depends on it. diff --git a/src/net/mfile b/src/net/mfile deleted file mode 100644 index 9bd4af0..0000000 --- a/src/net/mfile +++ /dev/null @@ -1,49 +0,0 @@ - -INCDIR = $(QINC) -CFLAGS = -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6/include -LIBCFLAGS = -fPIC -YACCCFLAGS = -Wno-unused -Wno-parentheses -LFLAGS = -L$(QLIB) $(QLINK) -CC = g++ -MOC = $(MOCDIR)/moc -SHELL = /bin/sh - - -####### Files - -SOURCES = lognet.cpp -OBJECTS = lognet.o -SRCMETA = lognet.moc -TARGET = lognet - -####### Implicit rules - -.SUFFIXES: .cpp - -.cpp.o: - $(CC) -c $(CFLAGS) -I$(INCDIR) $< - -####### Build rules - -all: $(TARGET) - -$(TARGET): $(SRCMETA) $(OBJECTS) - $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -lm - -depend: - @makedepend -I$(INCDIR) $(SOURCES) 2> /dev/null - -showfiles: - @echo $(SOURCES) $(HEADERS) Makefile - -clean: - -rm -f *.o *.bak *~ *% #* - -rm -f $(SRCMETA) $(TARGET) - -####### Meta objects - -lognet.moc: lognet.cpp - $(MOC) lognet.cpp -o lognet.moc - - -# DO NOT DELETE THIS LINE -- make depend depends on it. diff --git a/src/preproc/mfile b/src/preproc/mfile deleted file mode 100644 index bfeac09..0000000 --- a/src/preproc/mfile +++ /dev/null @@ -1,48 +0,0 @@ - -INCDIR = $(QINC) -CFLAGS = -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6/include -LIBCFLAGS = -fPIC -YACCCFLAGS = -Wno-unused -Wno-parentheses -LFLAGS = -L$(QLIB) $(QLINK) -CC = g++ -MOC = $(MOCDIR)/moc -SHELL = /bin/sh - -####### Files - -SOURCES = prep.cpp -OBJECTS = prep.o -SRCMETA = prep.moc -TARGET = logcomp - -####### Implicit rules - -.SUFFIXES: .cpp - -.cpp.o: - $(CC) -c $(CFLAGS) -I$(INCDIR) $< - -####### Build rules - -all: $(TARGET) - -$(TARGET): $(SRCMETA) $(OBJECTS) - $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -lm - -depend: - @makedepend -I$(INCDIR) $(SOURCES) 2> /dev/null - -showfiles: - @echo $(SOURCES) $(HEADERS) Makefile - -clean: - -rm -f *.o *.bak *~ *% #* - -rm -f $(SRCMETA) $(TARGET) - -####### Meta objects - -prep.moc: prep.cpp - $(MOC) prep.cpp -o prep.moc - - -# DO NOT DELETE THIS LINE -- make depend depends on it.