1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
# ****************************************************************************
# Makefile for The Linux Ultra Sound Project
# Copyright (c) 1994-1997 by Jaroslav Kysela (Perex soft)
# ****************************************************************************
#
# Notice: This global configuration file is read by make...
#
ifdef CALL_FROM_GLOBAL_MAKEFILE
ifeq (.config,$(wildcard .config))
include .config
else
dummy_check:
@echo "Please, run 'configure' script as first..."
@echo "Or remove this check if you modified Makefile.conf..."
endif
ifndef AUTO_CONFIG
#ARCH_i386 = OK # uncomment this if you have 386 CPU
#ARCH_i486 = OK # uncomment this if you have 486 CPU
#ARCH_pentium = OK # uncomment this if you have Pentium (tm) CPU
ARCH_ppro = OK # uncomment this if you have Pentium Pro (tm) CPU
#ARCH_alpha = OK # uncomment this if you have an alpha system
ARCH_MP_SMP = OK # uncomment this if you have SMP machine
endif
U_DIR = `pwd`
ifdef U_DEBUG
U_TOP_DIR = `pwd`/usr
endif
ifdef U_DISTRIB
U_TOP_DIR = `pwd`/ultra-$(U_REVISION)-bin
endif
#
# If you change top level directory, please, change path in
# 'include/gusfiles.h', too...
#
ifndef U_TOP_DIR
U_TOP_DIR =
endif
# Directory for executable files...
U_BIN_DIR = $(U_TOP_DIR)/usr/bin
# Directory for daemons
U_DMN_DIR = $(U_TOP_DIR)/usr/sbin
# Directory for kernel modules (currently only gus.o)
U_MOD_DIR = $(U_TOP_DIR)/lib/modules/2.0.30/misc
# Directory for configuration files
U_ETC_DIR = $(U_TOP_DIR)/etc/gus
# Directory for libraries
U_LIB_DIR = $(U_TOP_DIR)/usr/lib
# Directory for header files
U_HDR_DIR = $(U_TOP_DIR)/usr/include
# Directory for instrument configuration files
U_INS_DIR = $(U_ETC_DIR)/instruments
endif # CALL_FROM_GLOBAL_MAKEFILE
#
# Configuration for additional packages which are required for compilation..
#
INCLUDE_NCURSES =
LIB_NCURSES = -lncurses
#INCLUDE_NCURSES = -I/usr/local/include
#LIB_NCURSES = -L/usr/local/lib -lncurses
INCLUDE_X11 = -I/usr/X11R6/include
LIB_X11 = -L/usr/X11R6/lib -lX11
#INCLUDE_X11 = -L/usr/X11/include
#LIB_X11 = -L/usr/X11/lib -lX11
INCLUDE_TCLTK = -I/usr/include/tcl
LIB_TCLTK = -ltk8.0 -ltcl8.0
LIB_DL = -ldl
|