#
# This is a "makegen" generated Makefile based on Makefile.tmpl
#
# Makegen has been developed as part of Minerva by David J. Hughes
#
# ********************   DO NOT EDIT THIS BY HAND   ********************
#

SHELL=/bin/sh

#
# Project top directory
#

TOP=..


# Generated automatically from site.mm.in by configure.
#
# Site specific configuration
#


CC= gcc
INST_DIR= /msql


#
# Things below here shouldn't need to be changed
#
LINK= $(CC)
CPP= gcc -E
RANLIB= ranlib

YACC= bison -y

SIGLIST= 
DIRENT= -DHAVE_DIRENT_H -DHAVE_DIRENT
MMAP= -DHAVE_MMAP
U_INT= -DHAVE_U_INT
SSIZE_T= -DHAVE_SSIZE_T
BITTYPES= -DHAVE_BIT_TYPES
SYS_ERR= 
TARGET= AmigaOS-39.106-m68k
WORKING_RLIMIT= 

# Extra libraries if required
EXTRA_LIB= 

# Any other CFlags required
EXTRA_CFLAGS= -DHAVE_CONFIG_H $(SSIZE_T) $(U_INT) $(BITTYPES)

# Directory for pid file
PID_DIR= 

CFLAGS= -O -I$(TOP)/ $(EXTRA_CFLAGS)
LDLIBS= -L$(TOP)/lib $(EXTRA_LIB)


CC_FLAGS= $(CFLAGS)
LD_LIBS= $(LDLIBS)

#
# Default Makefile Rules
#

install :: all

clean ::
	rm -f Makefile.full

#
# Makefile Rules
#



CC_FLAGS= $(CFLAGS) 
LINT_FLAGS= $(LINTFLAGS) 
CC_OPT= -g

all: debug.o strlib.o strerror.o debug.o tmpnam.o


# Make rules for building strlib.o

strlib.o : strlib.c Makefile.full 
	$(CC) $(CC_FLAGS) -c strlib.c

clean ::
	rm -f strlib.o strlib.lint


# Make rules for building snprintf.o

snprintf.o : snprintf.c Makefile.full 
	$(CC) $(CC_FLAGS) -c snprintf.c

clean ::
	rm -f snprintf.o snprintf.lint


# Make rules for building strerror.o

strerror.o : strerror.c Makefile.full 
	$(CC) $(CC_FLAGS) -c strerror.c

clean ::
	rm -f strerror.o strerror.lint


# Make rules for building tmpnam.o

tmpnam.o : tmpnam.c Makefile.full 
	$(CC) $(CC_FLAGS) -c tmpnam.c

clean ::
	rm -f tmpnam.o tmpnam.lint


# Make rules for building debug.o

debug.o : debug.c Makefile.full 
	$(CC) $(CC_FLAGS) -c debug.c

clean ::
	rm -f debug.o debug.lint


install ::
	if test -f $(INST_DIR)/include/common/portability.h;\
	then\
		rm -f $(INST_DIR)/include/common/portability.h.old;\
		mv $(INST_DIR)/include/common/portability.h $(INST_DIR)/include/common/portability.h.old;\
	fi;\
	cp portability.h $(INST_DIR)/include/common/portability.h
	chmod 0755 $(INST_DIR)/include/common/portability.h

install ::
	if test -f $(INST_DIR)/include/common/config.h;\
	then\
		rm -f $(INST_DIR)/include/common/config.h.old;\
		mv $(INST_DIR)/include/common/config.h $(INST_DIR)/include/common/config.h.old;\
	fi;\
	cp config.h $(INST_DIR)/include/common/config.h
	chmod 0755 $(INST_DIR)/include/common/config.h



strlib.o: ../common/config.h 
strlib.o: ../common/portability.h 

snprintf.o: ../common/config.h 
snprintf.o: ../common/portability.h 

strerror.o: ../common/config.h 
strerror.o: ../common/portability.h 

debug.o: ../common/config.h 
debug.o: ../common/portability.h 



