mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
299678b9c8
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6618 b45a01b8-16f6-495d-af2f-9b41ad6348cc
93 lines
1.7 KiB
Prolog
93 lines
1.7 KiB
Prolog
TEMPLATE = lib
|
|
CONFIG += staticlib
|
|
CONFIG -= qt
|
|
TARGET = pegmarkdown
|
|
|
|
QMAKE_CFLAGS *= -Wall -ansi -D_GNU_SOURCE
|
|
QMAKE_CC = gcc
|
|
|
|
#CONFIG += debug
|
|
debug {
|
|
QMAKE_CFLAGS -= -O2
|
|
QMAKE_CFLAGS *= -g
|
|
}
|
|
|
|
################################# Linux ##########################################
|
|
linux-* {
|
|
DESTDIR = lib
|
|
}
|
|
|
|
linux-g++ {
|
|
OBJECTS_DIR = temp/linux-g++/obj
|
|
}
|
|
|
|
linux-g++-64 {
|
|
OBJECTS_DIR = temp/linux-g++-64/obj
|
|
}
|
|
|
|
################################# Windows ##########################################
|
|
|
|
win32 {
|
|
OBJECTS_DIR = temp/obj
|
|
MOC_DIR = temp/moc
|
|
DESTDIR = lib
|
|
|
|
# Switch on extra warnings
|
|
QMAKE_CFLAGS += -Wextra
|
|
|
|
# Switch off optimization for release version
|
|
QMAKE_CFLAGS_RELEASE -= -O2
|
|
QMAKE_CFLAGS_RELEASE += -O0
|
|
|
|
CONFIG += dummy_glib
|
|
}
|
|
|
|
################################# MacOSX ##########################################
|
|
|
|
mac {
|
|
OBJECTS_DIR = temp/obj
|
|
MOC_DIR = temp/moc
|
|
DESTDIR = lib
|
|
|
|
CONFIG += dummy_glib
|
|
}
|
|
|
|
################################# FreeBSD ##########################################
|
|
|
|
freebsd-* {
|
|
DESTDIR = lib
|
|
}
|
|
|
|
################################# OpenBSD ##########################################
|
|
|
|
openbsd-* {
|
|
DESTDIR = lib
|
|
}
|
|
|
|
################################### COMMON stuff ##################################
|
|
################################### COMMON stuff ##################################
|
|
|
|
#DEPENDPATH += . \
|
|
INCLUDEPATH += . \
|
|
|
|
HEADERS += \
|
|
markdown_lib.h \
|
|
markdown_peg.h \
|
|
odf.h \
|
|
parsing_functions.h \
|
|
utility_functions.h \
|
|
|
|
SOURCES += \
|
|
markdown_lib.c \
|
|
markdown_parser.c \
|
|
parsing_functions.c \
|
|
markdown_output.c \
|
|
odf.c \
|
|
utility_functions.c \
|
|
|
|
dummy_glib {
|
|
HEADERS += GLibFacade.h
|
|
SOURCES += GLibFacade.c
|
|
}
|
|
|