mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Importing EDE2 code to svn... NOTE: It doesn't compile! Stuff thats broken: edewm, eworkpanel, eiconman,
emenueditor
This commit is contained in:
84
makeinclude.in
Executable file
84
makeinclude.in
Executable file
@@ -0,0 +1,84 @@
|
||||
#
|
||||
# $Id: makeinclude.in 1652 2006-06-07 19:37:51Z karijes $
|
||||
#
|
||||
# Part of Equinox Desktop Environment (EDE).
|
||||
# Copyright (c) 2000-2006 EDE Authors.
|
||||
#
|
||||
# This program is licenced under terms of the
|
||||
# GNU General Public Licence version 2 or newer.
|
||||
# See COPYING for details.
|
||||
|
||||
# Overwrite if you want that be overwriten
|
||||
|
||||
# directories
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
bindir = @bindir@
|
||||
datadir = @datadir@
|
||||
includedir = @includedir@
|
||||
libdir = @libdir@
|
||||
mandir = @mandir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
VPATH = @srcdir@
|
||||
EVOLUME = @EVOLUME@
|
||||
|
||||
#locale directory
|
||||
LOCALEDIR = @prefix@/share/locale
|
||||
|
||||
# programs
|
||||
CXX = @CXX@
|
||||
MSGFMT = @MSGFMT@
|
||||
MAKEDEPEND = @MAKEDEPEND@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
RM = @RM@ -f
|
||||
MKINSTALLDIRS = @HOME_DIR@/mkinstalldirs
|
||||
|
||||
# NOTE: this is a function
|
||||
# it is called like '$(INSTALL_LOCALE)'
|
||||
|
||||
INSTALL_LOCALE=\
|
||||
for f in $(MOFILES); do\
|
||||
$(MKINSTALLDIRS) $(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES;\
|
||||
$(INSTALL_DATA) $$f $(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES/$(TARGET).mo;\
|
||||
done
|
||||
|
||||
# compiler flags
|
||||
CXXFLAGS = -DSHAPE @CXXFLAGS@
|
||||
|
||||
# libraries
|
||||
LIBS = @LIBS@
|
||||
|
||||
|
||||
|
||||
@SILENT@
|
||||
|
||||
.SUFFIXES: .o .cxx .cpp .c .po .mo
|
||||
|
||||
OBJECTS:= $(CPPFILES:.cpp=.o) $(CFILES:.c=.o) $(CXXFILES:.cxx=.o)
|
||||
MOFILES:= $(POFILES:.po=.mo)
|
||||
|
||||
all: $(TARGET) $(MOFILES)
|
||||
|
||||
$(TARGET): $(OBJECTS)
|
||||
echo Linking $@
|
||||
$(CXX) $^ -o $@ $(LIBS)
|
||||
|
||||
%.o: %.cpp
|
||||
echo Compiling $<...
|
||||
$(CXX) $(CXXFLAGS) -c $<
|
||||
|
||||
%.o: %.cxx
|
||||
echo Compiling $<...
|
||||
$(CXX) $(CXXFLAGS) -c $<
|
||||
|
||||
%.o: %.c
|
||||
echo Compiling $<...
|
||||
$(CXX) $(CXXFLAGS)-c $<
|
||||
|
||||
%.mo: %.po
|
||||
echo Translation $<...
|
||||
$(MSGFMT) $< -o $@
|
Reference in New Issue
Block a user